pip install AutoClusterML
from AutoClusterML import AutoCluster
a=AutoCluster.autocluster(data,labels=None,clusters=None)
AutoClusterML
This is a python module for automated dimensionality reduction and clustering (both unsupervised and supervised).
Features
-
Dimensionality reduction techniques applied based on user request for method and number of components.
-
Automated implementation of clustering algorithms on the data (with and without the presence of labels).
-
Scatter plots for all clustering algorithms
-
Metric based bar plot comparison of clustering algorithms
-
Contingency matrices for all clustering algorithms
-
Confusion matrices for all clustering algorithms
dim_reducer
x_p=dim_reducer(x,method='PCA',components=2)
This function automatically reduces the dimension of the data using 10 different dimensionality reduction techniques namely, PCA, factor
analysis, ICA, Incremental PCA, Kernel PCA, Mini Batch Sparse PCA, NMF, Sparse PCA, Mini batch NMF and SVD respectively.
autocluster
a=AutoCluster.autocluster(data,labels=None,clusters=None)
This function automatically applies 13 clustering algorithms, namely, kmeans, kmeans-elkan algorithm, bisectingkmeans,
bisectingkmeans-elkan algorithm, minibatchkmeans, agglomerative, agglomerative-single linkage, agglomerative-complete linkage
agglomerative-average linkage,birch-0.05 threshold,birch-0.1 threshold, birch-0.5 threshold and spectral respectively.
If the labels are not given, only three metrics, namely, the silhouette, davies bouldin and calinski harabasz are used for evaluation.
If the labels are given, the following metrics, namely, 'accuracy','precision','recall','f1','rand','adjusted rand','mutual info',
'adjusted mutual info','fowlkes mallows','homogeneity measure','v measure','silhouette','davies-bouldin','calinski-harabasz','contingency
matrix','confusion matrix' are used for cluster evaluation.
The function finally returns a table that compares the clustering algorithms with the above mentioned metrices.
plot_confusion_matrix
plot_confusion_matrix(a)
This function takes the comparative table as input and plots the confusion matrix for all clustering algorithms.
plot_scatter_plot
plot_scatter_plot(data,a)
This function takes the comparative table as input and plots the scatter plot for all clustering algorithms.
get_metric_plot
get_metric_plot(a,metric)
This function takes the comparative table as input and plot a bar plot of all clustering algorithms based on the given metric.
plot_contingency_matrix
plot_contingency_matrix(a)
This function takes the comparative table as input and plots the contingency matrix for all clustering algorithms.
Metadata
Release files for AutoClusterML 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| AutoClusterML-0.1.2.tar.gz | 6.0 kB | Without provenance | Details for AutoClusterML-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| AutoClusterML-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for AutoClusterML-0.1.2-py3-none-any.whl |
Total release size: 11.5 kB
Release files / AutoClusterML-0.1.2.tar.gz
| Download URL | AutoClusterML-0.1.2.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4fad7376c8efa91cb1ebfeb20b70a2d50c1b925b5ad57035520bfa57b0fc69a5
|
|
BLAKE2b-256 checksum How to use checksums |
02ae90860d2bc02386748c42caab3c413bcd5b9d956b8c3c3e30b40c3a4c7eee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / AutoClusterML-0.1.2-py3-none-any.whl
| Download URL | AutoClusterML-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c379ce430c173a3b66ebd8125de4ce5c073fb948128e78338945c546d4e565fa
|
|
BLAKE2b-256 checksum How to use checksums |
ad3c5f21ccfe98f2bc6e26b1ecabda236130ca382925c76062b662fcfa1399c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for AutoClusterML 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.