setDefaultModelingWeights: Assign default modeling weights

Description Usage Arguments Value See Also

View source: R/functions_preprocessing.R

Description

In the modeling stage, data points can be weighted differently. This function assigns default weights to records based on the presence/absence of a mean estimate. Records with known estimates are assigned a weight of 1. Unknown estimates are assigned a variable weight (see below).

Usage

1
setDefaultModelingWeights(ors.data, unknown.weight = 0.5)

Arguments

ors.data

Data augmented with relevant predictors (output of getPredictors())

unknown.weight

Modeling weight to assign to unknown estimates; default is 0.5

Value

Data augmented with relevant predictors and default modeling weights

See Also

getPredictors()

xgboost::xgboost()

xgboost::setinfo()


saharaja/imputeORS documentation built on Feb. 4, 2022, 12:27 a.m.