我收到此错误:
[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] ^
以下是完整评论:
/**
* 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 log(feature count / prior count). The output of this method is
* related to the empirical probability of the example e as follows:
*
*
* exp(dot(e)) / (sum of all labels' prior counts)) =
* 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.
**/
可能导致此错误的任何想法?我该如何解决?
注意:我不想禁用doclint;相反,我想用评论来解决问题.