How g0h0b1/optics-mlp works
This repository is a research notebook for evaluating whether OPTICS-derived cluster features improve city classification of IPv4 range records. The documented workflow loads and filters DB-IP data, selects and splits a city-balanced sample, fits preprocessing and clustering on training data, then compares MLP, hybrid MLP+OPTICS, and 1-NN across repeated seeds. It also produces dataset, clustering, per-city, accuracy, confusion-matrix, and PCA analyses. Source excerpts were unavailable, so relationships below rely on README documentation; the notebook’s internal implementation could not be verified.
Main entry points: optics_mlp_updated.ipynb Grouped split
Components 13
Data preparation
- Load and filter
optics_mlp_updated.ipynb - City sampling
optics_mlp_updated.ipynb - Grouped split
optics_mlp_updated.ipynb
Modeling
- Feature scaling
optics_mlp_updated.ipynb - OPTICS clustering
optics_mlp_updated.ipynb - Nearest-label transfer
optics_mlp_updated.ipynb - Classifier comparison
optics_mlp_updated.ipynb
Evaluation and reporting
- Seed repetitions
optics_mlp_updated.ipynb - Metrics and clusters
optics_mlp_updated.ipynb - Tables and figures
optics_mlp_updated.ipynb - Geographic PCA
optics_mlp_updated.ipynb
Other components
- Researcher
- DB-IP City Lite
Connections 19
- Researcher → Load and filter: runs notebook
README.md - DB-IP City Lite → Load and filter: provides CSV
README.md - Load and filter → City sampling: filters records
README.md - City sampling → Grouped split: selects ranges
README.md - Grouped split → Feature scaling: fits training-only
README.md - Grouped split → OPTICS clustering: fits training-only
README.md - OPTICS clustering → Nearest-label transfer: supplies clusters
README.md - Grouped split → Nearest-label transfer: supplies test ranges
README.md - Feature scaling → Classifier comparison: supplies features
README.md - Nearest-label transfer → Classifier comparison: adds one-hot labels
README.md - Grouped split → Classifier comparison: supplies labels
README.md - Classifier comparison → Seed repetitions: runs per seed
README.md - Seed repetitions → Metrics and clusters: aggregates results
README.md - Metrics and clusters → Tables and figures: writes tables
README.md - City sampling → Tables and figures: summarizes subset
README.md - OPTICS clustering → Tables and figures: reports cluster analysis
README.md - Classifier comparison → Tables and figures: generates comparisons
README.md - City sampling → Geographic PCA: provides subset
README.md - Geographic PCA → Tables and figures: writes PCA figure
README.md