powered by
Mainly intended to demonstrate the use of basis expansion models for sparse additive modeling; intended for use with expand_spline().
expand_spline()
gen_nonlinear_data(n = 100, p = 16, seed)
Sample size (numeric; default = 100).
Number of features (numeric; default = 16).
Set to get different random data sets, passed to set.seed()
set.seed()
Data <- gen_nonlinear_data()
Run the code above in your browser using DataLab