假设我有一个数据样本,其中有两个标记为0和1的类。当我运行`output = clf.predict_proba(X_input)`时,`output`中的每一行都包含2列,对应于每个类别的概率。
第一列表示0或1类的概率吗?GradientBoostingClassier的predict_proba方法说:
"The class probabilities of the input samples. The order of the classes corresponds to that in the attribute classes_."
这是否意味着数据样本中的第一个元素无论是0还是1都对应于`predict_proba`输出中的第一列呢?
第一列表示0或1类的概率吗?GradientBoostingClassier的predict_proba方法说:
"The class probabilities of the input samples. The order of the classes corresponds to that in the attribute classes_."
这是否意味着数据样本中的第一个元素无论是0还是1都对应于`predict_proba`输出中的第一列呢?