{"id":23279945,"url":"https://github.com/nurulashraf/linear-regression-spotify","last_synced_at":"2026-05-01T08:32:17.425Z","repository":{"id":268122216,"uuid":"903377565","full_name":"nurulashraf/linear-regression-spotify","owner":"nurulashraf","description":"Data Science - Spotify Linear Regression Analysis","archived":false,"fork":false,"pushed_at":"2025-02-03T07:35:04.000Z","size":12589,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T13:19:03.468Z","etag":null,"topics":["data-analysis","data-preprocessing","data-visualization","dataset-exploration","feature-selection","linear-regression","machine-learning","matplotlib","mean-squared-error","model-evaluation","multiple-regression","music-analytics","numpy","predictive-modeling","python","regression-analysis","root-mean-squared-error","scikit-learn","seaborn","spotify-data"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nurulashraf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-14T13:01:36.000Z","updated_at":"2025-02-03T07:35:08.000Z","dependencies_parsed_at":"2025-02-03T08:25:17.116Z","dependency_job_id":"89855a65-e133-42b3-83df-35b9f8c02936","html_url":"https://github.com/nurulashraf/linear-regression-spotify","commit_stats":null,"previous_names":["nurulashraf/lin-reg-spt","nurulashraf/linear-regression-spotify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nurulashraf/linear-regression-spotify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurulashraf%2Flinear-regression-spotify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurulashraf%2Flinear-regression-spotify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurulashraf%2Flinear-regression-spotify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurulashraf%2Flinear-regression-spotify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nurulashraf","download_url":"https://codeload.github.com/nurulashraf/linear-regression-spotify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurulashraf%2Flinear-regression-spotify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32490810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-analysis","data-preprocessing","data-visualization","dataset-exploration","feature-selection","linear-regression","machine-learning","matplotlib","mean-squared-error","model-evaluation","multiple-regression","music-analytics","numpy","predictive-modeling","python","regression-analysis","root-mean-squared-error","scikit-learn","seaborn","spotify-data"],"created_at":"2024-12-19T23:19:45.442Z","updated_at":"2026-05-01T08:32:17.407Z","avatar_url":"https://github.com/nurulashraf.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Linear Regression Analysis on Spotify Dataset\n\nThis repository contains an analysis of Spotify data using linear regression techniques. The analysis is performed using Jupyter Notebooks (`.ipynb`), making it easy to follow along with the steps and reproduce the results.\n\n---\n\n## Repository Structure\n\n```plaintext\nlinear-regression-spotify/\n├── README.md                                           # Main documentation file\n├── LICENSE                                             # Licensing information\n├── requirements.txt                                    # Dependencies\n├── data/                                               # Directory for datasets\n│   └── spotify_track.csv                               # Dataset file\n├── src/                                                # Source code directory\n│   ├── simple_linear_regression.ipynb                  \n│   ├── multiple_linear_regression_2vars.ipynb           \n│   └── multiple_linear_regression_more_vars.ipynb      \n```\n\n### File Descriptions\n- **`data/spotify_track.csv`**: Contains the Spotify data used in the analysis.\n- **`src/simple_linear_regression.ipynb`**: Demonstrates a single-variable linear regression model.\n- **`src/multiple_linear_regression_2vars.ipynb`**: Explores a linear regression model with two variables.\n- **`src/multiple_linear_regression_more_vars.ipynb`**: Applies a linear regression model with multiple variables.\n\n---\n\n## Requirements\n\nTo run the Jupyter Notebooks, you need the following dependencies:\n- Python 3.8 or higher\n- Jupyter Notebook or JupyterLab\n- Libraries listed in `requirements.txt`\n\nInstall the dependencies using pip:\n```bash\npip install -r requirements.txt\n```\n\n---\n\n## Running the Notebooks\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/nurulashraf/linear-regression-spotify.git\n   cd linear-regression-spotify\n   ```\n\n2. Launch Jupyter Notebook or JupyterLab:\n   ```bash\n   jupyter notebook\n   ```\n   or\n   ```bash\n   jupyter lab\n   ```\n\n3. Open the desired `.ipynb` file in your browser.\n\n4. Run the cells sequentially to reproduce the results.\n\n---\n\n## Analysis Overview\n\n### Simple Linear Regression\nThis notebook examines the relationship between one independent variable and a dependent variable using a simple linear regression model.\n\n### Multiple Linear Regression (2 Variables)\nThis notebook expands the analysis by including two independent variables in the model.\n\n### Multiple Linear Regression (More Variables)\nThis notebook builds a comprehensive model using multiple independent variables to predict the dependent variable.\n\n---\n\n## Dataset\n\nThe dataset is stored in the `data/spotify_track.csv` file. It contains the necessary features for performing the analysis. If you use a custom dataset, ensure it follows the same format.\n\n---\n\n## Visualisations\n\nThe Jupyter Notebooks include various visualisations to aid understanding:\n- Scatter plots\n- Regression lines\n- Residual plots\n- Metrics comparison charts\n\n---\n\n## Contributing\n\nContributions are welcome! If you find any issues or have suggestions for improvement, feel free to open an issue or submit a pull request.\n\n---\n\n## License\n\nThis project is licensed under the terms of the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnurulashraf%2Flinear-regression-spotify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnurulashraf%2Flinear-regression-spotify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnurulashraf%2Flinear-regression-spotify/lists"}