Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ishanuc committed Jan 11, 2024
1 parent d18d26c commit 3f53b89
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 10 deletions.
Binary file not shown.
26 changes: 23 additions & 3 deletions docs/teomim.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h1 class="title">Module <code>teomim.teomim</code></h1>

self.asset_path = pkg_resources.resource_filename(&#39;teomim&#39;, &#39;assets/&#39;)

def set_model(specifier,path=None,gz=None):
def set_modelpath(specifier,path=None,gz=None):
if gz:
self.gz = gz
if not path:
Expand Down Expand Up @@ -348,7 +348,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>

self.asset_path = pkg_resources.resource_filename(&#39;teomim&#39;, &#39;assets/&#39;)

def set_model(specifier,path=None,gz=None):
def set_modelpath(specifier,path=None,gz=None):
if gz:
self.gz = gz
if not path:
Expand Down Expand Up @@ -533,6 +533,25 @@ <h3>Methods</h3>
self.featurenames = np.array(self.model.feature_names)</code></pre>
</details>
</dd>
<dt id="teomim.teomim.teomim.set_modelpath"><code class="name flex">
<span>def <span class="ident">set_modelpath</span></span>(<span>specifier, path=None, gz=None)</span>
</code></dt>
<dd>
<div class="desc"></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def set_modelpath(specifier,path=None,gz=None):
if gz:
self.gz = gz
if not path:
self.modelpath = glob.glob(self.asset_path+&#39;/*&#39;+specifier+&#39;*&#39;)[0]
else:
self.modelpath = specifier
return self.modelpath</code></pre>
</details>
</dd>
</dl>
</dd>
</dl>
Expand Down Expand Up @@ -563,12 +582,13 @@ <h1>Index</h1>
<ul>
<li>
<h4><code><a title="teomim.teomim.teomim" href="#teomim.teomim.teomim">teomim</a></code></h4>
<ul class="">
<ul class="two-column">
<li><code><a title="teomim.teomim.teomim.evaluate" href="#teomim.teomim.teomim.evaluate">evaluate</a></code></li>
<li><code><a title="teomim.teomim.teomim.generate" href="#teomim.teomim.teomim.generate">generate</a></code></li>
<li><code><a title="teomim.teomim.teomim.load" href="#teomim.teomim.teomim.load">load</a></code></li>
<li><code><a title="teomim.teomim.teomim.quality" href="#teomim.teomim.teomim.quality">quality</a></code></li>
<li><code><a title="teomim.teomim.teomim.set_model" href="#teomim.teomim.teomim.set_model">set_model</a></code></li>
<li><code><a title="teomim.teomim.teomim.set_modelpath" href="#teomim.teomim.teomim.set_modelpath">set_modelpath</a></code></li>
</ul>
</li>
</ul>
Expand Down
26 changes: 23 additions & 3 deletions docs/teomim/teomim.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h1 class="title">Module <code>teomim.teomim</code></h1>

self.asset_path = pkg_resources.resource_filename(&#39;teomim&#39;, &#39;assets/&#39;)

def set_model(specifier,path=None,gz=None):
def set_modelpath(specifier,path=None,gz=None):
if gz:
self.gz = gz
if not path:
Expand Down Expand Up @@ -348,7 +348,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>

self.asset_path = pkg_resources.resource_filename(&#39;teomim&#39;, &#39;assets/&#39;)

def set_model(specifier,path=None,gz=None):
def set_modelpath(specifier,path=None,gz=None):
if gz:
self.gz = gz
if not path:
Expand Down Expand Up @@ -533,6 +533,25 @@ <h3>Methods</h3>
self.featurenames = np.array(self.model.feature_names)</code></pre>
</details>
</dd>
<dt id="teomim.teomim.teomim.set_modelpath"><code class="name flex">
<span>def <span class="ident">set_modelpath</span></span>(<span>specifier, path=None, gz=None)</span>
</code></dt>
<dd>
<div class="desc"></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def set_modelpath(specifier,path=None,gz=None):
if gz:
self.gz = gz
if not path:
self.modelpath = glob.glob(self.asset_path+&#39;/*&#39;+specifier+&#39;*&#39;)[0]
else:
self.modelpath = specifier
return self.modelpath</code></pre>
</details>
</dd>
</dl>
</dd>
</dl>
Expand Down Expand Up @@ -563,12 +582,13 @@ <h1>Index</h1>
<ul>
<li>
<h4><code><a title="teomim.teomim.teomim" href="#teomim.teomim.teomim">teomim</a></code></h4>
<ul class="">
<ul class="two-column">
<li><code><a title="teomim.teomim.teomim.evaluate" href="#teomim.teomim.teomim.evaluate">evaluate</a></code></li>
<li><code><a title="teomim.teomim.teomim.generate" href="#teomim.teomim.teomim.generate">generate</a></code></li>
<li><code><a title="teomim.teomim.teomim.load" href="#teomim.teomim.teomim.load">load</a></code></li>
<li><code><a title="teomim.teomim.teomim.quality" href="#teomim.teomim.teomim.quality">quality</a></code></li>
<li><code><a title="teomim.teomim.teomim.set_model" href="#teomim.teomim.teomim.set_model">set_model</a></code></li>
<li><code><a title="teomim.teomim.teomim.set_modelpath" href="#teomim.teomim.teomim.set_modelpath">set_modelpath</a></code></li>
</ul>
</li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions teomim.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -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: [email protected]
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
Expand Down
Binary file modified teomim/__pycache__/teomim.cpython-37.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion teomim/teomim.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.148'
__version__ = '0.0.149'

0 comments on commit 3f53b89

Please sign in to comment.