Skip to content

Commit

Permalink
deploy: e48d0cd
Browse files Browse the repository at this point in the history
  • Loading branch information
ecomodeller committed Feb 12, 2024
1 parent 1a1c889 commit b7ff1d5
Show file tree
Hide file tree
Showing 12 changed files with 931 additions and 1,195 deletions.
12 changes: 0 additions & 12 deletions dfsu2d.html
Original file line number Diff line number Diff line change
Expand Up @@ -428,18 +428,6 @@ <h1>Dfsu 2D<a class="headerlink" href="#dfsu-2d" title="Link to this heading">#<
</pre></div>
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_1828/2771048869.py:2: DeprecationWarning:
Pyarrow will become a required dependency of pandas in the next major release of pandas (pandas 3.0),
(to allow more performant data types, such as the Arrow string type, and better interoperability with other libraries)
but was not found to be installed on your system.
If this would cause problems for you,
please provide us feedback at https://github.com/pandas-dev/pandas/issues/54466

import pandas as pd
</pre></div>
</div>
</div>
</div>
<section id="basic-properties">
<h2>Basic properties<a class="headerlink" href="#basic-properties" title="Link to this heading">#</a></h2>
Expand Down
12 changes: 0 additions & 12 deletions exercises/exercise_point_observations.html
Original file line number Diff line number Diff line change
Expand Up @@ -420,18 +420,6 @@ <h1>Exercise point observation<a class="headerlink" href="#exercise-point-observ
</pre></div>
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_1989/4080736814.py:1: DeprecationWarning:
Pyarrow will become a required dependency of pandas in the next major release of pandas (pandas 3.0),
(to allow more performant data types, such as the Arrow string type, and better interoperability with other libraries)
but was not found to be installed on your system.
If this would cause problems for you,
please provide us feedback at https://github.com/pandas-dev/pandas/issues/54466

import pandas as pd
</pre></div>
</div>
</div>
</div>
<div class="cell docutils container">
<div class="cell_input docutils container">
Expand Down
10 changes: 0 additions & 10 deletions exercises/final_assignment.html
Original file line number Diff line number Diff line change
Expand Up @@ -455,16 +455,6 @@ <h2>1. Hydrograhic profiles<a class="headerlink" href="#hydrograhic-profiles" ti
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_2033/862073109.py:1: DeprecationWarning:
Pyarrow will become a required dependency of pandas in the next major release of pandas (pandas 3.0),
(to allow more performant data types, such as the Arrow string type, and better interoperability with other libraries)
but was not found to be installed on your system.
If this would cause problems for you,
please provide us feedback at https://github.com/pandas-dev/pandas/issues/54466

import pandas as pd
</pre></div>
</div>
<div class="output text_html"><div>
<style scoped>
.dataframe tbody tr th:only-of-type {
Expand Down
82 changes: 40 additions & 42 deletions input_data.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion mesh.html
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ <h2>A simple mesh<a class="headerlink" href="#a-simple-mesh" title="Link to this
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7fa55af59850&gt;]
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7f8b224e5280&gt;]
</pre></div>
</div>
<img alt="_images/abe68e6fe5a0009d7eeedd2023ce919a3a6882fb769797667cf821d795bd64ba.png" src="_images/abe68e6fe5a0009d7eeedd2023ce919a3a6882fb769797667cf821d795bd64ba.png" />
Expand Down
108 changes: 32 additions & 76 deletions model_skill.html
Original file line number Diff line number Diff line change
Expand Up @@ -506,22 +506,6 @@ <h2>Metrics<a class="headerlink" href="#metrics" title="Link to this heading">#<
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:91: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
return np.mean(model.ravel() - obs.ravel())
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:227: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
residual = obs.ravel() - model.ravel()
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:129: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
error = np.average(np.abs(model.ravel() - obs.ravel()), weights=weights)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:403: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
return np.corrcoef(obs.ravel(), model.ravel())[0, 1]
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:467: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
residual = obs.ravel() - model.ravel()
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:469: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
return np.sqrt(np.mean(residual**2)) / np.mean(np.abs(obs.ravel()))
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:342: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
residual = model.ravel() - obs.ravel()
</pre></div>
</div>
<div class="output text_html"><div>
<style scoped>
.dataframe tbody tr th:only-of-type {
Expand Down Expand Up @@ -585,12 +569,6 @@ <h2>Metrics<a class="headerlink" href="#metrics" title="Link to this heading">#<
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:129: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
error = np.average(np.abs(model.ravel() - obs.ravel()), weights=weights)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:689: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
return _linear_regression(obs.ravel(), model.ravel(), reg_method)[0]
</pre></div>
</div>
<div class="output text_html"><div>
<style scoped>
.dataframe tbody tr th:only-of-type {
Expand Down Expand Up @@ -670,10 +648,6 @@ <h2>Taylor diagram<a class="headerlink" href="#taylor-diagram" title="Link to th
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:403: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
return np.corrcoef(obs.ravel(), model.ravel())[0, 1]
</pre></div>
</div>
<img alt="_images/4005871bbbeec755b7a5cb1acead207a30e82b8a20042e16531030d730cc4c51.png" src="_images/4005871bbbeec755b7a5cb1acead207a30e82b8a20042e16531030d730cc4c51.png" />
</div>
</div>
Expand Down Expand Up @@ -756,60 +730,46 @@ <h3>Overview<a class="headerlink" href="#overview" title="Link to this heading">
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:91: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
return np.mean(model.ravel() - obs.ravel())
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:227: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
residual = obs.ravel() - model.ravel()
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:129: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
error = np.average(np.abs(model.ravel() - obs.ravel()), weights=weights)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:403: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
return np.corrcoef(obs.ravel(), model.ravel())[0, 1]
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:467: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
residual = obs.ravel() - model.ravel()
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:469: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
return np.sqrt(np.mean(residual**2)) / np.mean(np.abs(obs.ravel()))
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:342: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
residual = model.ravel() - obs.ravel()
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/skill.py:785: FutureWarning: precision is deprecated, it has been renamed to decimals
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/skill.py:785: FutureWarning: precision is deprecated, it has been renamed to decimals
warnings.warn(
</pre></div>
</div>
<div class="output text_html"><style type="text/css">
#T_8201d_row0_col1 {
#T_09c0e_row0_col1 {
background-color: #3b4cc0;
color: #f1f1f1;
}
#T_8201d_row0_col2, #T_8201d_row0_col3, #T_8201d_row0_col4, #T_8201d_row0_col5, #T_8201d_row0_col6, #T_8201d_row0_col7 {
#T_09c0e_row0_col2, #T_09c0e_row0_col3, #T_09c0e_row0_col4, #T_09c0e_row0_col5, #T_09c0e_row0_col6, #T_09c0e_row0_col7 {
background-color: #7f0000;
color: #f1f1f1;
}
#T_8201d_row1_col1 {
#T_09c0e_row1_col1 {
background-color: #b9d0f9;
color: #000000;
text-decoration: underline;
font-style: italic;
font-weight: bold;
}
#T_8201d_row1_col2, #T_8201d_row1_col3, #T_8201d_row1_col4, #T_8201d_row1_col5, #T_8201d_row1_col6, #T_8201d_row1_col7 {
#T_09c0e_row1_col2, #T_09c0e_row1_col3, #T_09c0e_row1_col4, #T_09c0e_row1_col5, #T_09c0e_row1_col6, #T_09c0e_row1_col7 {
background-color: #fff7ec;
color: #000000;
text-decoration: underline;
font-style: italic;
font-weight: bold;
}
</style>
<table id="T_8201d">
<table id="T_09c0e">
<thead>
<tr>
<th class="blank level0" >&nbsp;</th>
<th id="T_8201d_level0_col0" class="col_heading level0 col0" >n</th>
<th id="T_8201d_level0_col1" class="col_heading level0 col1" >bias</th>
<th id="T_8201d_level0_col2" class="col_heading level0 col2" >rmse</th>
<th id="T_8201d_level0_col3" class="col_heading level0 col3" >urmse</th>
<th id="T_8201d_level0_col4" class="col_heading level0 col4" >mae</th>
<th id="T_8201d_level0_col5" class="col_heading level0 col5" >cc</th>
<th id="T_8201d_level0_col6" class="col_heading level0 col6" >si</th>
<th id="T_8201d_level0_col7" class="col_heading level0 col7" >r2</th>
<th id="T_09c0e_level0_col0" class="col_heading level0 col0" >n</th>
<th id="T_09c0e_level0_col1" class="col_heading level0 col1" >bias</th>
<th id="T_09c0e_level0_col2" class="col_heading level0 col2" >rmse</th>
<th id="T_09c0e_level0_col3" class="col_heading level0 col3" >urmse</th>
<th id="T_09c0e_level0_col4" class="col_heading level0 col4" >mae</th>
<th id="T_09c0e_level0_col5" class="col_heading level0 col5" >cc</th>
<th id="T_09c0e_level0_col6" class="col_heading level0 col6" >si</th>
<th id="T_09c0e_level0_col7" class="col_heading level0 col7" >r2</th>
</tr>
<tr>
<th class="index_name level0" >observation</th>
Expand All @@ -825,26 +785,26 @@ <h3>Overview<a class="headerlink" href="#overview" title="Link to this heading">
</thead>
<tbody>
<tr>
<th id="T_8201d_level0_row0" class="row_heading level0 row0" >HKNA</th>
<td id="T_8201d_row0_col0" class="data row0 col0" >386</td>
<td id="T_8201d_row0_col1" class="data row0 col1" >-0.32</td>
<td id="T_8201d_row0_col2" class="data row0 col2" >0.45</td>
<td id="T_8201d_row0_col3" class="data row0 col3" >0.32</td>
<td id="T_8201d_row0_col4" class="data row0 col4" >0.34</td>
<td id="T_8201d_row0_col5" class="data row0 col5" >0.97</td>
<td id="T_8201d_row0_col6" class="data row0 col6" >0.10</td>
<td id="T_8201d_row0_col7" class="data row0 col7" >0.85</td>
<th id="T_09c0e_level0_row0" class="row_heading level0 row0" >HKNA</th>
<td id="T_09c0e_row0_col0" class="data row0 col0" >386</td>
<td id="T_09c0e_row0_col1" class="data row0 col1" >-0.32</td>
<td id="T_09c0e_row0_col2" class="data row0 col2" >0.45</td>
<td id="T_09c0e_row0_col3" class="data row0 col3" >0.32</td>
<td id="T_09c0e_row0_col4" class="data row0 col4" >0.34</td>
<td id="T_09c0e_row0_col5" class="data row0 col5" >0.97</td>
<td id="T_09c0e_row0_col6" class="data row0 col6" >0.10</td>
<td id="T_09c0e_row0_col7" class="data row0 col7" >0.85</td>
</tr>
<tr>
<th id="T_8201d_level0_row1" class="row_heading level0 row1" >EPL</th>
<td id="T_8201d_row1_col0" class="data row1 col0" >66</td>
<td id="T_8201d_row1_col1" class="data row1 col1" >-0.08</td>
<td id="T_8201d_row1_col2" class="data row1 col2" >0.23</td>
<td id="T_8201d_row1_col3" class="data row1 col3" >0.22</td>
<td id="T_8201d_row1_col4" class="data row1 col4" >0.19</td>
<td id="T_8201d_row1_col5" class="data row1 col5" >0.97</td>
<td id="T_8201d_row1_col6" class="data row1 col6" >0.08</td>
<td id="T_8201d_row1_col7" class="data row1 col7" >0.93</td>
<th id="T_09c0e_level0_row1" class="row_heading level0 row1" >EPL</th>
<td id="T_09c0e_row1_col0" class="data row1 col0" >66</td>
<td id="T_09c0e_row1_col1" class="data row1 col1" >-0.08</td>
<td id="T_09c0e_row1_col2" class="data row1 col2" >0.23</td>
<td id="T_09c0e_row1_col3" class="data row1 col3" >0.22</td>
<td id="T_09c0e_row1_col4" class="data row1 col4" >0.19</td>
<td id="T_09c0e_row1_col5" class="data row1 col5" >0.97</td>
<td id="T_09c0e_row1_col6" class="data row1 col6" >0.08</td>
<td id="T_09c0e_row1_col7" class="data row1 col7" >0.93</td>
</tr>
</tbody>
</table>
Expand All @@ -857,10 +817,6 @@ <h3>Overview<a class="headerlink" href="#overview" title="Link to this heading">
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/modelskill/metrics.py:129: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary. Use `to_numpy()` for conversion to a numpy array instead.
error = np.average(np.abs(model.ravel() - obs.ravel()), weights=weights)
</pre></div>
</div>
<div class="output text_html"><div>
<style scoped>
.dataframe tbody tr th:only-of-type {
Expand Down

0 comments on commit b7ff1d5

Please sign in to comment.