Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How are P feature vectors evaluated (since they are of type Object)? #10

Open
myrtleTree33 opened this issue Jul 7, 2015 · 0 comments

Comments

@myrtleTree33
Copy link

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 of comparable interface for each specified in this class?

Great library, by the way!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant