Giter VIP home page Giter VIP logo

cs451-practicals's Introduction

CS451-practicals

Practical Assignments (just starter code) for CS451: Machine Learning

To Fork or not to fork?

I am not bothered if you fork and push your solutions to github; none of these practicals are supposed to be overly complex.

I recommend it, actually for most setups.

Opening in repl.it

The repl.it link to this repo is here: https://repl.it/@jjfoley/cs451-practicals

... although you may want to fork it first on github and open your link instead, if you want your changes to exist on github outside of repl.it: repl.it has no way to adjust the git references later, AFAICT.

Setting up a virtualenv: (MacOS / *nix)

python3 -m venv venv
source venv/bin/activate
pip install -U pip # update pip
pip install black # the formatter repl.it and I really like
pip install -r requirements.txt

Setting up a virtualenv: Windows 10

Install Python from https://www.python.org/downloads/windows/ Make sure you allow it to edit your path and install the 'py' launcher.

In POWERSHELL:

py -m venv venv
& venv/Scripts/Activate.ps1 # may need to change permissions
pip.exe install -U pip # update pip
pip.exe install black # the formatter repl.it and I really like
pip.exe install -r requirements.txt

Note that pip is a script on Windows which likely points to your global python and not the local virtualenv we just created.

I had to change the execution policy, a security setting; theoretically this leaves you less safe, as it will allow you to run powershell without admin privileges... I think. You can read about alternatives here on StackOverflow.

Set-ExecutionPolicy Unrestricted -Force -Scope CurrentUser

Setting up in vscode

I recommend the following plugins:

  • Python
  • Pyright (static type checker for python)
  • Error Lens (the one with the most stars: usernamehw.errorlens)

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.