normalize_score: Normalizes the original score compared to a naive baseline...

View source: R/score.R

normalize_scoreR Documentation

Normalizes the original score compared to a naive baseline score The calculation that's being performed depends on the type of model

Description

Normalizes the original score compared to a naive baseline score The calculation that's being performed depends on the type of model

Usage

normalize_score(baseline_score, model_score, type)

Arguments

baseline_score

float, the evaluation metric score for a naive baseline (model)

model_score

float, the evaluation metric score for a statistical model

type

character, type of model

Value

numeric vector of length one, normalized score


ppsr documentation built on June 22, 2024, 7:15 p.m.