[FEAT] Preserve Trained Model #90
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem Statement
The current implementation of the
train_and_evaluate_modelfunction does not preserve the trained model objects after training. This limits the ability to recall or reuse trained models later in the workflow.Proposed Solution
Modify the
train_and_evaluate_modelfunction and the loop iterating through models to store trained models in a dictionary for later use. Here is the proposed solution:Alternatives Considered
None at the moment but alternatives might include using external serialization tools like
jobliborpickleto save and load models.Component
Python Source Code
Priority
High (significantly improves workflow)
Implementation Ideas
train_and_evaluate_modelfunction to optionally include serialization logic.Expected Benefits
Additional Context
N/A