I am getting this error:
[ERROR] /Users/daniel/ideaProjects/lbjava/lbjava/src/main/java/edu/illinois/cs/cogcomp/lbjava/learn/NaiveBayes.java:638: error: bad HTML entity
[ERROR] * P(e's label && e)
[ERROR] ^
[ERROR] /Users/daniel/ideaProjects/lbjava/lbjava/src/main/java/edu/illinois/cs/cogcomp/lbjava/learn/NaiveBayes.java:638: error: bad HTML entity
[ERROR] * P(e's label && e)
[ERROR] ^
Here is the full comment:
/**
* Takes the dot product of this vector with the given vector, using the specified default
* weight when encountering a feature that is not yet present in this vector. Here, weights
* are taken as <i>log(feature count / prior count)</i>. The output of this method is
* related to the empirical probability of the example <i>e</i> as follows: <br>
* <br>
*
* <i>exp(dot(e)) / (sum of all labels' prior counts)) =</i><br>
* P(e's label && e)
*
* @param exampleFeatures The example's array of feature indices.
* @param exampleValues The example's array of feature values.
* @param defaultW The default weight.
* @return The computed dot product.
**/
Any ideas what might be causing this error? How can I fix it?
Note: I don't want to disable doclint
; instead I want to resolve the issue with the comment.
You need to escape some symbols
&& should be entered as &&
if you want to render as &&
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With