updateBestModel: Update best_fit_model if the new model is better than the...

Description Usage Arguments Value

View source: R/model_selector.R

Description

Update best_fit_model if the new model is better than the current best model

Usage

1
2
updateBestModel(new_score, new_score_train, new_model_name, new_model,
  best_fit_model, minimize_score)

Arguments

new_score

A number

new_score_train

A number

new_model_name

A string

new_model

A model

best_fit_model

A list containing the current best model

minimize_score

A boolean

Value

A list containing the best fit model


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