Doc2Vec 학습 + 클러스터 진단(실루엣, 덴드로그램) 유틸
Project description
actor_finder
Doc2Vec 학습 + 군집(클러스터) 진단을 위해 자주 쓰는 함수들을 묶은 유틸 라이브러리입니다.
로컬 설치(개발 모드)
pip install -U pip
pip install -e .
빠른 사용 예시
from actor_finder import train_doc2vec, agglomerative_silhouette
# df["tagged_review"] : 토큰 리스트 컬럼
model, vectors, tagged = train_doc2vec(df, token_col="tagged_review")
df["vector"] = vectors
scores, best_n = agglomerative_silhouette(df, vector_col="vector", n_cluster_range=range(2, 10))
print(best_n, max(scores))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
actor_finder-0.1.0.tar.gz
(4.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file actor_finder-0.1.0.tar.gz.
File metadata
- Download URL: actor_finder-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
743db07f5fa469263b62f3db99119d49cc39afe547621024b95e989f9eb0c220
|
|
| MD5 |
2e6e668d8fc32ca63daf95b17dd6949b
|
|
| BLAKE2b-256 |
c8140cd875f977fb181ef6f36c3d509d4aa94502e129c3f2e9754a8193d269eb
|
File details
Details for the file actor_finder-0.1.0-py3-none-any.whl.
File metadata
- Download URL: actor_finder-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18e0838bd58dc425c42bdf0d70fdb02c0740a2698ec1f22fca71fdbe3e46ba83
|
|
| MD5 |
4a84bedfd53342bba70751e22801aff4
|
|
| BLAKE2b-256 |
adc6167301f667783742a2c10a13b72e8f391337213921db80d3dd4400f0877d
|