How to use for LVQ
garazpasir opened this issue · comments
garazpasir commented
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.
EdwardRaff commented
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.