evaluate_metric: evaluate one survival_curve against another as truth

Description Format Value Methods Public fields Methods Examples

Description

evaluate one survival_curve against another as truth

evaluate one survival_curve against another as truth

Format

R6Class object.

Value

Object of R6Class with methods

Methods

evaluate_mse create data.frame that computes mse for each time point

Public fields

survival

estimated survival

survival_truth

true survival

Methods

Public methods


Method new()

Usage
evaluate_metric$new(survival = NULL, survival_truth = NULL)

Method evaluate_cross_entropy()

Usage
evaluate_metric$evaluate_cross_entropy()

Method evaluate_mse()

Usage
evaluate_metric$evaluate_mse()

Method clone()

The objects of this class are cloneable with this method.

Usage
evaluate_metric$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

1
2
  evaluation <- evaluate_metric$new(survival, survival_truth)
  evaluation$evaluate_mse()

wilsoncai1992/MOSS documentation built on June 1, 2020, 2:26 p.m.