check_score2: Check Score 2 Based on Prediction

Description Usage Arguments Value

View source: R/model_helper.R

Description

Check score 2 of the prediction based on actual observation and the granularity of simulation.

Usage

1
check_score2(pi_up, actual_obs, granularity, how = "max_size")

Arguments

pi_up

A numeric value representing the prediction upper bound.

actual_obs

A numeric value representing the actual observation corresponding to the predictions.

granularity

A numeric value represneting granularity of response.

how

A character representing how the score is calculated. "max_size" by default schedules one job that takes maximum place. "\d_jobs" schedules "\d" jobs with equal sizes. "\d_cores" schedules jobs each with fixed \d number of cores, only works for granularity not being 0.

Value

A numeric value between 0 and 1 or NA.


carlonlv/DataCenterSim documentation built on Jan. 9, 2022, 3:26 p.m.