2020-08-13 10:00:20 +00:00
|
|
|
---
|
|
|
|
id: 5e46f8edac417301a38fb931
|
2021-07-15 07:34:11 +00:00
|
|
|
title: 神经网络短信文本分类器
|
2020-08-13 10:00:20 +00:00
|
|
|
challengeType: 10
|
2021-07-15 07:34:11 +00:00
|
|
|
forumTopicId: 462380
|
2021-01-13 02:31:00 +00:00
|
|
|
dashedName: neural-network-sms-text-classifier
|
2020-08-13 10:00:20 +00:00
|
|
|
---
|
|
|
|
|
2020-12-16 07:37:30 +00:00
|
|
|
# --description--
|
|
|
|
|
2021-07-15 07:34:11 +00:00
|
|
|
在这个挑战中,你需要创建一个机器学习模型,将短信分类为 “ham” 或 “spam”。 “ham” 信息是由一个朋友发送的普通信息。 “spam” 是一个公司发送的广告或信息。
|
2020-08-13 10:00:20 +00:00
|
|
|
|
2021-07-15 07:34:11 +00:00
|
|
|
你可以访问 [Google Colaboratory 上的完整项目说明和启动代码](https://colab.research.google.com/github/freeCodeCamp/boilerplate-neural-network-sms-text-classifier/blob/master/fcc_sms_text_classification.ipynb)。
|
2020-08-13 10:00:20 +00:00
|
|
|
|
2021-07-15 07:34:11 +00:00
|
|
|
进入该链接后,在你自己的账户或本地创建一个笔记本的副本。 一旦你完成项目并通过链接中的测试,请在下面提交你的项目链接。 如果你提交的是 Google Colaboratory 的链接,请确保打开链接共享时选择 “anyone with the link”。
|
2020-08-13 10:00:20 +00:00
|
|
|
|
2021-07-15 07:34:11 +00:00
|
|
|
我们仍在开发机器学习课程的交互式课程部分。 现在,你可以通过这个认证中的视频挑战。 你可能还需要寻找额外的学习资源,类似于你在真实世界项目中的工作。
|
2020-08-13 10:00:20 +00:00
|
|
|
|
2020-12-16 07:37:30 +00:00
|
|
|
# --hints--
|
2020-08-13 10:00:20 +00:00
|
|
|
|
2021-07-15 07:34:11 +00:00
|
|
|
它应该通过所有的 Python 测试。
|
2020-08-13 10:00:20 +00:00
|
|
|
|
2020-12-16 07:37:30 +00:00
|
|
|
```js
|
2020-08-13 10:00:20 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
|
2020-12-16 07:37:30 +00:00
|
|
|
# --solutions--
|
2020-08-13 10:00:20 +00:00
|
|
|
|
2021-01-13 02:31:00 +00: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.
|
|
|
|
```
|