Git Product home page Git Product logo

cs7641a1's Introduction

OMSCS CS7641 Assignment 1 - Supervised Learning

The first assignment for the OMSCS machine learning class, in which I implement (steal) a ML library and muck around with it. Specifically, I steal scikit-learn (BSD License) since it handily implements all of the required functionality. Namely,

  • Decision Trees
  • Neural Networks
  • Gradient Boosting
  • Support Vector Machines
  • k-Nearest Neighbors

Setup

I'm writing and testing all of this using Python 3.7.2, so you'll need to have that (other python versions >=3.4 may work, but no guarantees). The instructions for getting it vary by OS and by distribution within each OS. The general idea is to use the standard package manager for whatever you use. But this should help if you're feeling lost.

You should also get the code:

$ git clone https://github.com/astex/cs7641a1 .

There are a number of ways you can install the required libraries. I personally prefer to use a virtual environment so that the dependencies of my project stay isolated from any software needed elsewhere on the system. Some folks of a more scientific bent may prefer conda. But, the simplest way I can think of is this (run from the project directory):

$ pip install -r builddeps.txt
$ pip install -r deps.txt

Running

Everything you need in order to generate the plots is included, so you can go ahead and run the scripts.

$ python -m src.california.main all; python -m src.imdb.main all;

This will take around a day to execute and will use an awful lot of memory and processing power. Alternatively, you can regenerate specific plots by passing a list of plot names instead of all. You can see the plot names in the applications' help texts:

$ python -m src.california.main -h
$ python -m src.imdb.main -h

License

This is a homework assignment, not production software. You may run it and look at it, but may not redistribute it or use it in any system for any reason.

cs7641a1's People

Contributors

astex avatar

Watchers

 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.