stablelearner (version 0.1-1)

getLearner: Get Learner Details from LearnerList

Description

Function to get information available about a specific learner in LearnerList of the current R session.

Usage

getLearner(x)

Arguments

x

a fitted model object.

Details

The function returns the entry in LearnerList found for the class of the object submitted to the function.

See Also

LearnerList, addLearner

Examples

Run this code
# NOT RUN {
library("partykit")
m <- ctree(Species ~ ., data = iris)
getLearner(m)
# }

Run the code above in your browser using DataCamp Workspace