OrientatedModel: 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_orientated.R

Description

We noticed that orientation is correlated with the ski condition evaluation. Therefore, we tried to take this into account and classify using nivological observations per orientations cluster.

Usage

1
2
3
4
5
OrientatedModel(
  name = "MINIROCKET",
  orientations = list(c("N", "NE", "NW"), c("S", "SW", "SE"), "T", "E", "W"),
  modelClass = MinirocketModel
)

Arguments

name

character. Model name

orientations

list. List of orientations vectors

modelClass

func. Model constructor

Value

OrientatedModel. object

Create model object

model <- OrientatedModel()

Fit model if not already fitted

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.