We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81f7e91 commit 4b7fb6cCopy full SHA for 4b7fb6c
comet/comet_integration.py
@@ -4,9 +4,9 @@
4
5
1. Initializes a Comet ML experiment for logging.
6
2. Loads the Breast Cancer dataset and splits it into training and testing sets.
7
-3. Defines an evaluation function using F1-score, precision, and recall.
+3. Defines an evaluation function using accuracy.
8
4. Implements an Optuna objective function to optimize hyperparameters
9
- (n_estimators and max_depth) for the Random Forest model.
+ (min_samples_leaf, max_depth, and min_samples_split) for the Random Forest model.
10
5. Uses Optuna to run multiple trials and identify the best hyperparameters.
11
6. Trains the final Random Forest model using the best-found hyperparameters.
12
7. Logs training and testing metrics to Comet ML.
0 commit comments