Giter Site home page Giter Site logo

__nnfl__'s Introduction

Getting Started

Before you start the assignment you should set up your Python env. and get comfortable with using Jupyter notebooks. Though there are a lot of ways to do this, we reccommend you to do it using the Anaconda distribution.

Setting up Your Python Environment

  1. Download and install Anaconda's Python 3.7 version on your computers from here. It is available for all 3 platforms - Windows, macOS and Linux.
  2. It will install Jupyter notebook on your system and download all the Python libraries that you'll need for this assignment.

Jupyter Notebooks

  1. To run the notebook, run the following command -
jupyter notebook

at the Terminal(Mac/Linux). For Windows type the same command in the Anaconda Prompt( Anaconda command prompt is just like command prompt,but it makes sure that you are able to use anaconda and conda commands from the prompt, without having to change directories or your path). Type Anaconda Prompt in the search bar or just directly search for Jupyter Notebooks on your system.

  1. You should see the notebook open in your browser. Creating a new Jupyter Notebook is easy, just use the "New" dropdown menu and click on "Python 3". Try to experiment and play around with things by yourselves.

  2. Something key to be aware of: Jupyter Notebooks have two different keyboard input modes:

    • Command mode - binds the keyboard to notebook level actions. Indicated by a grey cell border with a blue left margin.
    • Edit mode - when you’re typing in a cell. Indicated by a green cell border.

Command Mode

  • shift + enter run cell, select below
  • ctrl + enter run cell
  • option + enter run cell, insert below
  • A insert cell above
  • B insert cell below
  • C copy cell
  • V paste cell
  • D + D (press the key twice) delete selected cell
  • option + enter merge selected cells, or current cell with cell below if only one is selected.
  • I + I interrupt kernel
  • Y change cell to code mode
  • M change cell to markdown mode (for good documentation)

Edit Mode

  • cmd + click for multi-curso editing
  • tab code completion or indent
  • shift + tab show documentation
  • ctrl + shift + - split cell

Command Palette

Press cmd + shift + P for quick access to all commands in Jupyter notebooks and press H (in command mode) to viewa all keyboard shortcuts.

Switching b/w the Command and Edit Mode

  • The edit mode is entered if you click into the code area of that cell. This mode is indicated by a green border on the left side of the cell.
  • If you’d like to leave edit mode and return to command mode again you just need to hit ESC .
  • Enter will take you from command mode back into edit mode for the given cell.

How to Practice

Open a blank jupyter notebook and using the workshop's notebooks as a reference, write (do not just copy and paste) and run the code in the blank. This will help you to get comfortable with all the data structures and ideas that you'll need for the assignment. Feel free to exploit the internet for your doubts.

Contact

In case you have doubts, please write an email to [email protected]!

__nnfl__'s People

Contributors

achalagarwal avatar wvik avatar kabirahuja2431 avatar ban-zee avatar suvigyavijay avatar bitsnnfl avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.