| flatten_params | Flattens the network parameters so they can be passed to [minipack.lm::nls.lm] 'par' argument |
| nnetLM | Initalize the neural network object |
| predict.nnetLM | Performs a forward pass |
| residFun | Residual function needed by [minipack.lm::nls.lm] |
| train.nnetLM | Train the neural network with Levenberg-Marquardt optimization using [minipack.lm::nls.lm] |
| unflatten_params | Unflattens the network parameters after they have been used by [minipack.lm::nls.lm] |