getLearner: Get Learner Details from 'LearnerList'

View source: R/learner.R

getLearnerR Documentation

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


library("partykit")
m <- ctree(Species ~ ., data = iris)
getLearner(m)


stablelearner documentation built on April 14, 2023, 12:40 a.m.