{"id":29140770,"url":"https://github.com/seasawher/linear-regression","last_synced_at":"2026-05-04T22:42:56.309Z","repository":{"id":184759000,"uuid":"671503572","full_name":"Seasawher/linear-regression","owner":"Seasawher","description":"FreeCodeCamp / Machine Learning with Python / Linear Regression Health Costs Calculator","archived":false,"fork":false,"pushed_at":"2023-07-31T15:35:21.000Z","size":339,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-04T22:42:21.054Z","etag":null,"topics":["freecodecamp-project","jupyter-notebook","machine-learning","python","tensorflow"],"latest_commit_sha":null,"homepage":"https://www.freecodecamp.org/learn/machine-learning-with-python/machine-learning-with-python-projects/linear-regression-health-costs-calculator","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/Seasawher.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}},"created_at":"2023-07-27T13:17:27.000Z","updated_at":"2023-07-31T15:35:51.000Z","dependencies_parsed_at":"2023-07-30T05:29:41.048Z","dependency_job_id":null,"html_url":"https://github.com/Seasawher/linear-regression","commit_stats":null,"previous_names":["seasawher/linear-regression"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Seasawher/linear-regression","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seasawher%2Flinear-regression","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seasawher%2Flinear-regression/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seasawher%2Flinear-regression/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seasawher%2Flinear-regression/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Seasawher","download_url":"https://codeload.github.com/Seasawher/linear-regression/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seasawher%2Flinear-regression/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32628211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["freecodecamp-project","jupyter-notebook","machine-learning","python","tensorflow"],"created_at":"2025-06-30T17:40:17.421Z","updated_at":"2026-05-04T22:42:56.294Z","avatar_url":"https://github.com/Seasawher.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linear Regression Health Costs Calculator\n\nIn this challenge, you will predict healthcare costs using a regression algorithm.\n\nYou are given a dataset that contains information about different people including their healthcare costs. Use the data to predict healthcare costs based on new data.\n\n## Specifications\n\n* Make sure to convert categorical data to numbers. \n\n* Use 80% of the data as the `train_dataset` and 20% of the data as the `test_dataset`.\n\n* pop off the \"expenses\" column from these datasets to create new datasets called `train_labels` and `test_labels`. \n\n* To pass the challenge, `model.evaluate` must return a Mean Absolute Error of under 3500. This means it predicts health care costs correctly within $3500.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseasawher%2Flinear-regression","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseasawher%2Flinear-regression","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseasawher%2Flinear-regression/lists"}