feat(learn): add python video challenges (#38424)

This commit is contained in:
Beau Carnes
2020-04-06 14:49:56 -04:00
committed by Mrugesh Mohapatra
parent 22afc2a0ca
commit e776529ed0
218 changed files with 3411 additions and 114 deletions

View File

@ -0,0 +1,61 @@
---
id: 5e46f8e3ac417301a38fb92f
title: Book Recommendation Engine using KNN
challengeType: 10
isRequired: true
---
## Description
<section id='description'>
In this challenge, you will create a book recommendation algorithm using K-Nearest Neighbors.
You will use the Book-Crossings dataset. This dataset contains 1.1 million ratings (scale of 1-10) of 270,000 books by 90,000 users.
You can access <a href='https://colab.research.google.com/drive/1TDgXyXqZwsiGlnuF-bmQ2Rh3x5NcrHEn' target='_blank'>the full project instructions and starter code on Google Colaboratory</a>.
After going to that link, create a copy of the notebook either in your own account or locally. Once you complete the project and it passes the test (included at that link), submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link."
We are still developing the interactive instructional content for the machine learning curriculum. For now, check out these learning resources on the freeCodeCamp.org YouTube channel:
<ul>
<li>
<a href='https://www.freecodecamp.org/news/learn-to-develop-neural-networks-using-tensorflow-2-0-in-this-beginners-course/'>TensorFlow 2.0 Course</a> (2 hours)
</li>
<li>
<a href='https://www.youtube.com/playlist?list=PLWKjhJtqVAblStefaz_YOVpDWqcRScc2s'>Machine learning playlist</a>
</li>
<ul>
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: 'It should pass all Python tests.'
testString: ''
```
</section>
## Challenge Seed
<section id='challengeSeed'>
</section>
## Solution
<section id='solution'>
```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.
```
</section>

View File

@ -0,0 +1,59 @@
---
id: 5e46f8dcac417301a38fb92e
title: Cat and Dog Image Classifier
challengeType: 10
isRequired: true
---
## Description
<section id='description'>
For this challenge, you will use Tensorflow 2.0 and Karas to create a convolutional neural network that correctly classifies images of cats and dogs with at least 63% accuracy.
You can access <a href='https://colab.research.google.com/drive/1UCHiRuBLxo0S3aMuiDXlaP54LsxzrXHz' target='_blank'>the full project instructions and starter code on Google Colaboratory</a>.
After going to that link, create a copy of the notebook either in your own account or locally. Once you complete the project and it passes the test (included at that link), submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link."
We are still developing the interactive instructional content for the machine learning curriculum. For now, check out these learning resources on the freeCodeCamp.org YouTube channel:
<ul>
<li>
<a href='https://www.freecodecamp.org/news/learn-to-develop-neural-networks-using-tensorflow-2-0-in-this-beginners-course/'>TensorFlow 2.0 Course</a> (2 hours)
</li>
<li>
<a href='https://www.youtube.com/playlist?list=PLWKjhJtqVAblStefaz_YOVpDWqcRScc2s'>Machine learning playlist</a>
</li>
<ul>
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: 'It should pass all Python tests.'
testString: ''
```
</section>
## Challenge Seed
<section id='challengeSeed'>
</section>
## Solution
<section id='solution'>
```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.
```
</section>

View File

@ -0,0 +1,61 @@
---
id: 5e46f8edac417301a38fb930
title: Linear Regression Health Costs Calculator
challengeType: 10
isRequired: true
---
## Description
<section id='description'>
In this challenge, you will predict healthcare costs using a regression algorithm.
You 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.
You can access <a href='https://colab.research.google.com/drive/1h6SMDpC6o-6TFsgdizb3tk5zgE_DYWEo' target='_blank'>the full project instructions and starter code on Google Colaboratory</a>.
After going to that link, create a copy of the notebook either in your own account or locally. Once you complete the project and it passes the test (included at that link), submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link."
We are still developing the interactive instructional content for the machine learning curriculum. For now, check out these learning resources on the freeCodeCamp.org YouTube channel:
<ul>
<li>
<a href='https://www.freecodecamp.org/news/learn-to-develop-neural-networks-using-tensorflow-2-0-in-this-beginners-course/'>TensorFlow 2.0 Course</a> (2 hours)
</li>
<li>
<a href='https://www.youtube.com/playlist?list=PLWKjhJtqVAblStefaz_YOVpDWqcRScc2s'>Machine learning playlist</a>
</li>
<ul>
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: 'It should pass all Python tests.'
testString: ''
```
</section>
## Challenge Seed
<section id='challengeSeed'>
</section>
## Solution
<section id='solution'>
```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.
```
</section>

View File

@ -0,0 +1,59 @@
---
id: 5e46f8edac417301a38fb931
title: Neural Network SMS Text Classifier
challengeType: 10
isRequired: true
---
## Description
<section id='description'>
In this challenge, you need to create a machine learning model that will classify SMS messages as either "ham" or "spam". A "ham" message is a normal message sent by a friend. A "spam" message is an advertisement or a message sent by a company.
You can access <a href='https://colab.research.google.com/drive/1qfVQwSKAKU-NKPY4ByBhr93EqSqds4dJ' target='_blank'>the full project instructions and starter code on Google Colaboratory</a>.
After going to that link, create a copy of the notebook either in your own account or locally. Once you complete the project and it passes the test (included at that link), submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link."
We are still developing the interactive instructional content for the machine learning curriculum. For now, check out these learning resources on the freeCodeCamp.org YouTube channel:
<ul>
<li>
<a href='https://www.freecodecamp.org/news/learn-to-develop-neural-networks-using-tensorflow-2-0-in-this-beginners-course/'>TensorFlow 2.0 Course</a> (2 hours)
</li>
<li>
<a href='https://www.youtube.com/playlist?list=PLWKjhJtqVAblStefaz_YOVpDWqcRScc2s'>Machine learning playlist</a>
</li>
<ul>
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: 'It should pass all Python tests.'
testString: ''
```
</section>
## Challenge Seed
<section id='challengeSeed'>
</section>
## Solution
<section id='solution'>
```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.
```
</section>

View File

@ -0,0 +1,50 @@
---
id: 5e46f8d6ac417301a38fb92d
title: Rock Paper Scissors
challengeType: 10
isRequired: true
---
## Description
<section id='description'>
For this challenge, you will create a program to play Rock, Paper, Scissors. A program that picks at random will usually win 50% of the time. To pass this challenge your program must play matches against four different bots, winning at least 60% of the games in each match.
You can access <a href='https://repl.it/@freeCodeCamp/fcc-rock-paper-scissors' target='_blank'>the full project description and starter code on repl.it</a>.
After going to that link, fork the project. Once you complete the project based on the instructions in 'README.md', submit your project link below.
We are still developing the interactive instructional part of the machine learning curriculum. For now, you will have to use other resources to learn how to pass this challenge.
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: 'It should pass all Python tests.'
testString: ''
```
</section>
## Challenge Seed
<section id='challengeSeed'>
</section>
## Solution
<section id='solution'>
```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.
```
</section>