Use unsupervised pre-training (e.g., autoencoder features) before supervised learning
Usage
tl_transfer_learning(
data,
formula,
pretrain_method = "pca",
supervised_method = "tree",
...
)Arguments
- data
Training data
- formula
Model formula
- pretrain_method
Pre-training method: "pca", "autoencoder"
- supervised_method
Supervised learning method (default:
"tree", which handles both regression and classification with any number of classes)."logistic"is binary-only and errors on a response with more than two levels.- ...
Additional arguments
