250x250
Link
๋์ GitHub Contribution ๊ทธ๋ํ
Loading data ...
Notice
Recent Posts
Recent Comments
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
Tags
- Lambda
- ๋น ๋ฐ์ดํฐ๋ถ์๊ธฐ์ฌ
- ADsP
- ๋ฐ์ดํฐ๋ถ์์ ๋ฌธ๊ฐ
- iloc
- ์ธ๋์ํ๋ง
- ๋ฐ์ดํฐ๋ถ์์ค์ ๋ฌธ๊ฐ
- ํ์ด์ฌ
- ํ ์คํธ๋ถ์
- ๋ ๋ฆฝํ๋ณธ
- pandas
- ์ค๋ฒ์ํ๋ง
- ๊ตฐ์งํ
- datascience
- ์๋ํด๋ผ์ฐ๋
- dataframe
- LDA
- Python
- t-test
- ๋ฐ์ดํฐ๋ถ์
- opencv
- ํฌ๋กค๋ง
- ์ฃผ์ฑ๋ถ๋ถ์
- ๋์ํ๋ณธ
- PCA
- numpy
- ๋น ๋ฐ์ดํฐ
- ๋ฐ์ดํฐ๋ถ๊ท ํ
- DBSCAN
- ADP
Archives
Data Science LAB
[Python] Mac Graphviz ์ค์น ๋ณธ๋ฌธ
728x90
์์ฌ๊ฒฐ์ ๋๋ฌด๋ฅผ ์๊ฐํํ๊ธฐ ์ํ ํจํค์ง์ธ Graphviz ์ค์น ๋ฐฉ๋ฒ
Homebrew ์ค์น
2022.09.15 - [Python] Mac์์ tesseract ์ค์นํ๊ธฐ ๋ฐ ํ๊ธ ์ถ๊ฐ
[Python] Mac์์ tesseract ์ค์นํ๊ธฐ ๋ฐ ํ๊ธ ์ถ๊ฐ
์ด๋ฒ์ ๋งฅ๋ถ ํ๋ก๋ก ๋ ธํธ๋ถ์ ๋ณ๊ฒฝํ๋ฉด์ ๊ฐ๋ฐ ํ๊ฒฝ ์ค์ ์ ๋ค์ํ๋๋ฐ ์๊ฐ๋ณด๋ค ๋๋ฌด ์ด๋ ค์ด ๊ฒ,,,ใ ,,,,, tesseract ์ค์น ๋ฐฉ๋ฒ 1. Homebrew ์ค์น https://brew.sh/index_ko Homebrew The Missing Package Manage..
suhye.tistory.com
์ฌ๊ธฐ ์๋ถ๋ถ ์ฐธ๊ณ
ํฐ๋ฏธ๋์์ graphviz ํจํค์ง ์ถ๊ฐ
brew install graphviz
pip ์ค์น
pip install graphviz
from sklearn.tree import export_graphviz
export_graphviz(dt_clf, out_file = 'tree.dot', class_names=iris_data.target_names,
feature_names=iris_data.feature_names, impurity=True, filled=True)
tree.dot๋ผ๋ ์ด๋ฆ์ผ๋ก ์๊ฐํ ํ์ผ ์์ฑ
์๊ฐํ ํ์ผ ํ์ธ
import graphviz
with open('tree.dot') as f:
dot_graph = f.read()
graphviz.Source(dot_graph)
728x90
Comments