ffnn_wrapper: Basemodels-tidymodels wrappers
Description
Basemodels-tidymodels wrappers
Usage
ffnn_wrapper(formula, data, ...)rnn_wrapper(formula, data, ...)
Value
ffnn_wrapper() returns an object of class "ffnn_fit" containing the trained feedforward neural network model and metadata. See ffnn() for details.
rnn_wrapper() returns an object of class "rnn_fit" containing the trained recurrent neural network model and metadata. See rnn() for details.
Arguments
- formula
A formula specifying the model (e.g., y ~ x1 + x2)
- data
A data frame containing the training data
- ...
Additional arguments passed to the underlying training function
FFNN (MLP) Wrapper for <code>{tidymodels}</code> interface
This is a function to interface into {tidymodels}
(do not use this, use kindling::ffnn() instead).
RNN Wrapper for <code>{tidymodels}</code> interface
This is a function to interface into {tidymodels}
(do not use this, use kindling::rnn() instead).
Details
These wrapper functions are designed to interface with the {tidymodels}
ecosystem, particularly for use with tune::tune_grid() and workflows.
They handle the conversion of tuning parameters (especially list-column
parameters from grid_depth()) into the format expected by ffnn() and rnn().