JSAT icon indicating copy to clipboard operation
JSAT copied to clipboard

How to use for LVQ

Open garazpasir opened this issue 6 years ago • 1 comments

I want to use LVQ with this library, but I don't know how to use it. I have data to train like this:

Input class target (prediction)
1, 0, 0, 0, 1, 0 1
0, 1, 1, 1, 1, 0 2

and the data to be tested like this:

Input class target (prediction)
0, 1, 0, 0, 0, 1 1
0, 0, 1, 1, 0, 0 2

how to implement LVQ using this library? Thank you in advance.

garazpasir avatar Jan 21 '20 23:01 garazpasir

Please start with the wiki page , which has some examples on using a classifier and loading data. You will simply need to change the imports/constructor from the example classifier to the LVQ classifier.

EdwardRaff avatar Feb 02 '20 03:02 EdwardRaff