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 +18 -0
- gaca/auto.py +881 -0
- gaca/cli.py +150 -0
- gaca/genesis.py +348 -0
- gaca/model.py +393 -0
- gaca/report.py +287 -0
- gaca-1.2.0.dist-info/METADATA +541 -0
- gaca-1.2.0.dist-info/RECORD +12 -0
- gaca-1.2.0.dist-info/WHEEL +5 -0
- gaca-1.2.0.dist-info/entry_points.txt +2 -0
- gaca-1.2.0.dist-info/licenses/LICENSE +21 -0
- gaca-1.2.0.dist-info/top_level.txt +1 -0
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"
|