50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

mikropml (version 1.6.0)

set_hparams_rpart2: Set hyperparameters for decision tree models

Description

Set hyperparameters for decision tree models

Usage

set_hparams_rpart2(n_samples)

Value

named list of hyperparameters

Arguments

n_samples

number of samples in the dataset

Author

Kelly Sovacool, sovacool@umich.edu

Examples

Run this code
if (FALSE) {
set_hparams_rpart2(100)
set_hparams_rpart2(20)
}

Run the code above in your browser using DataLab