Task-Mithush#29
Open
mitsmania wants to merge 4 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Related Issue
Closes #13
Task Summary
Implemented Isolation Forest for unsupervised anomaly detection on the Mammography dataset (ODDS Repository). Loaded and explored the data, handled label conventions, trained an Isolation Forest model, tuned
contaminationto maximize F1-score, and evaluated using Precision, Recall, F1, and ROC-AUC. Followed the DataCamp Isolation Forest tutorial as the primary reference for workflow structure.Dataset
Dataset Source: https://www.openml.org/search?type=data&status=active&id=310)
Preprocessing
0 = normal, 1 = anomalyconvention (raw dataset uses-1/1, sklearn's.predict()uses a different1/-1convention)Model Configuration
Evaluation Results
Visualizations
Key Observations
contaminationstill misclassifies many points — a common pattern with extreme class imbalance (~2.3% anomalies).contaminationhad the biggest impact on results, directly trading off precision vs. recall.Checklist
.ipynb) included