Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- XGBoost
- GINI
- gini coefficient
- sklearn
- pyplot
- bar
- scatter
- decisiontree
- 지니계수
- matplotlib
- Golang
- ml
- confusion matrix
- 머신러닝
- Python
- Heatmap
Archives
- Today
- Total
목록sklearn (1)
Passion, Grace & Fire.
sklearn confusion matrix 예제
binary(0 or 1) category의 경우 다음과 같이 confusion matrix를 표현할 수 있다. predicted 0 1 expected 0 TN FP 1 FN TP sklearn.metrics.confusion_matrix로 위와 같은 표를 출력하기 위한 예제 코드: from sklearn.metrics import confusion_matrix from matplotlib import pyplot as plt """ Confusion matrix whose i-th row and j-th column entry indicates the number of samples with true label being i-th class and prediced label being j-th cla..
EDA
2020. 8. 18. 22:47