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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.