GithubHelp home page GithubHelp logo

cscn8010's Introduction

Welcome ot the CSCN8010 course repository. This is where the course notebooks will be (specifically, they will be in the class_notebooks folder. This is what the instructor will present in class)

Setup

  1. You are welcome to fork this repository, to get your own copy on your own personal account. Clone this fork to your laptop.
  2. It is advised to create a new folder which will contain the class notebooks with your own editions. This way, you will have the original notebooks in the class_notebooks and your modified notebooks in your own folder. This is helpful specifically since the files are Jupyter notebooks, whose metadata and cell outputs can make git diff for syncing changes a bit of a mess sometimes.
  3. Create a virtual environment, run the following commands from the root folder:
    1. Initialize a virtual environment: python -m venv venv/CSCN8010_classic_ml
    2. Activate the virtual environment:
      1. Linux or Mac: source ./venv/CSCN8010_classic_ml/bin/activate
      2. Windows Powershell: .\venv\CSCN8010_classic_ml\Scripts\Activate.ps1
    3. Install the Python packages: pip install -r requirements.txt
    4. Install ipykernel: python -m ipykernel install --user --name=CSCN8010_classic_ml --display-name=CSCN8010_classic_ml
  4. Setting Up vscode to work with Notebooks and Virtual Environments:
    1. vscode needs to be restarted after setting up the virtual environments for the first time. Otherwise, the environments will not be visible in vscode.
    2. To run Python notebooks in vscode, you first need to install the Python extension by Microsoft (done via the Extensions menu on the left sidebar).
    3. Then, open a notebook and set the right kernel (either python_cpu or tensorflow_cpu, depending of what the notebook is using). Setting the kernel is done on the top right side in vscode.
    4. Note that if you see wiggly orange lines below the package names in the import statement, change the interpreter to that of the virtual environment by typing in the command-palette Python: Select Interpreter (stackoverflow).
  5. Test your environment by running the test file in the class_notebooks folder.

cscn8010's People

Contributors

ranfeldesh 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.