An open API service indexing awesome lists of open source software.

https://github.com/stratosphereips/ml-explorer

A Streamlit app to explore classification and anomaly-detection pipelines on synthetic datasets! ๐Ÿงช
https://github.com/stratosphereips/ml-explorer

Last synced: 6 months ago
JSON representation

A Streamlit app to explore classification and anomaly-detection pipelines on synthetic datasets! ๐Ÿงช

Awesome Lists containing this project

README

          

# ๐Ÿš€ ML Explorer

A Streamlit app to explore classification and anomaly-detection pipelines on synthetic datasets! ๐Ÿงช

image

## ๐Ÿ” Features

* **Synthetic Data Generators**:

* `make_classification`, `make_moons`, `make_circles`, `make_blobs`, `make_gaussian_quantiles`
* **Feature Selection**: VarianceThreshold, SelectKBest (ANOVA F-test, Mutual Information), tree-based importance
* **Dimensionality Reduction**: PCA, Kernel PCA, UMAP
* **Scaling**: StandardScaler, MinMaxScaler, RobustScaler
* **Classification & Anomaly Detection**:

* Logistic Regression, SVM, k-NN, Decision Trees, Random/Extra Forests, AdaBoost, GradientBoosting, Bagging, GaussianNB, QDA, MLP, SGD, Passive-Aggressive
* IsolationForest, One-Class SVM, Local Outlier Factor
* **Interactive Metrics**: Confusion matrix counts (TP, TN, FP, FN), Accuracy, Precision, Recall, F1-score, G-Mean, TPR, TNR, FPR, FNR
* **Decision Boundary Visualizations**: 2D plots with fullscreen toggle ๐Ÿ“ˆ

## โš™๏ธ Installation

1. Clone this repo:

```bash
git clone https://github.com/yourusername/ml-explorer.git
cd ml-explorer
```
2. Create a virtual environment (optional but recommended):

```bash
python -m venv venv
source venv/bin/activate # macOS/Linux
venv\Scripts\activate # Windows
```
3. Install dependencies:

```bash
pip install -r requirements.txt
```

## ๐Ÿš€ Usage

Run the Streamlit app:

```bash
streamlit run app.py
```

* Use the sidebar to select dataset, preprocessing steps, and models
* View performance metrics in an interactive table (sortable)
* Expand each model's section to see its decision boundary plot
* Toggle **Fullscreen plots** to enlarge charts inside the main view

## ๐Ÿค Contributing

Feel free to open issues or PRs! โญ

## ๐Ÿ“œ License

MIT License ยฉ 2025 eldraco