QB3 / sparse-ho

Fast hyperparameter settings for non-smooth estimators:
http://qb3.github.io/sparse-ho
BSD 3-Clause "New" or "Revised" License
38 stars 15 forks source link

Cleanup utils_datasets #121

Closed mathurinm closed 3 years ago

mathurinm commented 3 years ago

closes #112

It remains to add docstrings

@QB3 can you check that the new way to do the stratified split behaves the same? Btw having mutable arguments as default (here, stratified shuffle split) is a bad design, as they are instanciated only once (stored in my_function.__defaults__) and then modifying them inside the functions modifies the default value)

QB3 commented 3 years ago

good to go for me @mathurinm