Suppose I have a data sample having two classes labeled 0 and 1. When I run output = clf.predict_proba(X_input)
, each row in output
consists of 2 columns corresponding to probability of each class.
Does the first column represent probability of class 0 or 1? The predict_proba method of GradientBoostingClassier says:
"The class probabilities of the input samples. The order of the classes corresponds to that in the attribute classes_."
Does that mean that whichever, 0 or 1, is the first element of the data sample
corresponds to the first column in the output of predict_proba
?