2020-08-13 12:00:20 +02:00
|
|
|
---
|
|
|
|
id: 5e46f8edac417301a38fb930
|
2021-07-15 13:04:11 +05:30
|
|
|
title: 线性回归健康成本计算器
|
2020-08-13 12:00:20 +02:00
|
|
|
challengeType: 10
|
2021-07-15 13:04:11 +05:30
|
|
|
forumTopicId: 462379
|
2021-01-13 03:31:00 +01:00
|
|
|
dashedName: linear-regression-health-costs-calculator
|
2020-08-13 12:00:20 +02:00
|
|
|
---
|
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
# --description--
|
|
|
|
|
2021-07-15 13:04:11 +05:30
|
|
|
在这个挑战中,你将使用回归算法预测医疗费用。
|
2020-08-13 12:00:20 +02:00
|
|
|
|
2021-07-15 13:04:11 +05:30
|
|
|
你会得到一个数据集,其中包含不同人的信息,包括他们的医疗费用。 用数据来预测基于新数据的医疗费用。
|
2020-08-13 12:00:20 +02:00
|
|
|
|
2021-07-15 13:04:11 +05:30
|
|
|
你可以访问 [Google Colaboratory 上的完整项目说明和启动代码](https://colab.research.google.com/github/freeCodeCamp/boilerplate-linear-regression-health-costs-calculator/blob/master/fcc_predict_health_costs_with_regression.ipynb)。
|
2020-08-13 12:00:20 +02:00
|
|
|
|
2021-07-15 13:04:11 +05:30
|
|
|
进入该链接后,在你自己的账户或本地创建一个笔记本的副本。 一旦你完成项目并通过链接中的测试,请在下面提交你的项目链接。 如果你提交的是 Google Colaboratory 的链接,请确保打开链接共享时选择 “anyone with the link”。
|
2020-08-13 12:00:20 +02:00
|
|
|
|
2021-07-15 13:04:11 +05:30
|
|
|
我们仍在开发机器学习课程的交互式课程部分。 现在,你可以通过这个认证中的视频挑战。 你可能还需要寻找额外的学习资源,类似于你在真实世界项目中的工作。
|
2020-08-13 12:00:20 +02:00
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
# --hints--
|
2020-08-13 12:00:20 +02:00
|
|
|
|
2021-07-15 13:04:11 +05:30
|
|
|
它应该通过所有的 Python 测试。
|
2020-08-13 12:00:20 +02:00
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
```js
|
2020-08-13 12:00:20 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
|
2020-12-16 00:37:30 -07:00
|
|
|
# --solutions--
|
2020-08-13 12:00:20 +02:00
|
|
|
|
2021-01-13 03:31:00 +01:00
|
|
|
```py
|
|
|
|
# Python challenges don't need solutions,
|
|
|
|
# because they would need to be tested against a full working project.
|
|
|
|
# Please check our contributing guidelines to learn more.
|
|
|
|
```
|