Model: Statistical model used to predict ski conditions evaluations

Description Usage Arguments Value Create model object Fit model if not already fitted Run predictions Save model to the filesystem to be reused without fitting again

View source: R/model.R

Description

Statistical model used to predict ski conditions evaluations

Usage

1

Arguments

name

character. Model name

Value

Model. object

Create model object

model <- Model(name)

Fit model if not already fitted

load_ski_nivo(model) # optionnal run by instructions bellow if needed load_Xy(model, na_replacement) # optionnal run by instructions bellow if needed split_Xy(model, split) # optionnal run by instructions bellow if needed fit(model, classify, scoring) # optionnal run by instructions bellow if needed score <- score(model, ord_score) # optionnal run by instructions bellow if needed

Run predictions

y <- predict_fresh(model) # fit first if model has not been loaded from the filesystem

Save model to the filesystem to be reused without fitting again

save_model(model)


vadmbertr/bonski.predict documentation built on Dec. 23, 2021, 2:06 p.m.