mljs / libsvm

LIBSVM for the browser and nodejs :fire:
https://mljs.github.io/libsvm/
BSD 3-Clause "New" or "Revised" License
82 stars 14 forks source link

DAGSVM #5

Open targos opened 7 years ago

targos commented 7 years ago

http://www.wisdom.weizmann.ac.il/~bagon/CVspring07/files/DAGSVM.pdf

stropitek commented 7 years ago

Seems it would be easy to add this approach to multi class prediction

http://www.csie.ntu.edu.tw/~cjlin/libsvmtools/#_dag_approach_for_multiclass_classification

log69 commented 5 years ago

Hi, thanks for the great work. Are you planning to add support for multi classification? It seems that the website of libsvm supports it by default. At the top under "Introduction" it says: "It supports multi-class classification".

https://www.csie.ntu.edu.tw/~cjlin/libsvm/

How up-to-date is the emscript compared to the upstream? Couldn't it be an easier way to add suport of multi class by just updating the version to the newest one?

Thank you.

stropitek commented 5 years ago

Hi @log69!

Multi classification is already supported.

Check out the website, it demonstrate classification with up to 5 different labels (you can click the color labels at the bottom of the classification graph).

log69 commented 5 years ago

I must have overlooked it. Thanks for your quick answer.

log69 commented 5 years ago

Could you kindly also show me how I can run the lib in the browser? Which .js file should I include in the src part of a script tag? Not clear from your documentation. I cannot see it from the source of the demo page either because it is minimized.

Thank you.

stropitek commented 5 years ago

Hi @log69

We are using this thread for something completely off topic, could you please create new issues if you have further questions / requests? Thank you!

Regarding your question, please have a look at this portion of the documentation

log69 commented 5 years ago

Thanks.