Skip to content

Commit

Permalink
Merge pull request #9 from CDJellen/develop
Browse files Browse the repository at this point in the history
Update for preprint
  • Loading branch information
CDJellen authored Nov 27, 2023
2 parents 5a09ecf + 4bba972 commit f2e512e
Show file tree
Hide file tree
Showing 98 changed files with 1,424 additions and 943 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,9 @@
.venv
.coverage
coverage.xml
otb/cache/processed/*.pickle
otbench/cache/processed/*.pickle
doc/
!notebooks/overview.ipynb
!notebooks/forecasting/*.ipynb
!notebooks/regression/*.ipynb
!notebooks/pytorch/*.ipynb
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pandas as pd
import pytest

from otb.tasks import TaskApi
from otbench.tasks import TaskApi


def pytest_addoption(parser):
Expand Down
23 changes: 6 additions & 17 deletions notebooks/overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,6 @@
"A similar interactive example focued on regression using the MLO $C_n^2$ dataset is provided [here](/notebooks/regression/mlo_cn2.ipynb)."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import sys\n",
"\n",
"sys.path.append('../../')"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand All @@ -36,7 +25,7 @@
"source": [
"import pprint\n",
"\n",
"from otb.tasks import TaskApi"
"from otbench.tasks import TaskApi"
]
},
{
Expand Down Expand Up @@ -151,12 +140,12 @@
{
"data": {
"text/plain": [
"['regression.usna_cn2_sm.full.Cn2_3m',\n",
"['forecasting.usna_cn2_sm.full.Cn2_3m',\n",
" 'regression.usna_cn2_lg.full.Cn2_3m',\n",
" 'forecasting.mlo_cn2.dropna.Cn2_15m',\n",
" 'regression.mlo_cn2.full.Cn2_15m',\n",
" 'regression.usna_cn2_sm.full.Cn2_3m',\n",
" 'regression.mlo_cn2.dropna.Cn2_15m',\n",
" 'forecasting.usna_cn2_sm.full.Cn2_3m',\n",
" 'regression.usna_cn2_lg.full.Cn2_3m']"
" 'regression.mlo_cn2.full.Cn2_15m']"
]
},
"execution_count": 5,
Expand Down Expand Up @@ -291,7 +280,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"More information on using the `otb` package to evaluate new models can be found in the [regression overview](regression/modeling.ipynb) notebook and the [forecasting overview](forecasting/usna_cn2_sm.ipynb)."
"More information on using the `otbench` package to evaluate new models can be found in the [regression overview](regression/modeling.ipynb) notebook and the [forecasting overview](forecasting/usna_cn2_sm.ipynb)."
]
}
],
Expand Down
Loading

0 comments on commit f2e512e

Please sign in to comment.