i trying code either svm or knn program classify text documents. grasp concepts of both, love see nice code examples demonstrate how represent text/words vectors. 1 know of tutorials/articles/lectures/anything code examples? code step through myself nice. i'm best @ ruby , java, although python, javascript, c++ can understand. i'll take examples in language though really.
it depends on svm library input file format. instance, libsvm file format requires each feature encoded integer, , furthermore, feature indices in ascending order.
more info here: http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html#/q3:_data_preparation
Comments
Post a Comment