jtXGBoost.lotto: Predict Lotto numbers

Description Usage Arguments Value Examples

Description

Function to run XGBoost for preprocessed Lotto data. Allows to use as a target dependent_var for formula construction. The rest of the variables are explanatory. Using xgboost, read.csv("lotto.csv")

Usage

1
jtXGBoost.lotto(model, dependent_var)

Arguments

model

preprocessed data with selected features

dependent_var

character with the name of the variable

Value

Returns table with predictions.

Examples

1
 jtXGBoost.lotto(model1, "number1")$forecasts

joint-hubs/jointhubs documentation built on Feb. 22, 2021, 3:54 a.m.