Skip to content

Commit

Permalink
fix res bug
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsavel committed Mar 11, 2024
1 parent 2b70e2d commit 322ba58
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/pages/fitting_nn.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,21 @@
},
"outputs": [],
"source": [
"res = cortecs.fit.fit_neural_net.fit_neural_net(\n",
" fitter.opac.cross_section[:, :, -2],\n",
" fitter.opac.T,\n",
" fitter.opac.P,\n",
" None,\n",
" n_layers=3,\n",
" n_neurons=8,\n",
" activation=\"sigmoid\",\n",
" learn_rate=0.04,\n",
" loss=\"mean_squared_error\",\n",
" epochs=4000,\n",
" verbose=0,\n",
" sequential_model=None,\n",
" plot=True,\n",
")\n",
"history, neural_network = res"
]
},
Expand Down

0 comments on commit 322ba58

Please sign in to comment.