error_funcs: Error functions

Description Usage Arguments Functions

View source: R/error_funcs.R

Description

The group of loss functions used to calculate OOB errors.

Usage

1
2
3
4
5
6
7
8
9
error_funcs(ytrue, ypred, wcase = rep(1, length(ytrue)), method)

dev_poiss(ytrue, ypred, wcase)

dev_gamma(ytrue, ypred, wcase)

wgt_mse(ytrue, ypred, wcase)

mcc(ytrue, ypred, wcase)

Arguments

ytrue

numeric vector of the true target values.

ypred

numeric vector of the predicted target values.

wcase

numeric vector of case weights.

method

string specifying the type of random forest. One of the following: 'anova', 'class', 'poisson', 'gamma' or 'lognormal'.

Functions


henckr/distRforest documentation built on April 30, 2020, 8:10 p.m.