jtXGBoost: Function to run XGBoost for preprocessed sales data.

Description Usage Arguments Value Examples

View source: R/jtXGBoost.R

Description

Flow prepared for enhanced data structure. Using xgboost and mice

Usage

1
jtXGBoost(clean)

Arguments

table

preprocessed data

Value

Returns table with predictions.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
clean <- table %>%
jtClean(
 date = input$data,
 sales = input$sales,
 product = FALSE,
 min_date,
 max_date
 )

xgbData <- clean %>%
jtXGBoost()

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