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
- hierarchical_clustering
- DataFrame
- count()
- 최솟값
- 분류 결과표
- DataAccess
- nan
- del
- IN
- matplotlib
- data
- insert()
- len()
- analizer
- function
- append()
- Dictionary
- sklearn
- wcss
- 덴드로그램
- 최댓값
- pandas
- numpy
- 반복문
- Machine Learning
- Python
- string
- elbow method
- dendrogram
- list
Archives
- Today
- Total
목록CountVectorizer (1)
개발공부
CountVectorizing 카운터 벡터라이징 여러개의 문자열데이터에서 각 단어별로 쪼개 해당 단어가 몇개씩 나왔는지 계산해 변환해준다, 예제 from sklearn.feature_extraction.text import CountVectorizer sample_data = ['This is the first document', 'I loved them', 'This document is the second document', 'I am loving you', 'And this is the third one'] vec = CountVectorizer() #fit_transform() 함수를 사용해 sample_data의 문자열의 모든 단어에 대해 # 각 리스트요소마다 각 단어에 대해 몇개씩 있는지를 학..
Python/Machine Learning
2022. 5. 11. 17:50