Skip to content

Commit 14f3ccc

Browse files
committed
completed python lesson
1 parent 1bdc55f commit 14f3ccc

File tree

11 files changed

+1924
-36
lines changed

11 files changed

+1924
-36
lines changed

CHANGES.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ Releases are displayed in reverse chronological order and each release will cont
66
- Minor version Y (x.Y.z): When a notebook lesson is complete.
77
- Patch version X (x.y.Z): Changes made in between notebook lessons.
88

9+
## [v1.1.0](https://github.com/practicalAI/practicalAI/releases/tag/v1.0.0)
10+
#### New:
11+
- 🐍 Python lesson is complete.
12+
#### Changed:
13+
- Code and notebook complete for the python lesson.
14+
#### Fixed:
15+
916
## [v1.0.0](https://github.com/practicalAI/practicalAI/releases/tag/v1.0.0)
1017
#### New:
1118
- 📓 Notebooks lesson is complete.

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,12 @@ A <i><b>practical</b></i> approach to machine learning.
66
<a class="ai-header-badge" target="_blank" href="https://github.com/GokuMohandas/practicalAI">
77
<img class="ai-header-badge-img" src="https://img.shields.io/github/stars/GokuMohandas/practicalAI.svg?style=social&label=Star">
88
</a>
9-
<a class="ai-header-badge" target="_blank" href="https://www.youtube.com/channel/UCgW4K2UDK21kHIzxpjNos7Q">
10-
<img class="ai-header-badge-img" src="https://img.shields.io/badge/style--5eba00.svg?label=Subscribe&logo=youtube&style=social">
9+
<a class="ai-header-badge" target="_blank" href="https://www.linkedin.com/company/practicalai-me">
10+
<img src="https://img.shields.io/badge/style--5eba00.svg?label=LinkedIn&logo=linkedin&style=social">
1111
</a>
1212
<a class="ai-header-badge" target="_blank" href="https://twitter.com/GokuMohandas">
1313
<img class="ai-header-badge-img" src="https://img.shields.io/twitter/follow/GokuMohandas.svg?label=Follow&style=social">
1414
</a>
15-
<a class="ai-header-badge" target="_blank" href="https://www.linkedin.com/company/practicalai-me">
16-
<img src="https://img.shields.io/badge/style--5eba00.svg?label=LinkedIn&logo=linkedin&style=social">
17-
</a>
1815

1916
<sub>Created by
2017
<a href="https://goku.me" target="_blank">Goku Mohandas</a> and

images/bulb.gif

-280 KB
Binary file not shown.

images/colab.png

-20.1 KB
Binary file not shown.

images/colab_logo.png

-1.64 KB
Binary file not shown.

images/github_logo.png

-1.67 KB
Binary file not shown.

images/no_image.png

-1.78 KB
Binary file not shown.

images/practicalai_logo.png

-10.4 KB
Binary file not shown.

images/twitter.gif

-17.9 KB
Binary file not shown.

notebooks/00_Notebooks.ipynb

Lines changed: 69 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,15 @@
2121
"colab_type": "text"
2222
},
2323
"source": [
24-
"<a href=\"https://practicalai.me\"><img height=\"80\" src=\"https://raw.githubusercontent.com/practicalAI/practicalAI/master/images/practicalai_logo.png\" align=\"left\" hspace=\"20px\" vspace=\"5px\"></a>\n",
25-
"<img src=\"https://raw.githubusercontent.com/practicalAI/practicalAI/master/images/colab.png\" width=170 align=\"right\">\n",
24+
"<a href=\"https://practicalai.me\"><img src=\"https://raw.githubusercontent.com/practicalAI/images/master/images/rounded_logo.png\" width=\"100\" align=\"left\" hspace=\"20px\" vspace=\"20px\"></a>\n",
2625
"\n",
26+
"<img src=\"https://raw.githubusercontent.com/practicalAI/images/master/images/00_Notebooks/colab.png\" width=\"200\" vspace=\"20px\" hspace=\"20px\" align=\"right\">\n",
27+
"\n",
28+
"<div align=\"left\">\n",
2729
"<h1>Notebook Basics</h1>\n",
2830
"\n",
29-
"In this lesson we will learn how to work with the **notebooks**. Notebooks are a great medium to visualize programming. We will use these notebooks to code in Python and learn the basics of machine learning."
31+
"In this lesson we will learn how to work with the **notebooks**. Notebooks are a great medium to visualize programming. We will use these notebooks to code in Python and learn the basics of machine learning.\n",
32+
"</div>"
3033
]
3134
},
3235
{
@@ -36,18 +39,15 @@
3639
"colab_type": "text"
3740
},
3841
"source": [
39-
"<table align=\"left\">\n",
42+
"<table align=\"center\">\n",
4043
" <td>\n",
41-
" <img src=\"https://raw.githubusercontent.com/practicalAI/practicalAI/master/images/practicalai_logo.png\" height=\"20\">\n",
42-
" <a target=\"_blank\" href=\"https://practicalai.me\">View on practicalAI</a>\n",
44+
"<img src=\"https://raw.githubusercontent.com/practicalAI/images/master/images/rounded_logo.png\" width=\"25\"><a target=\"_blank\" href=\"https://practicalai.me\"> View on practicalAI</a>\n",
4345
" </td>\n",
4446
" <td>\n",
45-
" <img src=\"https://raw.githubusercontent.com/practicalAI/practicalAI/master/images/colab_logo.png\" height=\"25\" />\n",
46-
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/practicalAI/practicalAI/blob/master/notebooks/00_Notebooks.ipynb\">Run in Google Colab</a>\n",
47+
"<img src=\"https://raw.githubusercontent.com/practicalAI/images/master/images/colab_logo.png\" width=\"25\"><a target=\"_blank\" href=\"https://colab.research.google.com/github/practicalAI/practicalAI/blob/master/notebooks/00_Notebooks.ipynb\"> Run in Google Colab</a>\n",
4748
" </td>\n",
4849
" <td>\n",
49-
" <img src=\"https://raw.githubusercontent.com/practicalAI/practicalAI/master/images/github_logo.png\" height=\"20\" />\n",
50-
" <a target=\"_blank\" href=\"https://github.com/practicalAI/practicalAI/blob/master/notebooks/00_Notebooks.ipynb\">View code on GitHub</a>\n",
50+
"<img src=\"https://raw.githubusercontent.com/practicalAI/images/master/images/github_logo.png\" width=\"22\"><a target=\"_blank\" href=\"https://github.com/practicalAI/practicalAI/blob/master/notebooks/00_Notebooks.ipynb\"> View code on GitHub</a>\n",
5151
" </td>\n",
5252
"</table>"
5353
]
@@ -69,9 +69,19 @@
6969
"colab_type": "text"
7070
},
7171
"source": [
72-
"1. Sign into your [Google](https://accounts.google.com/signin) account to start using the notebook.\n",
73-
"2. If you want to save your work, click the **COPY TO DRIVE** button on the toolbar. This will open the notebook in a new tab.\n",
72+
"1. Sign into your [Google](https://accounts.google.com/signin) account to start using the notebook. If you don't want to save your work, you can continue to run the notebook.\n",
73+
"2. If you do want to save your work, click the **COPY TO DRIVE** button on the toolbar. This will open a new notebook in a new tab.\n",
74+
"\n",
75+
"<div align=\"left\">\n",
76+
"&emsp;&emsp;<img src=\"https://raw.githubusercontent.com/practicalAI/images/master/images/00_Notebooks/copy_to_drive.png\" width=\"320\">\n",
77+
"</div>\n",
78+
"\n",
7479
"3. Rename this new notebook by removing the words `Copy of` from the title (change \"`Copy of 00_Notebooks`\" to \"`00_Notebooks`\").\n",
80+
"\n",
81+
"<div align=\"left\">\n",
82+
"&emsp;&emsp;<img src=\"https://raw.githubusercontent.com/practicalAI/images/master/images/00_Notebooks/rename.gif\" width=\"320\">\n",
83+
"</div>\n",
84+
"\n",
7585
"4. Now you can run the code, make changes and it's all saved to your personal Google Drive.\n"
7686
]
7787
},
@@ -117,7 +127,13 @@
117127
"colab_type": "text"
118128
},
119129
"source": [
120-
"To create a cell at a particular location, click on the desired location in the notebook and create a text cell by clicking on the **➕TEXT** (located in the top left corner). Once you create the cell, click on it and type the following inside it:\n",
130+
"To create a cell at a particular location, click on the desired location in the notebook and create a text cell by clicking on the **➕TEXT** (located in the top left corner). \n",
131+
"\n",
132+
"<div align=\"left\">\n",
133+
"<img src=\"https://raw.githubusercontent.com/practicalAI/images/master/images/00_Notebooks/add_text.png\" width=\"320\">\n",
134+
"<div align=\"left\">\n",
135+
"\n",
136+
"Once you create the cell, click on it and type the following inside it:\n",
121137
"\n",
122138
"\n",
123139
"```\n",
@@ -126,6 +142,17 @@
126142
"```"
127143
]
128144
},
145+
{
146+
"cell_type": "markdown",
147+
"metadata": {
148+
"id": "2O5EqrqbWBlH",
149+
"colab_type": "text"
150+
},
151+
"source": [
152+
"### This is a header\n",
153+
"Hello world!"
154+
]
155+
},
129156
{
130157
"cell_type": "markdown",
131158
"metadata": {
@@ -183,7 +210,11 @@
183210
"colab_type": "text"
184211
},
185212
"source": [
186-
"Once you create the cell, you can move it up and down by clicking on the sell and then pressig the ⬆️ and ⬇️ button on the top right of the cell. "
213+
"Once you create the cell, you can move it up and down by clicking on the cell and then pressing the ⬆️ and ⬇️ button on the top right of the cell. \n",
214+
"\n",
215+
"<div align=\"left\">\n",
216+
"<img src=\"https://raw.githubusercontent.com/practicalAI/images/master/images/00_Notebooks/move_cells.png\" width=\"500\">\n",
217+
"</div>"
187218
]
188219
},
189220
{
@@ -203,7 +234,11 @@
203234
"id": "vKrqxJEmTfQU"
204235
},
205236
"source": [
206-
"You can delete the cell by clicking on it and pressing the trash can button 🗑️ on the top right corner of the cell. Alternatively, you can also press ⌘/Ctrl + M + D."
237+
"You can delete the cell by clicking on it and pressing the trash can button 🗑️ on the top right corner of the cell. Alternatively, you can also press ⌘/Ctrl + M + D.\n",
238+
"\n",
239+
"<div align=\"left\">\n",
240+
"<img src=\"https://raw.githubusercontent.com/practicalAI/images/master/images/00_Notebooks/delete_cells.png\" width=\"500\">\n",
241+
"</div>"
207242
]
208243
},
209244
{
@@ -223,7 +258,17 @@
223258
"colab_type": "text"
224259
},
225260
"source": [
226-
"You can repeat the steps above to create, edit and delete a *code* cell. You can create a code cell by clicking on the ➕CODE (located in the top left corner). Once you have created the cell, click on it and type the following inside it:"
261+
"You can repeat the steps above to create, edit and delete a *code* cell. You can create a code cell by clicking on the ➕CODE (located in the top left corner).\n",
262+
"\n",
263+
"<div align=\"left\">\n",
264+
"<img src=\"https://raw.githubusercontent.com/practicalAI/images/master/images/00_Notebooks/add_code.png\" width=\"320\">\n",
265+
"</div>\n",
266+
"\n",
267+
"Once you have created the cell, click on it and type the following inside it and then press `Shift + Enter` to execute the code.\n",
268+
"\n",
269+
"```\n",
270+
"print (\"Hello world!\")\n",
271+
"```"
227272
]
228273
},
229274
{
@@ -254,26 +299,19 @@
254299
{
255300
"cell_type": "markdown",
256301
"metadata": {
257-
"id": "9ypRW8RiVZpW",
302+
"id": "MeE6daOaK8rb",
258303
"colab_type": "text"
259304
},
260305
"source": [
261306
"---\n",
262-
"<br>\n",
263-
"<img height=\"25\" src=\"https://raw.githubusercontent.com/practicalAI/practicalAI/master/images/twitter.gif\" align=\"left\" vspace=\"17px\" hspace=\"17px\">\n",
307+
"<div align=\"center\">\n",
308+
"\n",
309+
"Subscribe to our [newsletter](https://practicalai.me/#newsletter) and follow us on social media to get the latest updates! <br>\n",
264310
"\n",
265-
"Subscribe to our [newsletter](https://practicalai.me/#newsletter) and follow us on social media to get the latest updates! <br><div><a class=\"ai-header-badge\" target=\"_blank\" href=\"https://github.com/GokuMohandas/practicalAI\">\n",
266-
" <img src=\"https://img.shields.io/github/stars/GokuMohandas/practicalAI.svg?style=social&label=Star\">\n",
267-
" </a>&nbsp;\n",
268-
" <a class=\"ai-header-badge\" target=\"_blank\" href=\"https://www.youtube.com/channel/UCgW4K2UDK21kHIzxpjNos7Q\">\n",
269-
" <img src=\"https://img.shields.io/badge/style--5eba00.svg?label=Subscribe&logo=youtube&style=social\">\n",
270-
" </a>&nbsp;\n",
271-
" <a class=\"ai-header-badge\" target=\"_blank\" href=\"https://twitter.com/GokuMohandas\">\n",
272-
" <img src=\"https://img.shields.io/twitter/follow/GokuMohandas.svg?label=Follow&style=social\">\n",
273-
" </a>&nbsp;\n",
274-
" <a class=\"ai-header-badge\" target=\"_blank\" href=\"https://www.linkedin.com/company/practicalai-me\">\n",
275-
" <img src=\"https://img.shields.io/badge/style--5eba00.svg?label=LinkedIn&logo=linkedin&style=social\"></a>\n",
276-
" </div>"
311+
"<a class=\"ai-header-badge\" target=\"_blank\" href=\"https://github.com/GokuMohandas/practicalAI\"><img src=\"https://img.shields.io/github/stars/GokuMohandas/practicalAI.svg?style=social&label=Star\"></a>&nbsp;&nbsp;\n",
312+
"<a class=\"ai-header-badge\" target=\"_blank\" href=\"https://www.linkedin.com/company/practicalai-me\"><img src=\"https://img.shields.io/badge/style--5eba00.svg?label=LinkedIn&logo=linkedin&style=social\"></a>&nbsp;&nbsp;\n",
313+
"<a class=\"ai-header-badge\" target=\"_blank\" href=\"https://twitter.com/GokuMohandas\"><img src=\"https://img.shields.io/twitter/follow/GokuMohandas.svg?label=Follow&style=social\"></a>&nbsp;&nbsp;\n",
314+
"</div>"
277315
]
278316
}
279317
]

0 commit comments

Comments
 (0)