Друзья, подскажите пожалуйста, корректно ли понимать атрибут thresholds у roc_curve как сдвинутый порог принятия решения (не знаю корректный ли термин), типо predict_proba дает недискретный ответ, а этот treshold показывает новую границу принятия решения (выше него - 1, ниже 2, по упмолчанию эта граница на 0,5)
типа того:
Returns
-------
fpr : ndarray of shape (n_thresholds,)
False positive rate (FPR) such that element i is the false positive
rate of predictions with score >= thresholds[i]. This is occasionally
referred to as false acceptance propability or fall-out.
fnr : ndarray of shape (n_thresholds,)
False negative rate (FNR) such that element i is the false negative
rate of predictions with score >= thresholds[i]. This is occasionally
referred to as false rejection or miss rate.
thresholds : ndarray of shape (n_thresholds,)
Decreasing score values.
https://github.com/scikit-learn/scikit-learn/blob/95119c13a/sklearn/metrics/_ranking.py#L826