def __init__(self):
"""
https://docs.scipy.org/doc/scipy/reference/generated/scipy.cluster.hierarchy.linkage.html:
A (n-1) by 4 matrix Z is returned. At the i-th iteration, clusters with indices Z[i, 0] and Z[i, 1] are
combined to form cluster n + i. A cluster with an index less than n corresponds to one of the original
observations. The distance between clusters Z[i, 0] and Z[i, 1] is given by Z[i, 2]. The fourth value
Z[i, 3] represents the number of original observations in the newly formed cluster.
"""
self.linkage = None
self.series = None
self._series_y = None
self.ts_height_factor = None
评论列表
文章目录