Skip to content

Commit

Permalink
added local setup notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
GokuMohandas committed Mar 14, 2020
1 parent 0e9bfce commit a3742cc
Show file tree
Hide file tree
Showing 53 changed files with 320 additions and 115 deletions.
45 changes: 0 additions & 45 deletions CHANGES.md

This file was deleted.

3 changes: 1 addition & 2 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# @GokuMohandas is the code owner for
# practicalAI and should review any PRs
# @GokuMohandas is the code owner
* @GokuMohandas

data/ @GokuMohandas
Expand Down
7 changes: 3 additions & 4 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# practicalAI Code of Conduct
# Code of Conduct

## Our Pledge

Expand Down Expand Up @@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting practicalAI at [email protected] . All
reported by contacting Made With ML at [email protected] . All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand All @@ -67,5 +67,4 @@ members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html]
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html), version 1.4.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Contributing to practicalAI
Thank you for wanting to contribute to practicalAI. All PRs will need to be approved so please follow the guidelines below.
# Contributing
Thank you for wanting to contribute to these lessons. All PRs will need to be approved so please follow the guidelines below.

## Notebook PRs
If you're viewing the notebook on Goole Colaboratory then follow these instructions:
1. Click the **COPY TO DRIVE** button on the toolbar. This will open the notebook on a new tab.
2. Rename this new notebook by removing the words `Copy of` from the title (change "`Copy of 00_Notebooks`" to "`00_Notebooks`").
2. Rename this new notebook by removing the words `Copy of` from the title (change "`Copy of 01_Notebooks`" to "`01_Notebooks`").
3. Now you can run the code, make changes, etc. and it's all automatically saved to your personal Google Drive.
4. After making your changes, *Runtime* >> *Restart runtime...* to get rid of executed cell numbers.
5. Then go to *File* >> *Download .ipynb* to download the notebook as an IPython notebook.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 practicalAI
Copyright (c) 2020 Made With ML

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
66 changes: 30 additions & 36 deletions README.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions notebooks/01_Foundations/01_Notebooks.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"name":"01_Notebooks","provenance":[{"file_id":"https://github.com/madewithml/lessons/blob/master/notebooks/00_Foundations/01_Notebooks.ipynb","timestamp":1582558986814}],"collapsed_sections":[],"toc_visible":true},"kernelspec":{"name":"python3","display_name":"Python 3"}},"cells":[{"cell_type":"markdown","metadata":{"id":"pa5_r2M_ZzLG","colab_type":"text"},"source":["# Notebooks\n","\n","In this lesson we'll learn how to work with **notebooks**. Notebooks enable interactive and visual computing which makes it a great learning tool. We'll use notebooks to code in Python and learn the basics of machine learning."]},{"cell_type":"markdown","metadata":{"id":"orR8HhgnPY1U","colab_type":"text"},"source":["<div align=\"left\">\n","<a href=\"https://github.com/madewithml/lessons/blob/master/notebooks/00_Foundations/01_Notebooks.ipynb\" role=\"button\"><img class=\"notebook-badge-image\" src=\"https://img.shields.io/static/v1?label=&amp;message=View%20On%20GitHub&amp;color=586069&amp;logo=github&amp;labelColor=2f363d\"></a>&nbsp;\n","<a href=\"https://colab.research.google.com/github/madewithml/lessons/blob/master/notebooks/00_Foundations/01_Notebooks.ipynb\"><img class=\"notebook-badge-image\" src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"></a>\n","</div>"]},{"cell_type":"markdown","metadata":{"id":"-Nsq7J22UOGO","colab_type":"text"},"source":["# Set Up"]},{"cell_type":"markdown","metadata":{"id":"Re6q2zNfUGJw","colab_type":"text"},"source":["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 skip the steps below.\n","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","\n","<div align=\"left\">\n","&emsp;&emsp;<img src=\"https://raw.githubusercontent.com/madewithml/images/master/00_Foundations/01_Notebooks/copy_to_drive.png\" width=\"320\">\n","</div>\n","\n","3. Rename this new notebook by removing the words `Copy of` from the title (change \"`Copy of 01_Notebooks`\" to \"`01_Notebooks`\").\n","\n","<div align=\"left\">\n","&emsp;&emsp;<img src=\"https://raw.githubusercontent.com/madewithml/images/master/00_Foundations/01_Notebooks/rename.gif\" width=\"320\">\n","</div>\n","\n","4. Now you can run the code, make changes and it's all saved to your personal Google Drive.\n"]},{"cell_type":"markdown","metadata":{"id":"cOEaLCZAu4JQ","colab_type":"text"},"source":["# Types of cells"]},{"cell_type":"markdown","metadata":{"id":"WcOgqq5xvtMn","colab_type":"text"},"source":["Notebooks are made up of cells. Each cell can either be a **code cell** or a **text cell**. \n","\n","* **code cell**: used for writing and executing code.\n","* **text cell**: used for writing text, HTML, Markdown, etc.\n","\n","\n"]},{"cell_type":"markdown","metadata":{"id":"tBVFofpLutnn","colab_type":"text"},"source":["# Creating cells"]},{"cell_type":"markdown","metadata":{"id":"CfSTXDx9LClf","colab_type":"text"},"source":["First, let's create a text cell. Click on a desired location in the notebook and create the cell by clicking on the **➕TEXT** (located in the top left corner). \n","\n","<div align=\"left\">\n","<img src=\"https://raw.githubusercontent.com/madewithml/images/master/00_Foundations/01_Notebooks/add_text.png\" width=\"320\">\n","<div align=\"left\">\n","\n","Once you create the cell, click on it and type the following text inside it:\n","\n","\n","```\n","### This is a header\n","Hello world!\n","```"]},{"cell_type":"markdown","metadata":{"id":"2O5EqrqbWBlH","colab_type":"text"},"source":["### This is a header\n","Hello world!"]},{"cell_type":"markdown","metadata":{"id":"iXYgZpgpYS3N","colab_type":"text"},"source":["# Running cells"]},{"cell_type":"markdown","metadata":{"id":"8og2NZxaO7Nj","colab_type":"text"},"source":["Once you type inside the cell, press the **SHIFT** and **RETURN** (enter key) together to run the cell."]},{"cell_type":"markdown","metadata":{"id":"WKTbiBuvYexD","colab_type":"text"},"source":["# Editing cells"]},{"cell_type":"markdown","metadata":{"id":"J_kM3zBEO9Zp","colab_type":"text"},"source":["To edit a cell, double click on it and make any changes."]},{"cell_type":"markdown","metadata":{"id":"Jv0ZSuhNYVIU","colab_type":"text"},"source":["# Moving cells"]},{"cell_type":"markdown","metadata":{"id":"pv3XtKpLPAY6","colab_type":"text"},"source":["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","\n","<div align=\"left\">\n","<img src=\"https://raw.githubusercontent.com/madewithml/images/master/00_Foundations/01_Notebooks/move_cells.png\" width=\"500\">\n","</div>"]},{"cell_type":"markdown","metadata":{"id":"B_VGiYf8YXiU","colab_type":"text"},"source":["# Deleting cells"]},{"cell_type":"markdown","metadata":{"colab_type":"text","id":"vKrqxJEmTfQU"},"source":["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","\n","<div align=\"left\">\n","<img src=\"https://raw.githubusercontent.com/madewithml/images/master/00_Foundations/01_Notebooks/delete_cells.png\" width=\"500\">\n","</div>"]},{"cell_type":"markdown","metadata":{"id":"hxl7Fk8LVQmR","colab_type":"text"},"source":["# Creating a code cell\n"]},{"cell_type":"markdown","metadata":{"id":"lnvxXte0PB0p","colab_type":"text"},"source":["You can repeat the steps above to create and edit a *code* cell. You can create a code cell by clicking on the ➕CODE (located in the top left corner).\n","\n","<div align=\"left\">\n","<img src=\"https://raw.githubusercontent.com/madewithml/images/master/00_Foundations/01_Notebooks/add_code.png\" width=\"320\">\n","</div>\n","\n","Once you've created the code cell, double click on it, type the following inside it and then press `Shift + Enter` to execute the code.\n","\n","```\n","print (\"Hello world!\")\n","```"]},{"cell_type":"code","metadata":{"id":"DfGf9KmQ3DJM","colab_type":"code","outputId":"2ec9fcb8-e2e9-4b65-e27f-f6229d77c3c0","colab":{"base_uri":"https://localhost:8080/","height":34}},"source":["print (\"Hello world!\")"],"execution_count":0,"outputs":[{"output_type":"stream","text":["Hello world!\n"],"name":"stdout"}]},{"cell_type":"markdown","metadata":{"id":"r2w9xzDkuAXw","colab_type":"text"},"source":["These are the basic concepts you'll need to use these notebooks but we'll learn few more tricks in subsequent lessons."]},{"cell_type":"markdown","metadata":{"id":"MeE6daOaK8rb","colab_type":"text"},"source":["---\n","Share and discover ML projects at <a href=\"https://madewithml.com/\">Made With ML</a>.\n","\n","<div align=\"left\">\n","<a class=\"ai-header-badge\" target=\"_blank\" href=\"https://github.com/madewithml/lessons\"><img src=\"https://img.shields.io/github/stars/madewithml/lessons.svg?style=social&label=Star\"></a>&nbsp;\n","<a class=\"ai-header-badge\" target=\"_blank\" href=\"https://www.linkedin.com/company/madewithml\"><img src=\"https://img.shields.io/badge/style--5eba00.svg?label=LinkedIn&logo=linkedin&style=social\"></a>&nbsp;\n","<a class=\"ai-header-badge\" target=\"_blank\" href=\"https://twitter.com/madewithml\"><img src=\"https://img.shields.io/twitter/follow/madewithml.svg?label=Follow&style=social\"></a>\n","</div>"]}]}
1 change: 1 addition & 0 deletions notebooks/01_Foundations/02_Python.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions notebooks/01_Foundations/03_NumPy.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions notebooks/01_Foundations/04_Pandas.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions notebooks/01_Foundations/05_TensorFlow.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions notebooks/01_Foundations/06_PyTorch.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit a3742cc

Please sign in to comment.