tspy.data_structures.ml.clustering.KShapeModel module¶
-
class
tspy.data_structures.ml.clustering.KShapeModel.
KShapeModel
(tsc, j_model)¶ Bases:
tspy.data_structures.ml.clustering.TimeSeriesClusteringModel.TimeSeriesClusteringModel
- Attributes
- centroids
- inter_cluster_distances
- intra_cluster_distances
- silhouette_coefficients
- sum_squares
Methods
save
(path)Save this model
score
(observations[, with_silhouette])returns the scores of given observations
-
save
(path)¶ Save this model