diff --git a/dist/teomim-0.0.148.tar.gz b/dist/teomim-0.0.149.tar.gz
similarity index 51%
rename from dist/teomim-0.0.148.tar.gz
rename to dist/teomim-0.0.149.tar.gz
index 45d9f59..4656d9f 100644
Binary files a/dist/teomim-0.0.148.tar.gz and b/dist/teomim-0.0.149.tar.gz differ
diff --git a/docs/teomim.html b/docs/teomim.html
index 6276262..87ac22b 100644
--- a/docs/teomim.html
+++ b/docs/teomim.html
@@ -122,7 +122,7 @@
Module teomim.teomim
self.asset_path = pkg_resources.resource_filename('teomim', 'assets/')
- def set_model(specifier,path=None,gz=None):
+ def set_modelpath(specifier,path=None,gz=None):
if gz:
self.gz = gz
if not path:
@@ -348,7 +348,7 @@
self.asset_path = pkg_resources.resource_filename('teomim', 'assets/')
- def set_model(specifier,path=None,gz=None):
+ def set_modelpath(specifier,path=None,gz=None):
if gz:
self.gz = gz
if not path:
@@ -533,6 +533,25 @@ Methods
self.featurenames = np.array(self.model.feature_names)
+
+def set_modelpath(specifier, path=None, gz=None)
+
+
+
+
+
+Expand source code
+
+def set_modelpath(specifier,path=None,gz=None):
+ if gz:
+ self.gz = gz
+ if not path:
+ self.modelpath = glob.glob(self.asset_path+'/*'+specifier+'*')[0]
+ else:
+ self.modelpath = specifier
+ return self.modelpath
+
+
@@ -563,12 +582,13 @@ Index
diff --git a/docs/teomim/teomim.html b/docs/teomim/teomim.html
index 6276262..87ac22b 100644
--- a/docs/teomim/teomim.html
+++ b/docs/teomim/teomim.html
@@ -122,7 +122,7 @@ Module teomim.teomim
self.asset_path = pkg_resources.resource_filename('teomim', 'assets/')
- def set_model(specifier,path=None,gz=None):
+ def set_modelpath(specifier,path=None,gz=None):
if gz:
self.gz = gz
if not path:
@@ -348,7 +348,7 @@
self.asset_path = pkg_resources.resource_filename('teomim', 'assets/')
- def set_model(specifier,path=None,gz=None):
+ def set_modelpath(specifier,path=None,gz=None):
if gz:
self.gz = gz
if not path:
@@ -533,6 +533,25 @@ Methods
self.featurenames = np.array(self.model.feature_names)
+
+def set_modelpath(specifier, path=None, gz=None)
+
+
+
+
+
+Expand source code
+
+def set_modelpath(specifier,path=None,gz=None):
+ if gz:
+ self.gz = gz
+ if not path:
+ self.modelpath = glob.glob(self.asset_path+'/*'+specifier+'*')[0]
+ else:
+ self.modelpath = specifier
+ return self.modelpath
+
+
@@ -563,12 +582,13 @@ Index
diff --git a/teomim.egg-info/PKG-INFO b/teomim.egg-info/PKG-INFO
index 0b113df..9c908b3 100644
--- a/teomim.egg-info/PKG-INFO
+++ b/teomim.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 2.1
Name: teomim
-Version: 0.0.148
+Version: 0.0.149
Summary: Digital twin for generating and analyzing medical histories with deep comorbidity structures
Home-page: https://github.com/zeroknowledgediscovery/teomim
Author: paraknowledge corp
Author-email: research@paraknowledge.ai
License: LICENSE
-Download-URL: https://github.com/zeroknowledgediscovery/teomim/archive/0.0.148.tar.gz
+Download-URL: https://github.com/zeroknowledgediscovery/teomim/archive/0.0.149.tar.gz
Keywords: machine learning,statistics
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
diff --git a/teomim/__pycache__/teomim.cpython-37.pyc b/teomim/__pycache__/teomim.cpython-37.pyc
index db0af0b..64f56e6 100644
Binary files a/teomim/__pycache__/teomim.cpython-37.pyc and b/teomim/__pycache__/teomim.cpython-37.pyc differ
diff --git a/teomim/teomim.py b/teomim/teomim.py
index 20014d9..84fb1e0 100644
--- a/teomim/teomim.py
+++ b/teomim/teomim.py
@@ -93,7 +93,7 @@ def __init__(self, modelpath=None, gz=True, alpha=1.3,
self.asset_path = pkg_resources.resource_filename('teomim', 'assets/')
- def set_model(specifier,path=None,gz=None):
+ def set_modelpath(specifier,path=None,gz=None):
if gz:
self.gz = gz
if not path:
diff --git a/version.py b/version.py
index f71f25c..46060cb 100644
--- a/version.py
+++ b/version.py
@@ -1 +1 @@
-__version__ = '0.0.148'
+__version__ = '0.0.149'