Code borrowed from SLOPE package for generating datasets
1 2 3 4 5 6 7 8 9 10 11 12 |
n |
Number of data points |
p |
Number of features |
q |
Parameter controlling lambda sequence |
n_groups |
Number of groups of predictors |
n_targets |
Dimension of response variable |
density |
Determine sparsity of the data generated. Default set to 0. |
amplitude |
Scale of coefficient in output |
alpha |
Standard deviation |
response |
Choice of likelohood function |
rho |
Correlation |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.