Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
repos:
- repo: https://github.com/kynan/nbstripout
rev: master
rev: 0.9.1
hooks:
- id: nbstripout
Original file line number Diff line number Diff line change
Expand Up @@ -144,22 +144,25 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Import training data\n",
"np.set_printoptions(precision=6, suppress=True)\n",
"\n",
"csv_data = pd.read_csv(datafile_path(\"500_Points_DataSet.csv\"))\n",
"csv_data.columns.values[0:6] = [\n",
"\n",
"new_names = [\n",
" \"pressure\",\n",
" \"temperature\",\n",
" \"enth_mol\",\n",
" \"entr_mol\",\n",
" \"CO2_enthalpy\",\n",
" \"CO2_entropy\",\n",
"]\n",
"\n",
"csv_data.columns = new_names + list(csv_data.columns[6:])\n",
"data = csv_data.sample(n=500)\n",
"\n",
"# Creating input_data and output_data from data\n",
Expand Down
2,151 changes: 1,077 additions & 1,074 deletions idaes_examples/notebooks/docs/surrogates/sco2/omlt/keras_training_doc.ipynb

Large diffs are not rendered by default.

2,151 changes: 1,077 additions & 1,074 deletions idaes_examples/notebooks/docs/surrogates/sco2/omlt/keras_training_test.ipynb

Large diffs are not rendered by default.

2,151 changes: 1,077 additions & 1,074 deletions idaes_examples/notebooks/docs/surrogates/sco2/omlt/keras_training_usr.ipynb

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,16 @@
"np.set_printoptions(precision=6, suppress=True)\n",
"\n",
"csv_data = pd.read_csv(datafile_path(\"500_Points_DataSet.csv\"))\n",
"csv_data.columns.values[0:6] = [\n",
"\n",
"new_names = [\n",
" \"pressure\",\n",
" \"temperature\",\n",
" \"enth_mol\",\n",
" \"entr_mol\",\n",
" \"CO2_enthalpy\",\n",
" \"CO2_entropy\",\n",
"]\n",
"csv_data.columns = new_names + list(csv_data.columns[6:])\n",
"data = csv_data.sample(n=500)\n",
"\n",
"input_data = data.iloc[:, :2]\n",
Expand Down
1,244 changes: 623 additions & 621 deletions idaes_examples/notebooks/docs/surrogates/sco2/pysmo/pysmo_training_doc.ipynb

Large diffs are not rendered by default.

1,244 changes: 623 additions & 621 deletions idaes_examples/notebooks/docs/surrogates/sco2/pysmo/pysmo_training_test.ipynb

Large diffs are not rendered by default.

1,244 changes: 623 additions & 621 deletions idaes_examples/notebooks/docs/surrogates/sco2/pysmo/pysmo_training_usr.ipynb

Large diffs are not rendered by default.

Loading