반응형 affinity propagation1 [affinity propagation] GraphicalLassoCV 를 이용한 비지도 군집화 from matplotlib.collections import LineCollection from sklearn import cluster, covariance, manifold import sys import numpy as np import matplotlib.pyplot as plt import pandas as pd import matplotlib.font_manager as fm print(__doc__) quotes = [] import FinanceDataReader as fdr # 주가데이터 불러오는 모듈 data = pd.read_csv('sector_2020-11-05.csv').iloc[:100].dropna(axis=0) CODE = data.CODE.tolist() names = .. 2020. 11. 10. 이전 1 다음 반응형