|
1 | | -# Awesome Code Template |
| 1 | +# 🚀 ML Explorer |
2 | 2 |
|
3 | | -This repository is a template with basic elements that every repository at Stratosphere should follow. |
| 3 | +A Streamlit app to explore classification and anomaly-detection pipelines on synthetic datasets! 🧪 |
4 | 4 |
|
5 | | -## Features |
| 5 | +## 🔍 Features |
6 | 6 |
|
7 | | -Write about what makes your [tool|code|data|repo] special. |
| 7 | +* **Synthetic Data Generators**: |
8 | 8 |
|
9 | | -## Usage |
| 9 | + * `make_classification`, `make_moons`, `make_circles`, `make_blobs`, `make_gaussian_quantiles` |
| 10 | +* **Feature Selection**: VarianceThreshold, SelectKBest (ANOVA F-test, Mutual Information), tree-based importance |
| 11 | +* **Dimensionality Reduction**: PCA, Kernel PCA, UMAP |
| 12 | +* **Scaling**: StandardScaler, MinMaxScaler, RobustScaler |
| 13 | +* **Classification & Anomaly Detection**: |
10 | 14 |
|
11 | | -Write about how others can use your [tool|code|data|repo]. |
| 15 | + * Logistic Regression, SVM, k-NN, Decision Trees, Random/Extra Forests, AdaBoost, GradientBoosting, Bagging, GaussianNB, QDA, MLP, SGD, Passive-Aggressive |
| 16 | + * IsolationForest, One-Class SVM, Local Outlier Factor |
| 17 | +* **Interactive Metrics**: Confusion matrix counts (TP, TN, FP, FN), Accuracy, Precision, Recall, F1-score, G-Mean, TPR, TNR, FPR, FNR |
| 18 | +* **Decision Boundary Visualizations**: 2D plots with fullscreen toggle 📈 |
12 | 19 |
|
13 | | -# About |
| 20 | +## ⚙️ Installation |
14 | 21 |
|
15 | | -This [tool|code|data|repo] was developed at the Stratosphere Laboratory at the Czech Technical University in Prague. |
| 22 | +1. Clone this repo: |
| 23 | + |
| 24 | + ```bash |
| 25 | + git clone https://github.com/yourusername/ml-explorer.git |
| 26 | + cd ml-explorer |
| 27 | + ``` |
| 28 | +2. Create a virtual environment (optional but recommended): |
| 29 | + |
| 30 | + ```bash |
| 31 | + python -m venv venv |
| 32 | + source venv/bin/activate # macOS/Linux |
| 33 | + venv\Scripts\activate # Windows |
| 34 | + ``` |
| 35 | +3. Install dependencies: |
| 36 | + |
| 37 | + ```bash |
| 38 | + pip install -r requirements.txt |
| 39 | + ``` |
| 40 | + |
| 41 | +## 🚀 Usage |
| 42 | + |
| 43 | +Run the Streamlit app: |
| 44 | + |
| 45 | +```bash |
| 46 | +streamlit run app.py |
| 47 | +``` |
| 48 | + |
| 49 | +* Use the sidebar to select dataset, preprocessing steps, and models |
| 50 | +* View performance metrics in an interactive table (sortable) |
| 51 | +* Expand each model's section to see its decision boundary plot |
| 52 | +* Toggle **Fullscreen plots** to enlarge charts inside the main view |
| 53 | + |
| 54 | +## 🤝 Contributing |
| 55 | + |
| 56 | +Feel free to open issues or PRs! ⭐ |
| 57 | + |
| 58 | +## 📜 License |
| 59 | + |
| 60 | +MIT License © 2025 eldraco |
0 commit comments