get_grooves_lasso.RdUse logistic model to identify groove locations
get_grooves_lasso(x, value, lasso_method = "basic", pred_cutoff = ifelse(lasso_method == "basic", 0.07, 0.06), return_plot = F)
| x | numeric vector of locations (in microns) |
|---|---|
| value | numeric values of surface measurements in microns |
| lasso_method | use the 'basic' model or the 'full' model with interaction terms? |
| pred_cutoff | equal error rate cutoff for classification into GEA or LEA, trained on Hamby set 44 |
| return_plot | return plot of grooves? |