Extract probability of predict_proba in SVM python

Viewed 1004

Can anyone help tell me how to convert the probability data from the results on predict_proba SVM. The results look like in the exemple below, but I want a list or an array containing only the second column and free of brackets.

[[ 0.15941701  0.84058299]
 [ 0.12190033  0.87809967]
 [ 0.06293788  0.93706212]
 ...
 [ 0.93175738  0.06824262]]
<class 'numpy.ndarray'>

Thank you.

1 Answers
Related