![]() |
slope 6.0.1
|
First, we define our model. Let's use logistic regression, by setting the loss to "logistic".
Next, we set the data matrix x and the response vector y. Here we use some toy data.
Finally, we call the path() method to fit the full SLOPE path.
Now we can retrieve the coefficients by calling res.getCoefs().