evaluate_model: Evaluate model Get evaluation metrics (currently AUC and TSS)...

Description Usage Arguments Value Examples

View source: R/evaluate_model.R

Description

Evaluate model Get evaluation metrics (currently AUC and TSS) for agricultural conversion models.

Usage

1
evaluate_model(fitted_model, data)

Arguments

fitted_model

glm model. Output of fit_model() function (or glm() function in that matter). Any model of class "glm".

data

- data for modeling. Output of format_data() function. List with "evaluation_data" slot.

Value

dataframe with TSS and AUC values.

Examples

1
None.

MirzaCengic/LUpak documentation built on July 18, 2019, 3:06 a.m.