checkValidTypeMeasure {cvwrapr}R Documentation

Check if loss function is valid for a given family

Description

Also throws error if family is invalid.

Usage

checkValidTypeMeasure(type.measure, family)

Arguments

type.measure

Loss function to use for cross-validation.

family

Model family.

Value

No return value; called for side effects. (If the function returns instead of throwing an error, it means the loss function is valid for that family.)


[Package cvwrapr version 1.0 Index]