Code Monkey home page Code Monkey logo

project1-decision-trees's Introduction

Project 1: Decision trees

(Keep an eye to this document on github. This will continue to be updated!)

About this homework

In this homework, you will be introduced to some basic machine learning concepts and be asked to implement and investigate decision trees. The homework will be divided into three parts.

Part A - Warm up to decision trees

In the first part of this assignment, you will be tasked to familiarize yourself with some machine learning concepts. You will also get some hands on experience with Jupyter notebooks and Python and implement a simple decision tree.

Follow the instructions in, and complete assignment_1a.ipynb.

Part B - Predicting survival of Titanic passengers with decision trees

In the second part of this assignment, you will apply the decision tree that you have implemented to a dataset we have prepared for you. Given a set of attributes of a Titanic passanger, you have to predict whether or not the given passenger survived!

Follow the instructions in, and complete assignment_1b.ipynb.

Part C - Information gain for decision trees

In the third part of the assignment, you will implement code to support the use of the information gain splitting criterion for decision tree learning.

Follow the instructions in, and complete assignment_1c.ipynb.

Files you will edit and submit

  • assignment_1a.ipynb: Will be your edited copy of this notebook pertaining to part 1a of the assignment
  • dumbClassifiers.py: This contains a handful of "warm up" classifiers to get you used to our classification framework.
  • dt.py: Will be your simple implementation of a decision tree classifier
  • assignment_1b.ipynb: Will be your edited copy of this notebook pertaining to part 1b of the assignment
  • titanic-features.py: This contains some functions to help you apply a decision tree to the Titanic dataset
  • assignment_1c.ipynb: Will be your edited copy of this notebook pertaining to part 1c of the assignment

project1-decision-trees's People

Contributors

kevinniechen avatar jdkanu avatar thejasonfan 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.