knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(cpp)
library(dplyr)

#we want to see how the sequential cross validation works on the Gradient Descent Optimization Method for Linear Models 
#varying the number of groups created (in the case of 1000 folds and 100 folds)
cpp::cvsequencial(1000,Dep.var~.,mydataset,1e-5,1000,1e-5,F)
cpp::cvsequencial(100,Dep.var~.,mydataset,1e-5,1000,1e-5,F)


FrancescoBarile/FJLPackage documentation built on Dec. 17, 2021, 8:29 p.m.