Save trained model
(self, path)
| 103 | } |
| 104 | |
| 105 | def save_model(self, path): |
| 106 | """Save trained model""" |
| 107 | if self.model is None: |
| 108 | raise ValueError("No model to save. Please train the model first.") |
| 109 | joblib.dump(self.model, path) |
| 110 | |
| 111 | def load_model(self, path): |
| 112 | """Load pre-trained model""" |
nothing calls this directly
no outgoing calls
no test coverage detected