2012/2/3 adnan rajper <[email protected]>: > > > Yes Peter, Indeed I am doing sentiment classification. > > > Your suggestion are highly appreciable. Sorry, but I am not able to > understand your question: "how many features do you have?". Would you care > to elaborate it?
In scikit-learn parlance if you have a 2D data matrix / array X, it's shape is (n_samples, n_features). In other words, the number of feature extracted by you vectorizer should be X.shape[1]. -- Olivier http://twitter.com/ogrisel - http://github.com/ogrisel ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
