source: orange/Orange/orng/orngClustering.py @ 9671:a7b056375472

Revision 9671:a7b056375472, 2.6 KB checked in by anze <anze.staric@…>, 2 years ago (diff)

Moved orange to Orange (part 2)

Line 
1from Orange.clustering.kmeans import * 
2# from Orange.cluster.hierarchical import *
3
4from Orange.distance import \
5     AlignmentList, \
6     DistanceMap, \
7     DistanceMapConstructor, \
8     ExampleDistConstructor, \
9     ExampleDistBySorting, \
10     ExampleDistVector, \
11     ExamplesDistance, \
12     ExamplesDistance_Normalized, \
13     ExamplesDistanceConstructor
14
15from Orange.distance import Hamming as ExamplesDistance_Hamming, \
16    DTW as ExamplesDistance_DTW, \
17    Euclidean as ExamplesDistance_Euclidean, \
18    Manhattan as ExamplesDistance_Manhattan, \
19    Maximal as ExamplesDistance_Maximal, \
20    Relief as ExamplesDistance_Relief, \
21    DTWConstructor as ExamplesDistanceConstructor_DTW, \
22    EuclideanConstructor as ExamplesDistanceConstructor_Euclidean, \
23    HammingConstructor as ExamplesDistanceConstructor_Hamming, \
24    ManhattanConstructor as ExamplesDistanceConstructor_Manhattan, \
25    MaximalConstructor as ExamplesDistanceConstructor_Maximal, \
26    ReliefConstructor as ExamplesDistanceConstructor_Relief, \
27    PearsonRConstructor as ExamplesDistanceConstructor_PearsonR, \
28    PearsonR as ExamplesDistance_PearsonR, \
29    SpearmanRConstructor as ExamplesDistanceConstructor_SpearmanR, \
30    SpearmanR as ExamplesDistance_SpearmanR
31
32
33from Orange.clustering.kmeans import Clustering as KMeans
34from Orange.clustering.kmeans import init_random as kmeans_init_random
35from Orange.clustering.kmeans import init_diversity as kmeans_init_diversity
36from Orange.clustering.kmeans import init_hclustering as KMeans_init_hierarchicalClustering
37from Orange.clustering.kmeans import data_center as data_center
38from Orange.clustering.kmeans import plot_silhouette as plot_silhouette
39from Orange.clustering.kmeans import score_distance_to_centroids as score_distance_to_centroids
40from Orange.clustering.kmeans import score_silhouette as score_silhouette
41from Orange.clustering.kmeans import score_fast_silhouette as score_fastsilhouette
42
43from Orange.clustering.hierarchical import clustering as hierarchicalClustering
44from Orange.clustering.hierarchical import clustering_features as hierarchicalClustering_attributes
45from Orange.clustering.hierarchical import cluster_to_list as hierarchicalClustering_clusterList
46from Orange.clustering.hierarchical import top_clusters as hierarchicalClustering_topClusters
47from Orange.clustering.hierarchical import top_cluster_membership as hierarhicalClustering_topClustersMembership
48from Orange.clustering.hierarchical import order_leaves as orderLeaves
49
50from Orange.clustering.hierarchical import dendrogram_draw, DendrogramPlotPylab, DendrogramPlot
51#left for backward compatibility
52hierarchicalClustering_attributes
Note: See TracBrowser for help on using the repository browser.