citylearn.end_use_load_profiles.clustering module
- class citylearn.end_use_load_profiles.clustering.Clustering(end_use_load_profiles: EndUseLoadProfiles, bldg_ids: List[int], maximum_clusters: int = None, sum_of_squares_error_minimum_percent_change: float = None, random_seed: int = None)[source]
Bases:
object
- property bldg_ids: List[int]
- get_optimal_clusters(clusters: List[int], sum_of_squares_error: List[float], calinski_harabasz_score: List[float], silhouette_score: List[float], davies_bouldin_score: List[float]) int [source]
- property maximum_clusters: int
- property random_seed: int
- property sum_of_squares_error_minimum_percent_change: float
- class citylearn.end_use_load_profiles.clustering.MetadataClustering(end_use_load_profiles: EndUseLoadProfiles, bldg_ids: List[int], maximum_clusters: int = None, sum_of_squares_error_minimum_percent_change: float = None, random_seed: int = None)[source]
Bases:
Clustering