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 | 29 | 30 | 31 |
Tags
- 머신러닝
- decisiontree
- XGBoost
- sklearn
- gini coefficient
- Heatmap
- 지니계수
- ml
- Python
- bar
- GINI
- matplotlib
- Golang
- confusion matrix
- pyplot
- scatter
Archives
- Today
- Total
목록EDA (1)
Passion, Grace & Fire.
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/LVKUF/btqGTntoHfL/NuauAFYrM3wMTbTuZKQ56k/img.png)
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