{"id":19225585,"url":"https://github.com/cano1998/simple-linear-regression","last_synced_at":"2025-02-23T10:18:08.450Z","repository":{"id":246056152,"uuid":"800106291","full_name":"Cano1998/Simple-linear-regression","owner":"Cano1998","description":"Project where I applied simple linear regression to predict the charges for individuals based on their age. Specifically, I focus on predicting the charges for a 70-year-old person.","archived":false,"fork":false,"pushed_at":"2024-06-25T14:48:18.000Z","size":138,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-04T21:31:11.610Z","etag":null,"topics":["simple-linear-regression"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cano1998.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-05-13T17:57:57.000Z","updated_at":"2024-06-25T14:50:14.000Z","dependencies_parsed_at":"2024-06-25T16:36:20.952Z","dependency_job_id":null,"html_url":"https://github.com/Cano1998/Simple-linear-regression","commit_stats":null,"previous_names":["cano1998/simple-linear-regression"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cano1998%2FSimple-linear-regression","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cano1998%2FSimple-linear-regression/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cano1998%2FSimple-linear-regression/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cano1998%2FSimple-linear-regression/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cano1998","download_url":"https://codeload.github.com/Cano1998/Simple-linear-regression/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240298475,"owners_count":19779283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["simple-linear-regression"],"created_at":"2024-11-09T15:15:39.576Z","updated_at":"2025-02-23T10:18:08.367Z","avatar_url":"https://github.com/Cano1998.png","language":"Jupyter Notebook","readme":"This repository contains a project where we applied simple linear regression to predict the charges for individuals based on their age. Specifically, we focus on predicting the charges for a 70-year-old person.\n\nThe goal of this project is to use a simple linear regression model to estimate the charges incurred by individuals based on their age. By fitting a linear model to the data, we can make predictions for charges at specific ages, such as 70 years old.\n\nThe analysis involves the following steps:\n\nData Preprocessing: Preparing the data for model training.\nExploratory Data Analysis: Visualizing the relationship between age and charges.\nSimple Linear Regression: Fitting a linear regression model to predict charges based on age.\nPrediction: Using the model to predict the charges for a 70-year-old person.\n\nThe key findings were:\n\nLinear Relationship: The analysis confirms a linear relationship between age and charges.\nModel Coefficients: The regression model provides coefficients that quantify the relationship.\nPrediction for 70-Year-Old: The predicted charges for a 70-year-old individual are calculated using the model.\n\nModel Coefficients:\n\nIntercept: \n𝛽\n0\n​\n \nSlope (Age coefficient): \n𝛽\n1\n​\n \nPrediction for a 70-Year-Old:\n\nUsing the model Charges=\n𝛽\n0\n+\n𝛽\n1\n×\nAge\nCharges=β \n0\n​\n +β \n1\n​\n ×Age, the predicted charges for a 70-year-old person are calculated.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcano1998%2Fsimple-linear-regression","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcano1998%2Fsimple-linear-regression","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcano1998%2Fsimple-linear-regression/lists"}