It'd be nice to allow the user to define minimum number of samples or r-squared threshold (currently fixed at 10 samples and r2 < 0.5, respectively), as suggested by @Julenasti. That is, add both as arguments to the function (with defaults, but users can change the values) rather than being fixed internally
It'd be nice to allow the user to define minimum number of samples or r-squared threshold (currently fixed at 10 samples and r2 < 0.5, respectively), as suggested by @Julenasti. That is, add both as arguments to the function (with defaults, but users can change the values) rather than being fixed internally