mikeblazanin / gcplyr

gcplyr is an R package that facilitates wrangling and analysis of microbial growth curve data
https://mikeblazanin.github.io/gcplyr/
Other
28 stars 2 forks source link

Build function for cross-validation selection of smoothing parameter #206

Closed mikeblazanin closed 4 months ago

mikeblazanin commented 4 months ago

We can use caret's train function with our own functions specified as the backbone for this

mikeblazanin commented 4 months ago

Need to empirically test the default grid values using Carolina's data and trav data

mikeblazanin commented 4 months ago

Based on Carolina's data, moving average and moving median both really rise as window_width_n increases from the get-go. I'm setting the max value to try to be 13

mikeblazanin commented 4 months ago

Based on Carolina's data, loess really rises by span = 0.2. I'm setting the max value to that