inst/doc/introduction.R

## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ---- eval = FALSE------------------------------------------------------------
#  rf <-  rand_forest(trees = 100, mode = "classification") %>%
#    set_engine("randomForest")
#  
#  m <- selfTraining(learner = rf) %>% fit(Wine ~ ., data = train)

## ---- eval = FALSE------------------------------------------------------------
#  rf <-  rand_forest(trees = 100, mode = "classification") %>%
#    set_engine("randomForest")
#  
#  m <- selfTraining(learner = rf) %>% fit_xy(x = train[,-cls], y = train$Wine)

Try the SSLR package in your browser

Any scripts or data that you put into this service are public.

SSLR documentation built on July 22, 2021, 9:08 a.m.