You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ao executar calibration_check(model, df_full, 'diagnosis') onde df_full['diagnosis'] tem valores 'B' ou "M', a função calibration_check(model, df_full, 'diagnosis') retorna o seguinte erro:
ValueError: y_true takes value in {'B', 'M'} and pos_label is not specified: either make y_true take value in {0, 1} or {-1, 1} or pass pos_label explicitly.
Sugiro propagar o atributo pos_label da função brier_score_loss para a função calibration_check.
The text was updated successfully, but these errors were encountered:
Ao executar
calibration_check(model, df_full, 'diagnosis')
onde df_full['diagnosis'] tem valores 'B' ou "M', a funçãocalibration_check(model, df_full, 'diagnosis')
retorna o seguinte erro:Sugiro propagar o atributo
pos_label
da funçãobrier_score_loss
para a funçãocalibration_check
.The text was updated successfully, but these errors were encountered: