Re: [scikit-learn] NB-SVM Implementation

2016-06-07 Thread Ivo Petkantchin
Thank you for your answer ! I will start working on all the requirements for the scikit learn API. 2016-06-07 10:11 GMT+02:00 Olivier Grisel : > I think it could be implemented as a preprocessing step: this is the > approach followed by: > > https://github.com/ryankiros/skip-thoughts/blob/master/

Re: [scikit-learn] NB-SVM Implementation

2016-06-07 Thread Olivier Grisel
I think it could be implemented as a preprocessing step: this is the approach followed by: https://github.com/ryankiros/skip-thoughts/blob/master/eval_classification.py Note that in that case LogisticRegression is used as the final classifier instead of a squared hinge loss SVM but that should not

[scikit-learn] NB-SVM Implementation

2016-06-06 Thread Ivo Petkantchin
Hello, For a university project I worked on a Sentiment Analysis challenge (Movie Reviews) and implemented a version of NBSVM as described in this paper: http://nlp.stanford.edu/pubs/sidaw12_simple_sentiment.pdf If I am not wrong there is no NBSVM class in scikit-learn. That is why I would like to