bin_weighted: Model weights for "weight_type == "bin weighted" VERSION 2

Description Usage Arguments Value

Description

Calculate the model weights when "weight_type" == "bin weighted" # TODO this needs to be cleaned up

Usage

1
2
bin_weighted(bin_features, bin_type, nbins, train_data_preds, test_data, M, K,
  rotate = FALSE)

Arguments

bin_features

Training data with predicted class columns from each model 1,...,M

bin_type

Type of binning "standard","quantile","iterative quantile"

nbins

vector containing number of bins in each dimension

train_data_preds

data frame containing training data and CV prediction columns

test_data

data frame containing test data. Must have same column names as training data

M

number of models in bin weighted ensemble

K

number of true classes

Value

matrix of bin weights


kmaurer/binsemble documentation built on May 7, 2019, 9:50 p.m.