tolerance: Getter/Setter for Tolerance

Description Usage Arguments Value

Description

Tolerance is used for dynamic scheme training policy. It controls the minimum quantile of past evaluation the current evaluation needs to supass, otherwise a retrain signal is sent for step. Evaluations consist of two scores, when type equals to scheduling, score1 corresponds to correct_scheduled_rate, score2 corresponds to correct_unscheduled_rate, when type equals predicting, score1 corresponds to survival_rate, and score2 corresponds to utilization_rate.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
tolerance1(object)

tolerance1(object) <- value

tolerance2(object)

tolerance2(object) <- value

## S4 method for signature 'sim'
tolerance1(object)

## S4 replacement method for signature 'sim,numeric'
tolerance1(object) <- value

## S4 method for signature 'sim'
tolerance2(object)

## S4 replacement method for signature 'sim,numeric'
tolerance2(object) <- value

Arguments

object

An S4 sim object

value

A numeric value that is between 0 and 1, exclusive or NA_real_.

Value

A numeric vector representing tolerance1 of score1.

A numeric vector representing tolerance2 of score2.


carlonlv/DataCenterSim documentation built on March 7, 2020, 8:51 a.m.