machine_fitter: Apply fitting of machine learning functions

Description Usage Arguments Value Author(s)

View source: R/machine_fitter.R

Description

This functions fits one or several machine learning methods on a given dataset

Usage

1
2
3
4
5
6
7
machine_fitter(
  dataframe,
  aim_variable,
  co_variables,
  method = c("BDT", "RF"),
  splitper = 70
)

Arguments

dataframe

dataframe containing variables of interest

aim_variable

Character string with the name of the aim variable

co_variables

Character string with the name of the co-variables

method

default = c("DT","BDT","RF"); which method should be used: DecisionTree, BoostedDecisionTree and/or RandomForest?

splitper

default = 70; percentage of dataset used for fitting the model

Value

list containing the models

Author(s)

Wolfgang Hamer


whamer/papros documentation built on Feb. 6, 2021, 8:54 a.m.