datatypical 0.7.0__py3-none-any.whl → 0.7.1__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.
- {datatypical-0.7.0.dist-info → datatypical-0.7.1.dist-info}/METADATA +2 -2
- datatypical-0.7.1.dist-info/RECORD +7 -0
- datatypical.py +12 -5
- datatypical-0.7.0.dist-info/RECORD +0 -7
- {datatypical-0.7.0.dist-info → datatypical-0.7.1.dist-info}/WHEEL +0 -0
- {datatypical-0.7.0.dist-info → datatypical-0.7.1.dist-info}/licenses/LICENSE +0 -0
- {datatypical-0.7.0.dist-info → datatypical-0.7.1.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: datatypical
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.1
|
|
4
4
|
Summary: Explainable instance significance discovery for scientific datasets
|
|
5
5
|
Home-page: https://github.com/amaxiom/DataTypical
|
|
6
6
|
Author: Amanda S. Barnard
|
|
@@ -156,7 +156,7 @@ DataTypical(
|
|
|
156
156
|
|
|
157
157
|
## Visualization Functions
|
|
158
158
|
```python
|
|
159
|
-
from
|
|
159
|
+
from datatypical_viz import significance_plot, heatmap, profile_plot
|
|
160
160
|
|
|
161
161
|
# 1. Dual-perspective scatter plot
|
|
162
162
|
significance_plot(results, significance='archetypal')
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
datatypical.py,sha256=V0x0Yjm-sK652355Lh63rENGjYSJY22dXaUQFBtOX8k,135027
|
|
2
|
+
datatypical_viz.py,sha256=5eTQPJAb9L4oOGBBsZMPxOzXwYEwqWrfD9aCG949g6g,34557
|
|
3
|
+
datatypical-0.7.1.dist-info/licenses/LICENSE,sha256=g0opCy-9QpR50YnBBb8vaOCFanVirfgoW4L5piJpOzI,1073
|
|
4
|
+
datatypical-0.7.1.dist-info/METADATA,sha256=dPyT5v-goj5wm-hMxIirdXAvRHoukZaXsoJ9s3zXW4o,10082
|
|
5
|
+
datatypical-0.7.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
6
|
+
datatypical-0.7.1.dist-info/top_level.txt,sha256=plG_W9bF7qvWQWnJ9fsQnKAubyHhFOAAcxNdVf1hw4Q,28
|
|
7
|
+
datatypical-0.7.1.dist-info/RECORD,,
|
datatypical.py
CHANGED
|
@@ -64,14 +64,21 @@ from sklearn.exceptions import ConvergenceWarning
|
|
|
64
64
|
|
|
65
65
|
try:
|
|
66
66
|
from numba import jit, prange
|
|
67
|
+
import numpy as np
|
|
68
|
+
|
|
69
|
+
# Test if Numba actually works with the current NumPy
|
|
70
|
+
@jit(nopython=True)
|
|
71
|
+
def _test(x): return x
|
|
72
|
+
_test(np.array([1]))
|
|
73
|
+
|
|
67
74
|
NUMBA_AVAILABLE = True
|
|
68
|
-
except ImportError:
|
|
75
|
+
except (ImportError, Exception):
|
|
76
|
+
# This catches the "NumPy version too new" error too!
|
|
69
77
|
NUMBA_AVAILABLE = False
|
|
70
|
-
# Dummy decorator if numba not available
|
|
71
78
|
def jit(*args, **kwargs):
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
return
|
|
79
|
+
return lambda f: f
|
|
80
|
+
def prange(n):
|
|
81
|
+
return range(n)
|
|
75
82
|
|
|
76
83
|
try:
|
|
77
84
|
import scipy.sparse as sp
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
datatypical.py,sha256=XWxBi9u23nVLs3eOtSafY4FnFcnmqi10sMU40JiLKjg,134841
|
|
2
|
-
datatypical_viz.py,sha256=5eTQPJAb9L4oOGBBsZMPxOzXwYEwqWrfD9aCG949g6g,34557
|
|
3
|
-
datatypical-0.7.0.dist-info/licenses/LICENSE,sha256=g0opCy-9QpR50YnBBb8vaOCFanVirfgoW4L5piJpOzI,1073
|
|
4
|
-
datatypical-0.7.0.dist-info/METADATA,sha256=U4C9Z2cnzEw2iB-w3ytFgnx9hbEMO8TJ66BlMH20o4Y,10078
|
|
5
|
-
datatypical-0.7.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
6
|
-
datatypical-0.7.0.dist-info/top_level.txt,sha256=plG_W9bF7qvWQWnJ9fsQnKAubyHhFOAAcxNdVf1hw4Q,28
|
|
7
|
-
datatypical-0.7.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|