Skip to content

Commit

Permalink
Release v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed Jun 1, 2022
1 parent 75aa74b commit 355f029
Show file tree
Hide file tree
Showing 44 changed files with 383 additions and 356 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/bash
./build_docs.sh

rm dist/*
rm -f dist/*
python setup.py sdist bdist_wheel
twine check dist/*
107 changes: 65 additions & 42 deletions docs/data.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions docs/dataset.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1 class="title">Module <code>mogptk.dataset</code></h1>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L1-L719" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L1-L719" class="git-link">Browse git</a>
</summary>
<pre><code class="python">import copy

Expand Down Expand Up @@ -786,7 +786,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L9-L32" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L9-L32" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def LoadCSV(filename, x_col=0, y_col=1, y_err_col=None, name=None, **kwargs):
&#34;&#34;&#34;
Expand Down Expand Up @@ -842,7 +842,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L34-L127" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L34-L127" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def LoadDataFrame(df, x_col=0, y_col=1, y_err_col=None, name=None):
&#34;&#34;&#34;
Expand Down Expand Up @@ -984,7 +984,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L133-L719" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L133-L719" class="git-link">Browse git</a>
</summary>
<pre><code class="python">class DataSet:
&#34;&#34;&#34;
Expand Down Expand Up @@ -1597,7 +1597,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L304-L320" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L304-L320" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def aggregate(self, duration, f=np.mean):
&#34;&#34;&#34;
Expand Down Expand Up @@ -1634,7 +1634,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L232-L256" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L232-L256" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def append(self, arg):
&#34;&#34;&#34;
Expand Down Expand Up @@ -1676,7 +1676,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L258-L268" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L258-L268" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def copy(self):
&#34;&#34;&#34;
Expand Down Expand Up @@ -1713,7 +1713,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L287-L302" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L287-L302" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def filter(self, start, end, dim=None):
&#34;&#34;&#34;
Expand Down Expand Up @@ -1754,7 +1754,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L374-L394" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L374-L394" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def get(self, index):
&#34;&#34;&#34;
Expand Down Expand Up @@ -1808,7 +1808,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L584-L609" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L584-L609" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def get_bnse_estimation(self, Q=1, n=1000, iters=200):
&#34;&#34;&#34;
Expand Down Expand Up @@ -1858,7 +1858,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L418-L432" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L418-L432" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def get_data(self, transformed=False):
&#34;&#34;&#34;
Expand Down Expand Up @@ -1898,7 +1898,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L396-L416" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L396-L416" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def get_index(self, index):
&#34;&#34;&#34;
Expand Down Expand Up @@ -1940,7 +1940,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L335-L346" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L335-L346" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def get_input_dims(self):
&#34;&#34;&#34;
Expand Down Expand Up @@ -1983,7 +1983,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L558-L582" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L558-L582" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def get_ls_estimation(self, Q=1, n=10000):
&#34;&#34;&#34;
Expand Down Expand Up @@ -2029,7 +2029,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L361-L372" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L361-L372" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def get_names(self):
&#34;&#34;&#34;
Expand Down Expand Up @@ -2061,7 +2061,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L546-L556" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L546-L556" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def get_nyquist_estimation(self):
&#34;&#34;&#34;
Expand Down Expand Up @@ -2093,7 +2093,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L348-L359" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L348-L359" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def get_output_dims(self):
&#34;&#34;&#34;
Expand Down Expand Up @@ -2125,7 +2125,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L466-L479" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L466-L479" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def get_prediction_data(self):
&#34;&#34;&#34;
Expand Down Expand Up @@ -2176,7 +2176,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L611-L638" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L611-L638" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def get_sm_estimation(self, Q=1, method=&#39;BNSE&#39;, optimizer=&#39;Adam&#39;, iters=200, params={}):
&#34;&#34;&#34;
Expand Down Expand Up @@ -2228,7 +2228,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L450-L464" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L450-L464" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def get_test_data(self, transformed=False):
&#34;&#34;&#34;
Expand Down Expand Up @@ -2267,7 +2267,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L434-L448" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L434-L448" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def get_train_data(self, transformed=False):
&#34;&#34;&#34;
Expand Down Expand Up @@ -2303,7 +2303,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L322-L333" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L322-L333" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def has_test_data(self):
&#34;&#34;&#34;
Expand Down Expand Up @@ -2350,7 +2350,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L640-L680" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L640-L680" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def plot(self, pred=None, title=None, figsize=None, legend=True, transformed=False):
&#34;&#34;&#34;
Expand Down Expand Up @@ -2432,7 +2432,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L682-L719" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L682-L719" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def plot_spectrum(self, title=None, method=&#39;ls&#39;, per=None, maxfreq=None, figsize=None, log=False, transformed=True, n=1001):
&#34;&#34;&#34;
Expand Down Expand Up @@ -2491,7 +2491,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L481-L503" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L481-L503" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def set_prediction_data(self, X):
&#34;&#34;&#34;
Expand Down Expand Up @@ -2541,7 +2541,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L505-L544" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L505-L544" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def set_prediction_range(self, start, end, n=None, step=None):
&#34;&#34;&#34;
Expand Down Expand Up @@ -2605,7 +2605,7 @@ <h2 id="examples">Examples</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/GAMES-UChile/mogptk/blob/a20a6459d7453f93206f50405ec779883077dbaf/mogptk/dataset.py#L270-L285" class="git-link">Browse git</a>
<a href="https://github.com/GAMES-UChile/mogptk/blob/75aa74b07f3bf8dd9eab3ddd9cac349d8097006e/mogptk/dataset.py#L270-L285" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def transform(self, transformer):
&#34;&#34;&#34;
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/00_Quick_Start.html
Original file line number Diff line number Diff line change
Expand Up @@ -14559,12 +14559,12 @@
},
displayAlign: 'center',
CommonHTML: {
linebreaks: {
automatic: true
linebreaks: {
automatic: true
}
}
});

MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
}
}
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/01_Data_Loading.html
Original file line number Diff line number Diff line change
Expand Up @@ -14559,12 +14559,12 @@
},
displayAlign: 'center',
CommonHTML: {
linebreaks: {
automatic: true
linebreaks: {
automatic: true
}
}
});

MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
}
}
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/02_Data_Preparation.html
Original file line number Diff line number Diff line change
Expand Up @@ -14559,12 +14559,12 @@
},
displayAlign: 'center',
CommonHTML: {
linebreaks: {
automatic: true
linebreaks: {
automatic: true
}
}
});

MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
}
}
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/03_Parameter_Initialization.html
Original file line number Diff line number Diff line change
Expand Up @@ -14559,12 +14559,12 @@
},
displayAlign: 'center',
CommonHTML: {
linebreaks: {
automatic: true
linebreaks: {
automatic: true
}
}
});

MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
}
}
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/04_Model_Training.html
Original file line number Diff line number Diff line change
Expand Up @@ -14559,12 +14559,12 @@
},
displayAlign: 'center',
CommonHTML: {
linebreaks: {
automatic: true
linebreaks: {
automatic: true
}
}
});

MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
}
}
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/05_Error_Metrics.html
Original file line number Diff line number Diff line change
Expand Up @@ -14559,12 +14559,12 @@
},
displayAlign: 'center',
CommonHTML: {
linebreaks: {
automatic: true
linebreaks: {
automatic: true
}
}
});

MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
}
}
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/06_Custom_Kernels_and_Mean_Functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -14559,12 +14559,12 @@
},
displayAlign: 'center',
CommonHTML: {
linebreaks: {
automatic: true
linebreaks: {
automatic: true
}
}
});

MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
}
}
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/07_Multi_Input.html
Original file line number Diff line number Diff line change
Expand Up @@ -14559,12 +14559,12 @@
},
displayAlign: 'center',
CommonHTML: {
linebreaks: {
automatic: true
linebreaks: {
automatic: true
}
}
});

MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
}
}
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/Test-checkpoint.html
Original file line number Diff line number Diff line change
Expand Up @@ -14559,12 +14559,12 @@
},
displayAlign: 'center',
CommonHTML: {
linebreaks: {
automatic: true
linebreaks: {
automatic: true
}
}
});

MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
}
}
Expand Down
Loading

0 comments on commit 355f029

Please sign in to comment.