How luispv05/music-patern-analysis works
This is a reproducible Spotify-track analysis project, not a hosted application. Its main workflow is to clean the Kaggle dataset into genre-level and unique-track datasets, then run exploratory, genre, clustering, and popularity analyses. The README documents these stages; sampled scripts confirm the cleaning outputs and clustering/popularity dependencies. Some EDA and genre-script internals were not sampled, so their specific data flows are not asserted.
Main entry points: preparacion.py Feature preparation · raw Raw dataset · processed Processed datasets · limpieza.py Cleaning
Components 18
Data preparation
- Raw dataset
data/raw - Cleaning
src/limpieza.py - Processed datasets
data/processed - Anomaly counts
src/limpieza_anomalias.py
Exploratory analysis
- Dataset overview
src/eda_overview.py - Data quality
src/eda_calidad.py - Descriptive statistics
src/eda_estadisticos.py - Feature distributions
src/eda_distribuciones.py - Feature correlations
src/eda_correlacion.py
Genre analysis
- Genre profiles
src/generos_perfil.py - Genre heatmap
src/generos_heatmap.py
Clustering
- Feature preparation
src/preparacion.py - PCA analysis
src/clustering_pca.py - Cluster selection
src/clustering_k.py - Cluster profiling
src/clustering_perfil.py
Popularity models
- Baseline models
src/popularidad_base.py - Tree models
src/popularidad_arboles.py
Other components
- Analyst
Connections 26
- Analyst → Cleaning: runs
README.md - Raw dataset → Cleaning: reads
src/limpieza.py - Cleaning → Processed datasets: writes datasets
src/limpieza.py - Analyst → Anomaly counts: may run
README.md - Analyst → Dataset overview: runs
README.md - Analyst → Data quality: runs
README.md - Analyst → Descriptive statistics: runs
README.md - Analyst → Feature distributions: runs
README.md - Raw dataset → Feature distributions: reads
src/eda_distribuciones.py - Analyst → Feature correlations: runs
README.md - Raw dataset → Feature correlations: reads
src/eda_correlacion.py - Analyst → Genre profiles: runs
README.md - Analyst → Genre heatmap: runs
README.md - Processed datasets → Genre heatmap: reads
src/generos_heatmap.py - Analyst → Feature preparation: runs
README.md - Processed datasets → Feature preparation: loads unique tracks
src/preparacion.py - Analyst → PCA analysis: runs
README.md - Feature preparation → PCA analysis: prepares features
src/clustering_pca.py - Analyst → Cluster selection: runs
README.md - Feature preparation → Cluster selection: prepares features
src/clustering_k.py - Analyst → Cluster profiling: runs
README.md - Feature preparation → Cluster profiling: prepares features
src/clustering_perfil.py - Analyst → Baseline models: runs
README.md - Feature preparation → Baseline models: provides features
src/popularidad_base.py - Analyst → Tree models: runs
README.md - Baseline models → Tree models: provides loader
src/popularidad_arboles.py