스코어러 개체를 반환하는 함수가 있습니다. 스코어러 사용자 정의 스코어러에 어떻게 통합 할 수 있습니까? 한마디로sklearn 맞춤 스코어러 복수의 메트릭을 한번에
{ 'AUC_R': 0.6892943119440752,
'Accuracy': 0.9815382629183745,
'Error rate': 0.018461737081625407,
'False negative rate': 0.6211453744493393,
'False positive rate': 0.0002660016625103907,
'Lift value': 33.346741089307166,
'Precision J': 0.9772727272727273,
'Precision N': 0.9815872808592603,
'Rate of negative predictions': 0.0293063938288739,
'Rate of positive predictions': 0.011361068973307943,
'Sensitivity (true positives rate)': 0.3788546255506608,
'Specificity (true negatives rate)': 0.9997339983374897,
'f1_R': 0.9905775376404309,
'kappa': 0.5384745595159575}
이해 : 완성도를 위해서
, 여기에 예입니다. 그러나 http://scikit-learn.org/stable/modules/generated/sklearn.metrics.classification_report.html과 유사하게 단일 패스에서 여러 스코어를 얻을 수 있습니까? –이미 구현 했으므로 귀하의 질문을 이해할 수 없습니다. classification_report는 스코어러가 아니므로 스코어러 컨텍스트에서 사용할 수 없습니다. – lejlot
수정. 수동으로 루프 테스트를 구현했습니다. 내가 스태킹과 블렌딩 (https://github.com/rushter/heamy)을 시도하고 싶을 때, 스코어러 기능과 잘 통합 된 sklearn 파이프 라인으로 이동하기 시작했습니다. –