Re: [Scikit-learn-general] SVM: select the training set randomly

2013-06-21 Thread Gianni Iannelli
us Support! From: roba...@gmail.com Date: Fri, 21 Jun 2013 12:11:00 -0400 To: scikit-learn-general@lists.sourceforge.net Subject: Re: [Scikit-learn-general] SVM: select the training set randomly Oh sorry, I was thinking of balanced sets for cross validation, rather than a training and testing spli

Re: [Scikit-learn-general] SVM: select the training set randomly

2013-06-21 Thread Gianni Iannelli
om: roba...@gmail.com Date: Fri, 21 Jun 2013 12:11:00 -0400 To: scikit-learn-general@lists.sourceforge.net Subject: Re: [Scikit-learn-general] SVM: select the training set randomly Oh sorry, I was thinking of balanced sets for cross validation, rather than a training and testing split. I

Re: [Scikit-learn-general] SVM: select the training set randomly

2013-06-21 Thread Roban Kramer
> What do you think? Do you think is ok? > > > > I have one another question. How score works? What it computes? I > searched around but I found this: > > > > sklearn.metrics.classification_report(y_true, y_pred, labels=None, > target_names=None) > > > > Tha

Re: [Scikit-learn-general] SVM: select the training set randomly

2013-06-21 Thread Gianni Iannelli
l.com Date: Fri, 21 Jun 2013 10:57:58 -0400 To: scikit-learn-general@lists.sourceforge.net Subject: Re: [Scikit-learn-general] SVM: select the training set randomly StratifiedKFold will keep the class distribution the same for you: http://scikit-learn.org/stable/mo

Re: [Scikit-learn-general] SVM: select the training set randomly

2013-06-21 Thread Roban Kramer
Accuracy and a Kappa Coefficient. > > Is it correct? > > Thank You Very Much!!! > > > Date: Fri, 21 Jun 2013 10:59:13 +1000 > From: jnoth...@student.usyd.edu.au > To: scikit-learn-general@lists.sourceforge.net > Subject: Re: [Scikit-lea

Re: [Scikit-learn-general] SVM: select the training set randomly

2013-06-21 Thread Gianni Iannelli
I'm just guessing) an Overall Accuracy and a Kappa Coefficient. Is it correct? Thank You Very Much!!! Date: Fri, 21 Jun 2013 10:59:13 +1000 From: jnoth...@student.usyd.edu.au To: scikit-learn-general@lists.sourceforge.net Subject: Re: [Scikit-learn-general] SVM: select the training se

Re: [Scikit-learn-general] SVM: select the training set randomly

2013-06-20 Thread Bilal Dadanlar
you can have a look at "sklearn.cross_validation.train_test_split()" and some other methods from here: http://scikit-learn.org/stable/modules/classes.html#module-sklearn.cross_validation On Fri, Jun 21, 2013 at 3:59 AM, Joel Nothman wrote: > Please see > http://scikit-learn.org/stable/tutorial/

Re: [Scikit-learn-general] SVM: select the training set randomly

2013-06-20 Thread Joel Nothman
Please see http://scikit-learn.org/stable/tutorial/statistical_inference/model_selection.html On Fri, Jun 21, 2013 at 10:31 AM, Gianni Iannelli wrote: > Dear All, > > I have one question. I have a dataset of 100 vector each with some > features. Of this 100 I already know the classification of a

[Scikit-learn-general] SVM: select the training set randomly

2013-06-20 Thread Gianni Iannelli
Dear All, I have one question. I have a dataset of 100 vector each with some features. Of this 100 I already know the classification of all of them. What I wanna do is select randomly in this 100 a subset to use as training set and the rest as test set. There is something already implemented in