You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the source code, I understand that L refers to label (e.g. of type String), while P refers to the feature vector for a particular data point. A collection of data points makes up a problem set.
A problem will be fed into an SVM classifier, to generate a model via train().
However, I am unclear since P can be any object (instead of an array of floats, for e.g.), how are comparisons made? Should there be some sort of comparable interface for each specified in this class?
Great library, by the way!
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to understand how jlibsvm works.
From the source code, I understand that L refers to label (e.g. of type
String
), while P refers to the feature vector for a particular data point. A collection of data points makes up a problem set.A problem will be fed into an SVM classifier, to generate a model via
train()
.However, I am unclear since
P
can be any object (instead of an array of floats, for e.g.), how are comparisons made? Should there be some sort ofcomparable
interface for each specified in this class?Great library, by the way!
The text was updated successfully, but these errors were encountered: