Metadata-Version: 1.1
Name: dendrogram_ts
Version: 0.1.0-beta.5
Summary: Plotting time-series graphs in scipy's dendrogram
Home-page: https://github.com/mapattacker/dendrogram-ts
Author: Jake Teo
Author-email: mapattacker@gmail.com
License: MIT
Download-URL: https://github.com/mapattacker/dendrogram-ts/archive/refs/tags/v0.1.0-beta.5.tar.gz
Description: Dendrogram Timeseries
        =====================
        
        Scipy's dendrogram for agglomerative clustering requires extensive customizations
        to make it more informative. This package wraps scipy's dendrogram with two customizations:
        
            * Timeseries graph at the side
            * Distance labels and cluster split points
         
        
        Installation
        ------------
        
        .. code:: bash
            
            pip install dendrogram-ts
        
        Example
        -------
        
        Plot by Maximum Clusters
        ************************
        
        .. code:: python
        
            from dendrogram_ts import maxclust_draw
        
            plt.style.use('seaborn-whitegrid')
            plt.figure(figsize=(8,5));
        
            maxclust_draw(df, 'ward', 'euclidean', max_cluster=10, ts_hspace=2)
        
        
        .. figure:: https://github.com/mapattacker/dendrogram-ts/blob/master/images/dendrogram1.png
            :width: 650px
            :align: center
        
        Plot by Color Threshold
        ***********************
        
        .. code:: python
        
            from dendrogram_ts import colorclust_draw
            import matplotlib as mpl
        
            mpl.rcParams['lines.linewidth'] = 1
            plt.style.use('seaborn-white')
            plt.figure(figsize=(12,10))
        
            colorclust_draw(df, method='ward', metric='euclidean', color_threshold=5200, ts_hspace=1)
        
        .. figure:: https://github.com/mapattacker/dendrogram-ts/blob/master/images/dendrogram3.png
            :width: 650px
            :align: center
        
        Plot All Clusters
        *****************
        
        .. code:: python
        
            from dendrogram_ts import allclust_draw
        
            plt.style.use('seaborn-whitegrid')
            plt.figure(figsize=(12,10))
        
            allclust_draw(df, 'ward', 'euclidean', ts_hspace=5)
        
        .. figure:: https://github.com/mapattacker/dendrogram-ts/blob/master/images/dendrogram2.png
            :width: 650px
            :align: center
Keywords: dendrogram,agglomerative clustering,timeseries
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
