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
- sklearn
- insert()
- 최솟값
- count()
- len()
- wcss
- Machine Learning
- 반복문
- 덴드로그램
- elbow method
- Python
- analizer
- IN
- nan
- Dictionary
- data
- DataFrame
- matplotlib
- DataAccess
- append()
- del
- numpy
- pandas
- function
- list
- dendrogram
- 최댓값
- hierarchical_clustering
- 분류 결과표
- string
Archives
- Today
- Total
목록Confusion matrix (1)
개발공부
분류 결과표 (Confusion Matrix) 타겟의 원래 클래스와 모형이 예측한 클래스가 일치하는지를 갯수로 센 결과를 표로 나타낸 것 정답 클래스는 행(row)으로 예측한 클래스는 열(column)로 나타낸다. 두개의 클래스로 분류할 때 이진 분류 결과표(Binary Confusion Matrix) 클래스가 0과 1 두종류 밖에 없는 이진 분류의 경우 일반적으로 클래스 이름을 양성(Positive)과 음성(Negative)로 표시한다. sklearn 라이브러리를 이용한 confusion metrix >>> from sklearn.metrics import confusion_matrix, accuracy_score, classification_report #정답 라벨인 y_test와 학습한 결과로 얻은..
Python/Machine Learning
2022. 5. 9. 20:06