Skip to content

Commit 0c4c42a

Browse files
committed
clean and doc
clean and doc
1 parent 441c86c commit 0c4c42a

7 files changed

+620
-321
lines changed

Chapter_1/data_augmentation_with_python_chapter_1.ipynb

Lines changed: 57 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"metadata": {
55
"colab": {
66
"provenance": [],
7-
"authorship_tag": "ABX9TyMQ+1o267nUQYSR0kPcdzHU",
7+
"authorship_tag": "ABX9TyMC2dGPK2A6zyHMp+8cnqEg",
88
"include_colab_link": true
99
},
1010
"kernelspec": {
@@ -38,7 +38,9 @@
3838
"\n",
3939
"I am glad to see you using this Python Notebook. 🐕\n",
4040
"\n",
41-
"The Python Notebook is an integral part of the book. You can add new “code cells” to extend the functions, add your data, and explore new possibilities, such as downloading additional real-world datasets from the Kaggle website and coding the **Fun challenges**. The **Fun facts**, an in-depth discussion of the augmentation methods, and Pluto, an imaginary Siberian Huskey coding companion, will guide you step by step. Pluto encourages adding “text cells” to keep your note in the Python Notebook. In other words, read the book and copy the relevant concept to this Python Notebook’s text-cells. Thus, you can have the explanation, note, original code, your code, and any crazy future ideas in one place. \n",
41+
"The Python Notebook is an integral part of the book. You can add new “code cells” to extend the functions, add your data, and explore new possibilities, such as downloading additional real-world datasets from the Kaggle website and coding the **Fun challenges**. Furthermore, the book has **Fun facts**, in-depth discussion about augmentation techniques, and Pluto, an imaginary Siberian Huskey coding companion. Together they will guide you every steps of the way. \n",
42+
"\n",
43+
"Pluto encourages you to copy or save a copy of this Python Notebook to your local space and add the “text cells” to keep your notes. In other words, read the book and copy the relevant concept to this Python Notebook’s text-cells. Thus, you can have the explanation, note, original code, your code, and any crazy future ideas in one place. \n",
4244
"\n",
4345
"\n",
4446
"💗 I hope you enjoy reading the book and hacking code as much as I enjoy writing it. \n",
@@ -68,7 +70,7 @@
6870
{
6971
"cell_type": "markdown",
7072
"source": [
71-
"## 😀 Excerpt from Chapter 1, Data Augmentation Made Easy\n",
73+
"# 😀 Excerpt from Chapter 1, Data Augmentation Made Easy\n",
7274
"\n",
7375
"---\n",
7476
"\n",
@@ -131,10 +133,22 @@
131133
"!git --version"
132134
],
133135
"metadata": {
134-
"id": "AEoYuTg6y1YN"
136+
"id": "AEoYuTg6y1YN",
137+
"outputId": "cccbac02-c13f-45d9-878a-89bb8121d7e9",
138+
"colab": {
139+
"base_uri": "https://localhost:8080/"
140+
}
135141
},
136142
"execution_count": null,
137-
"outputs": []
143+
"outputs": [
144+
{
145+
"output_type": "stream",
146+
"name": "stdout",
147+
"text": [
148+
"git version 2.25.1\n"
149+
]
150+
}
151+
]
138152
},
139153
{
140154
"cell_type": "code",
@@ -143,10 +157,28 @@
143157
"!git clone {url}"
144158
],
145159
"metadata": {
146-
"id": "BgGgEP3SytI4"
160+
"id": "BgGgEP3SytI4",
161+
"outputId": "76f8653b-22b2-431e-bb30-2cf284bf6ce8",
162+
"colab": {
163+
"base_uri": "https://localhost:8080/"
164+
}
147165
},
148166
"execution_count": null,
149-
"outputs": []
167+
"outputs": [
168+
{
169+
"output_type": "stream",
170+
"name": "stdout",
171+
"text": [
172+
"Cloning into 'Data-Augmentation-with-Python'...\n",
173+
"remote: Enumerating objects: 126, done.\u001b[K\n",
174+
"remote: Counting objects: 100% (104/104), done.\u001b[K\n",
175+
"remote: Compressing objects: 100% (85/85), done.\u001b[K\n",
176+
"remote: Total 126 (delta 52), reused 54 (delta 18), pack-reused 22\u001b[K\n",
177+
"Receiving objects: 100% (126/126), 4.28 MiB | 6.78 MiB/s, done.\n",
178+
"Resolving deltas: 100% (52/52), done.\n"
179+
]
180+
}
181+
]
150182
},
151183
{
152184
"cell_type": "code",
@@ -242,10 +274,26 @@
242274
"pluto = PacktDataAug(\"Pluto\")"
243275
],
244276
"metadata": {
245-
"id": "rtOsxJVNC8AV"
277+
"id": "rtOsxJVNC8AV",
278+
"outputId": "7a4fdf04-6d36-44bd-ce42-3d55246b00ba",
279+
"colab": {
280+
"base_uri": "https://localhost:8080/"
281+
}
246282
},
247283
"execution_count": null,
248-
"outputs": []
284+
"outputs": [
285+
{
286+
"output_type": "stream",
287+
"name": "stdout",
288+
"text": [
289+
"---------------------------- : ----------------------------\n",
290+
" Hello from class : <class '__main__.PacktDataAug'> Class: PacktDataAug\n",
291+
" Code name : Pluto\n",
292+
" Author is : Duc Haba\n",
293+
"---------------------------- : ----------------------------\n"
294+
]
295+
}
296+
]
249297
},
250298
{
251299
"cell_type": "code",

Chapter_2/data_augmentation_with_python_chapter_2.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,14 @@
1818
"source": [
1919
"# 🌻 Welcome to Chapter 2, Biases In Data Augmentation\n",
2020
"\n",
21-
"\n",
22-
"\n",
2321
"---\n",
2422
"\n",
2523
"I am glad to see you using this Python Notebook. 🐕\n",
2624
"\n",
27-
"The Python Notebook is an integral part of the book. You can add new “code cells” to extend the functions, add your data, and explore new possibilities, such as downloading additional real-world datasets from the Kaggle website and coding the **Fun challenges**. The **Fun facts**, an in-depth discussion of the augmentation methods, and Pluto, an imaginary Siberian Huskey coding companion, will guide you step by step. \n",
25+
"The Python Notebook is an integral part of the book. You can add new “code cells” to extend the functions, add your data, and explore new possibilities, such as downloading additional real-world datasets from the Kaggle website and coding the **Fun challenges**. Furthermore, the book has **Fun facts**, in-depth discussion about augmentation techniques, and Pluto, an imaginary Siberian Huskey coding companion. Together they will guide you every steps of the way. \n",
26+
"\n",
27+
"Pluto encourages you to copy or save a copy of this Python Notebook to your local space and add the “text cells” to keep your notes. In other words, read the book and copy the relevant concept to this Python Notebook’s text-cells. Thus, you can have the explanation, note, original code, your code, and any crazy future ideas in one place. \n",
2828
"\n",
29-
"Pluto encourages adding “text cells” to keep your note in the Python Notebook. In other words, read the book and copy the relevant concept to this Python Notebook’s text-cells. Thus, you can have the explanation, note, original code, your code, and any crazy future ideas in one place. \n",
3029
"\n",
3130
"💗 I hope you enjoy reading the book and hacking code as much as I enjoy writing it. \n",
3231
"\n",
@@ -44,6 +43,7 @@
4443
"\n",
4544
"\n",
4645
"- The original Python Notebook is on: \n",
46+
"\n",
4747
" - https://github.com/PacktPublishing/Data-Augmentation-with-Python/blob/main/Chapter_2/data_augmentation_with_python_chapter_2.ipynb \n",
4848
"\n",
4949
"- 🚀 Click on the blue \"Open in Colab\" button at the top of this page to begin hacking.\n"
@@ -1609,7 +1609,7 @@
16091609
"colab": {
16101610
"provenance": [],
16111611
"toc_visible": true,
1612-
"authorship_tag": "ABX9TyOfZ1nzgrtjaM880qG1Jq2d",
1612+
"authorship_tag": "ABX9TyMKvpxiMyAgoI2S17vYEgTx",
16131613
"include_colab_link": true
16141614
},
16151615
"gpuClass": "standard",

0 commit comments

Comments
 (0)