[Scikit-learn-general] Getting confidence of a svc predict_prob

2012-08-25 Thread David Montgomery
Hi, If I use SCV with probability=True and I get a probability of a feature using predict_proba, how do I get the confidence of that prob? Thanks Sent from my iPad -- Live Security Virtual Conference Exclusive live even

[Scikit-learn-general] CV Kfold interatioins look good, test sets....not so good.

2012-08-25 Thread David Montgomery
Hi, I am trying to have a better understanding of CV in scikits e.g. KFold. I am building a binary SVC classifier and predicting probability for multiple classifiers. Standard stuff. This is OvR with SVC and predict_proba methodology. So, lets say I have 9 classifies and my K=3. When done

[Scikit-learn-general] Issue with StratifiedShuffleSplit

2012-08-25 Thread Dan Oneata
Hello everyone, I have spotted some strange behaviour while generating stratified shuffled splits. For certain values of the `test_size` parameter and for imbalanced classes, some samples might get ignored and the training indices might not include one class. For example, using sklearn 0.11 and P