gaca 1.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
gaca/__init__.py ADDED
@@ -0,0 +1,18 @@
1
+ """GACA: the Gravitational Accretion Clustering Algorithm.
2
+
3
+ from gaca import AutoGACA # any table: preprocessing and gamma chosen
4
+ auto = AutoGACA().fit(df)
5
+ auto.result_, auto.report("report.html")
6
+
7
+ from gaca import GACA # the algorithm itself
8
+ model = GACA(gamma_clustering=1.0, random_state=0).fit(X)
9
+ labels = model.assign(X)
10
+ """
11
+ from .genesis import (GACANode, assign, kernel_pull, merge_connected_components,
12
+ saddle_link, solar_genesis)
13
+ from .model import GACA
14
+ from .auto import AutoGACA, Preprocessor, select_gamma
15
+
16
+ __all__ = ["GACA", "AutoGACA", "Preprocessor", "select_gamma", "GACANode", "assign",
17
+ "kernel_pull", "merge_connected_components", "saddle_link", "solar_genesis"]
18
+ __version__ = "1.2.0"