fABBA 1.2.3__tar.gz → 1.2.4__tar.gz
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.
- {fABBA-1.2.3 → fABBA-1.2.4}/PKG-INFO +1 -1
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/__init__.py +1 -1
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/extmod/fabba_agg_cm_win.pyx +4 -2
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA.egg-info/PKG-INFO +1 -1
- {fABBA-1.2.3 → fABBA-1.2.4}/setup.py +1 -1
- {fABBA-1.2.3 → fABBA-1.2.4}/LICENSE +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/README.rst +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/chainApproximation.py +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/digitization.py +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/extmod/__init__.py +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/extmod/chainApproximation_c.pyx +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/extmod/chainApproximation_cm.pyx +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/extmod/fabba_agg_c.pyx +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/extmod/fabba_agg_cm.pyx +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/extmod/inverse_tc.pyx +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/fabba.py +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/fabba_agg.py +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/inverse_t.py +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/__init__.py +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/agg.py +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/aggmem.pyx +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/aggwin.pyx +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/comp.py +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/compmem.pyx +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/AtrialFibrillation_TEST.arff +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/AtrialFibrillation_TRAIN.arff +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/BasicMotions_TEST.arff +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/BasicMotions_TRAIN.arff +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/CharacterTrajectories_TEST.arff +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/CharacterTrajectories_TRAIN.arff +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/Epilepsy_TEST.arff +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/Epilepsy_TRAIN.arff +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/JapaneseVowels_TEST.arff +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/JapaneseVowels_TRAIN.arff +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/LSST_TEST.arff +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/LSST_TRAIN.arff +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/NATOPS_TEST.arff +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/NATOPS_TRAIN.arff +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/UWaveGestureLibrary_TEST.arff +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/UWaveGestureLibrary_TRAIN.arff +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/beef_test.npy +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/data/beef_train.npy +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/fkmns.py +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/inverset.py +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/inversetc.pyx +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/jabba.py +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/jabba/preprocessing.py +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/load_datasets.py +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/separate/__init__.py +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/separate/aggregation.py +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/separate/aggregation_c.pyx +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA/separate/aggregation_cm.pyx +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA.egg-info/SOURCES.txt +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA.egg-info/dependency_links.txt +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA.egg-info/requires.txt +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/fABBA.egg-info/top_level.txt +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/pyproject.toml +0 -0
- {fABBA-1.2.3 → fABBA-1.2.4}/setup.cfg +0 -0
|
@@ -10,7 +10,7 @@ except (ModuleNotFoundError, ValueError):
|
|
|
10
10
|
from .separate.aggregation import aggregate
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
__version__ = '1.2.
|
|
13
|
+
__version__ = '1.2.4'
|
|
14
14
|
from .load_datasets import load_images, loadData
|
|
15
15
|
from .fabba import (image_compress, image_decompress, ABBAbase, ABBA,
|
|
16
16
|
get_patches, patched_reconstruction, fABBA,
|
|
@@ -63,7 +63,9 @@ cpdef aggregate(double[:,:] data, str sorting, double tol=0.5):
|
|
|
63
63
|
cdef unsigned int lab=0, num_group # , nr_dist=0
|
|
64
64
|
cdef double[:] clustc # starting point coordinates
|
|
65
65
|
cdef double dist
|
|
66
|
-
|
|
66
|
+
|
|
67
|
+
cdef np.ndarray[int, ndim=1] labels = np.full(len_ind, -1, dtype=int)
|
|
68
|
+
|
|
67
69
|
cdef list splist = list() # list of starting points
|
|
68
70
|
cdef Py_ssize_t i, ii, j
|
|
69
71
|
|
|
@@ -117,5 +119,5 @@ cpdef aggregate(double[:,:] data, str sorting, double tol=0.5):
|
|
|
117
119
|
|
|
118
120
|
lab += 1
|
|
119
121
|
|
|
120
|
-
return
|
|
122
|
+
return labels, splist # , nr_dist
|
|
121
123
|
|
|
@@ -26,7 +26,7 @@ class CustomBuildExtCommand(build_ext):
|
|
|
26
26
|
|
|
27
27
|
setup_args = {'name':"fABBA",
|
|
28
28
|
'packages':setuptools.find_packages(),
|
|
29
|
-
'version':"1.2.
|
|
29
|
+
'version':"1.2.4",
|
|
30
30
|
'cmdclass': {'build_ext': CustomBuildExtCommand},
|
|
31
31
|
'install_requires':["numpy>=1.3.0", "scipy>=0.7.0",
|
|
32
32
|
"requests", "pandas",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|