AlessandroLovo / general_purpose

Set of general purpose python functions
MIT License
2 stars 0 forks source link

Turn trainer class from `Climate-Learing` into all-purpose ML model class #5

Open georgemilosh opened 1 year ago

georgemilosh commented 1 year ago

I think that trainer class can be made more convenient and useful for more people. The most convenient feature that could be helpful in many applications is how hyperparameters are treated and automatic folders spawned with config.json and runs.jsonfiles. The issue is that Climate-Learning is too bulky and probably hard to understand for most people. To get more adopters simpler class would be preferred. This is not a easy thing to do because it depends heavily on other functions in Learn2_new.py of Climate-Learning/PLASIM. So here is a set of desired features and steps:

AlessandroLovo commented 1 year ago

Very good points! If I have time I'll work on it

AlessandroLovo commented 1 year ago

This might be sort of related

georgemilosh commented 1 year ago

Indeed. I am not sure they natively support k-fold cross-validation, although certainly a user can build on top of that.