It might take a lot of time for us to manually create a nested file for every model we create. Thus, our model directory can look as complicated as below model ├── model1 │ ├── NaiveBayes │ └── XGBoost │ ├── version_1 │ └── version_2 └── model2 ├── NaiveBayes └── XGBoost ├── version_1 └── version_2 While using each machine learning model, we might even want to save different versions of the model because of the difference in hyperparameters used for the model. While using model 1, we might want to use different types of machine learning models to train our data (‘model1/XGBoost’). For example, we might use ‘model 1’ to specify a specific feature engineering. AUTOMIZE DIRECROTY LOOP CODESometimes we might want to create nested files to organize our code or model, which makes it easier in the future for us to find them. Now we can access all your files within the ‘data’ directory! Create Nested Files if they do not Exist
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |