sciml 0.0.5__py3-none-any.whl → 0.0.6__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.
- sciml/pipelines.py +3 -0
- {sciml-0.0.5.dist-info → sciml-0.0.6.dist-info}/METADATA +13 -14
- sciml-0.0.6.dist-info/RECORD +8 -0
- {sciml-0.0.5.dist-info → sciml-0.0.6.dist-info}/WHEEL +1 -1
- sciml-0.0.5.dist-info/RECORD +0 -8
- {sciml-0.0.5.dist-info → sciml-0.0.6.dist-info}/LICENSE +0 -0
- {sciml-0.0.5.dist-info → sciml-0.0.6.dist-info}/top_level.txt +0 -0
sciml/pipelines.py
CHANGED
@@ -4,6 +4,9 @@ from scipy import stats
|
|
4
4
|
from sklearn.metrics import mean_squared_error
|
5
5
|
|
6
6
|
def get_metrics(df, truth = 'truth', pred = 'pred', return_dict = False):
|
7
|
+
'''
|
8
|
+
Calculate statistical measures between validation and prediction sequences
|
9
|
+
'''
|
7
10
|
df = df[[truth, pred]].copy().dropna()
|
8
11
|
slope, intercept, r_value, p_value, std_err = stats.linregress(df.dropna()[truth], df.dropna()[pred])
|
9
12
|
r2 = r_value**2
|
@@ -1,14 +1,13 @@
|
|
1
|
-
Metadata-Version: 2.1
|
2
|
-
Name: sciml
|
3
|
-
Version: 0.0.
|
4
|
-
Summary: draw and basic calculations/conversions
|
5
|
-
Home-page: https://github.com/soonyenju/sciml
|
6
|
-
Author: Songyan Zhu
|
7
|
-
Author-email: zhusy93@gmail.com
|
8
|
-
License: MIT Licence
|
9
|
-
Keywords: Scientific machine learning wrappers
|
10
|
-
Platform: any
|
11
|
-
License-File: LICENSE
|
12
|
-
|
13
|
-
coming soon
|
14
|
-
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: sciml
|
3
|
+
Version: 0.0.6
|
4
|
+
Summary: draw and basic calculations/conversions
|
5
|
+
Home-page: https://github.com/soonyenju/sciml
|
6
|
+
Author: Songyan Zhu
|
7
|
+
Author-email: zhusy93@gmail.com
|
8
|
+
License: MIT Licence
|
9
|
+
Keywords: Scientific machine learning wrappers
|
10
|
+
Platform: any
|
11
|
+
License-File: LICENSE
|
12
|
+
|
13
|
+
coming soon
|
@@ -0,0 +1,8 @@
|
|
1
|
+
sciml/__init__.py,sha256=9Yj8J5bW79Kb3JvoOG8k-AmMv-M5Mn8KLmf-wArsJdo,49
|
2
|
+
sciml/pipelines.py,sha256=lAGtLwp6JKO6aBUZ0ka8VrA013QVDRmAlHG9dQnxY88,5424
|
3
|
+
sciml/utils.py,sha256=qCdABaTUu3K0R269jI7D_8SO6AqEjphg03CzdxCJR2k,1876
|
4
|
+
sciml-0.0.6.dist-info/LICENSE,sha256=hcunSTJmVgRcUNOa1rKl8axtY3Jsy2B4wXDYtQsrAt0,1081
|
5
|
+
sciml-0.0.6.dist-info/METADATA,sha256=PHJ68gGZvR-leW-QCRW_-ZsnHNycM1Kvd4MA_YJKtsU,326
|
6
|
+
sciml-0.0.6.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
7
|
+
sciml-0.0.6.dist-info/top_level.txt,sha256=dS_7aBCZFKQE3myPy5sh4USjQZCZyGg382-YxUUYcdw,6
|
8
|
+
sciml-0.0.6.dist-info/RECORD,,
|
sciml-0.0.5.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
sciml/__init__.py,sha256=9Yj8J5bW79Kb3JvoOG8k-AmMv-M5Mn8KLmf-wArsJdo,49
|
2
|
-
sciml/pipelines.py,sha256=pHlWnS4TWYpO4dZaDVxqEjiYfIS_WLYepUcvhkD-y28,5326
|
3
|
-
sciml/utils.py,sha256=qCdABaTUu3K0R269jI7D_8SO6AqEjphg03CzdxCJR2k,1876
|
4
|
-
sciml-0.0.5.dist-info/LICENSE,sha256=hcunSTJmVgRcUNOa1rKl8axtY3Jsy2B4wXDYtQsrAt0,1081
|
5
|
-
sciml-0.0.5.dist-info/METADATA,sha256=BWUb2AHvCG8hkFMCXuoVHASRNOw0kn-AwGj4UgPeaxg,314
|
6
|
-
sciml-0.0.5.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
|
7
|
-
sciml-0.0.5.dist-info/top_level.txt,sha256=dS_7aBCZFKQE3myPy5sh4USjQZCZyGg382-YxUUYcdw,6
|
8
|
-
sciml-0.0.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|