Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Return Call NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Dict Str Str Str NameLoad Str Num Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad Call NameLoad Num BinOpDiv Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict NameLoad Dict Str Str Str Str Call NameLoad ListLoad NameLoad Dict Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr For NameStore Call NameLoad Num NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index BinOpMod Str TupleLoad NameLoad NameLoad Dict Str Str Str Str NameLoad Dict Str NameLoad Expr Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr Return Dict Str Str Str Str Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Created on 11/02/2013

@author: victor
 pyproct.tools.matrixTools get_submatrix pyproct.clustering.cluster Cluster pyproct.clustering.clustering Clustering N/A pyproct.driver.scheduling.tools scheduling_tools pyproct.clustering.selection.bestClusteringSelector BestClusteringSelector pyproct.driver.observer.observable Observable pyproct.clustering.algorithms.kmedoids.kMedoidsAlgorithm KMedoidsAlgorithm pyproct.clustering.evaluation.analysis.analysisRunner AnalysisRunner pyproct.clustering.evaluation.analysis.analysisPopulator AnalysisPopulator Refiner N/A Observable N/A N/A 
    Given a clustering, it tries to further separate its clusters. This way we expect to reduce the scaling problem.
     N/A KMedoidsAlgorithmClass KMedoidsAlgorithm __init__ N/A N/A self matrixHandler trajectoryHandler clustering_parameters refinement_parameters observer N/A N/A N/A N/A N/A N/A N/A super Refiner self __init__ observer N/A N/A self matrixHandler matrixHandler N/A N/A self trajectoryHandler trajectoryHandler N/A N/A self clustering_parameters clustering_parameters N/A N/A self refinement_paramenters refinement_parameters N/A redefine_cluster_with_map N/A N/A cls initial_cluster new_cluster N/A N/A N/A 
        It renames the elements of a cluster using a map array.For instance, if our dataset has 5
        elements and the cluster to remap contains element 1, 3 and 4, then the elements map will
        remap 0->1, 1->3 and 2->4. This mapping is implemented as an array so map[0] = 1, map[1] = 3
        and map[2] = 4.
         N/A elements_map N/A initial_cluster all_elements N/A remapped_new_cluster_elems N/A N/A element N/A new_cluster all_elements N/A N/A N/A N/A remapped_new_cluster_elems append N/A elements_map N/A element N/A N/A Cluster None remapped_new_cluster_elems N/A classmethod repartition_with_kmedoids N/A N/A cls initial_cluster k submatrix N/A N/A N/A partitioned_clustering N/A N/A N/A N/A cls KMedoidsAlgorithmClass submatrix perform_clustering N/A k seeding_type tries k RANDOM 10 N/A remapped_clusters N/A N/A partitioned_cluster N/A partitioned_clustering clusters N/A N/A N/A N/A remapped_clusters append N/A N/A cls redefine_cluster_with_map initial_cluster partitioned_cluster N/A N/A Clustering remapped_clusters N/A classmethod run N/A N/A self clustering N/A N/A N/A 
        Refine a clustering recursively using a k-means over each cluster.
        New clusters obtained from a cluster must have no noise and
         N/A max_partitions N/A N/A self refinement_parameters N/A max_partitions N/A try_step N/A int N/A max 1 N/A N/A float max_partitions N/A N/A self refinement_parameters N/A tries_per_cluster N/A matrix N/A N/A self matrixHandler distance_matrix N/A new_clusters N/A N/A cluster N/A clustering clusters N/A N/A base_id N/A cluster id N/A clusterings N/A base_id N/A type clustering parameters refined_base N/A Clustering N/A cluster N/A N/A submatrix N/A get_submatrix matrix N/A cluster all_elements N/A k N/A range 2 max_partitions try_step N/A N/A clustering N/A N/A self repartition_with_kmedoids cluster k submatrix N/A N/A clusterings N/A N/A %s_%d N/A base_id k N/A type clustering parameters refined clustering N/A k k N/A N/A N/A N/A AnalysisRunner N/A N/A scheduling_tools build_scheduler N/A N/A N/A self clustering_parameters N/A clustering N/A control N/A self observer clusterings N/A AnalysisPopulator N/A self matrixHandler N/A self trajectoryHandler N/A self clustering_parameters evaluate N/A N/A best_clustering_id all_scores N/A N/A N/A BestClusteringSelector N/A self clustering_parameters choose_best clusterings N/A N/A N/A new_clusters extend N/A N/A N/A clusterings N/A best_clustering_id N/A clustering clusters N/A N/A type clustering parameters refined_clustering N/A Clustering new_clusters N/A self refinement_parameters N/A N/A