Migrating from the MATLAB toolbox ================================= The MATLAB toolbox of the 2013 monograph was organized in one folder per method. ``graphclust`` turns every algorithm into a scikit-learn estimator or a function: data matrices have one row per sample, parameters with an initial and a final value are tuples such as ``eps=(0.3, 0.05)``, and randomness is controlled by ``random_state``. .. list-table:: :header-rows: 1 :widths: 35 65 * - MATLAB - graphclust * - ``kmeans`` - ``sklearn.cluster.KMeans``; ``graphclust.LBG`` for codebook splitting * - ``neural_gas``, ``nglearning`` - ``NeuralGas`` * - ``trn`` - ``TopologyRepresentingNetwork`` (additionally ``prune`` and ``edge_strength_``) * - ``dtrn`` - ``DynamicTopologyRepresentingNetwork`` * - ``winn`` - ``WeightedIncrementalNetwork`` (node and edge weights returned) * - (none) - ``GrowingNeuralGas``, ``GrowWhenRequired`` (new) * - ``mst_gg``, ``mst``, ``GGclust`` - ``HybridMSTGG``, ``graphs.minimum_spanning_tree``, ``fuzzy.GathGeva`` * - ``MST_Clustering`` (``treeclust``, ``iterclust``) - ``MSTClustering`` * - ``validity``, ``clustmeas`` - ``validity.dunn_mst_index``, ``fukuyama_sugeno``, ``fuzzy_hypervolume``, ``clustering_rate`` * - ``improve_JP``, ``jarpat`` - ``fuzzy_neighborhood_similarity``, ``FuzzyNeighborhoodClustering``, ``JarvisPatrick`` * - ``knngraph2`` - ``graphs.knn_graph``, ``graphs.shared_neighbor_counts`` * - ``displayVAT`` - ``vat.vat``, ``vat.ivat`` * - ``dijk``, ``dijkstra``, ``geo_dist`` - ``graphs.geodesic_distances`` * - ``conn`` - ``graphs.connect_components`` * - ``cmdscale``, ``mdscale``, ``mds`` - ``classical_mds``, ``MetricMDS``, ``NonMetricMDS`` * - ``sammon`` - ``SammonMapping`` * - ``LPP``, ``constructW`` - ``LocalityPreservingProjection`` * - ``Isomap``, ``IsomapII`` - ``Isomap`` * - ``isotop`` - ``Isotop`` (re-implemented from the original publication) * - ``cca`` - ``CurvilinearComponentAnalysis``, ``geodesic=True`` for CDA * - ``oving``, ``oving_mds`` - ``OnlineVisualizationNG`` * - ``gnlp`` - ``GeodesicNLPNG`` * - ``trnmap_comp``, ``np_trnmap`` - ``TRNMap(mapping="metric")``, ``TRNMap(mapping="nonmetric")``, ``fine_tune=True`` * - ``trustcont`` - ``metrics.trustworthiness_continuity`` * - ``stress_sammon``, ``stress_mds``, ``stress_metr_mds`` - ``metrics.sammon_stress``, ``metrics.mds_stress``, ``metrics.residual_variance`` * - ``figdrawn`` - ``plotting.plot_graph``, ``plotting.plot_component_planes`` * - ``dataloading``, data files - ``datasets`` (``load_boxlinecircle`` ships the original data) The Variety, ChainLink and Curves data of the monograph are replaced by generators with the same characteristics; the original Boxlinecircle data ship with the package (:func:`graphclust.datasets.load_boxlinecircle`).