getEvaluation: Predict and evaluate performance of a machine learning model

Description Usage Arguments Value

View source: R/evaluator.R

Description

Predict and evaluate performance of a machine learning model

Usage

1
getEvaluation(ml_model, model_name, valid_x, valid_y, metric)

Arguments

ml_model

A machine learning model

model_name

A string specifying the name of the model

valid_x

A data frame containing the features

valid_y

A data frame containing the correct answers

metric

A string containing the metric to be used

Value

Score on prediction


jsalminen/KaggleSolveR documentation built on May 20, 2019, 5:43 p.m.