GithubHelp home page GithubHelp logo

decision-tree-neural-network-in-python's Introduction

Decision-Tree-Neural-Network-in-Python

*** Please navigate to the link provided below if you can't open .ipynb file ***

https://nbviewer.jupyter.org/github/kotexan/Decision-Tree-Neural-Network-in-Python/blob/master/Machine_Learning_Assignment_2.ipynb

About Dataset:

  • MNIST data, a dataset of thousands of images of handwritten digits. Each image is 28 pixels in height and 28 pixels in width, for a total of 784 pixels in total. Each pixel has a single pixel-value associated with it, indicating the lightness or darkness of that pixel, with higher numbers meaning darker. This pixel-value is an integer between 0 and 255, inclusive. The data set has 785 columns. The first column, called "label", is the digit that was drawn by the user. The rest of the columns contain the pixel-values of the associated image.” mnist.csv file contains 10k samples of images, you have equal number of samples belonging to each label (i.e 1k samples of label ‘0’, 1k samples of label ‘1’ and so on).

Tasks:

  1. Took random sample of 100 instances out of each label (1,000 instances in total).
  2. Applied Decision Tree and Multi-Layer Perceptron methods on the whole dataset as training dataset, and calculated the training and test accuracy for each method.
  3. Applied k-fold cross validation using the sampled dataset generated in task 1. Performed the k-fold cross validation using the following values: k=2, and k=4.

PDF File

  • It represents how Decision Tree and Candidate Elimination algorithms work.

decision-tree-neural-network-in-python's People

Contributors

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