Closed GHCamille closed 7 months ago
✨ This PR introduces training dataset resampling, and hyperparameters tuning to try to improve performance.
The SMOTE upsampling pipeline is defined with an imblearn pipeline.
It has to be implemented in the workflow, as follows :
X, y = load_dataset() X["is_original_data"] = 1 X_train, X_test, y_train, y_test = train_test_split( X, y, test_size=cfg.TEST_SIZE, random_state=cfg.RANDOM_STATE ) upsampling_pipeline.fit(X_train, y_train) rf_pipeline.fit(X_train, y_train)
✨ This PR introduces training dataset resampling, and hyperparameters tuning to try to improve performance.
🎲 Resampling :
The SMOTE upsampling pipeline is defined with an imblearn pipeline.
It has to be implemented in the workflow, as follows :
🏎️ Hyperparameters tuning :