View source: R/validate_params_fnn.R
validate_params_fnn | R Documentation |
This function validates user-provided parameters for a Feedforward Neural Network (FNN) model.
It ensures the correct structure for input_layer
, layers
, output_layer
,
compile_args
and fit_params
.
validate_params_fnn(model_type, learner_type, model_params, X)
model_type |
The model type for policy learning. Options include |
learner_type |
The learner type for the chosen model. Options include |
model_params |
A named list of parameters provided by the user for configuring the FNN model. |
X |
A matrix or data frame of covariates for which the parameters are validated. |
A named list of validated parameters merged with defaults for any missing values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.