Giter Club home page Giter Club logo

nyu-ai-project-01's Introduction

Open In Colab

// AI Project 01 //

// Kaggle CareerCon 2019: Help Navigate Robots

// Student Name:

  • Justin Snider

// Student NetID:

  • js10853

// Student Univ ID:

  • N17359442

// Dataset From NYU Faculty:

  • y_train_new.csv
  • X_train_new.csv
  • y_test_new.csv
  • X_test_new.csv

// File:

  • AI_Project_01.ipynb

// 06 Conclusions //

Settings:

  • Epochs: 200
    • If we increase the number the model is over trained. The predictions become very bad for any new data.
    • If we decrease the number the model does not reach the high point of 95% correct predictions.
  • Learning Rate: 0.012
    • The learning rate is very important. With a value of 0.012 we are able to get 95% correct predictions. However, anything larger or smaller will peak at a lower correct prediction rate.
    • Using typical values and a neural network with less layers and less nodes we originally had a prediction rate of about 80%. We are able to increase this prediction rate to 95% by optimizing the settings.

Data:

  • Using the orginal data with no abstracted stats gave a prediction rate of around 50% correct.
  • Using instead the stats we abstracted from the raw sequence data boosted our test prediction rate from around 50% up to around 80%.

Reasons to use a Neural Network Model:

  • There are distinct distributions visible when comparing our stats between materials for all of our attributes.
  • However, the large number of attributes suggests we need to use a method with gradient descent, rather than a closed form normal equation.
  • The complex overlap between values in the set suggests we will need a realatively complex model rather than a simple one. A nerual network would be a good direction to go.

Neural Network Design:

  • We use softmax to output our final estimated probability helping us to decide our classification.
  • We use the Negative Log Likelihood Loss function
  • Use the linear type layer since we have distinct statistics that do not have time based relationships to scan for.
  • We use the rectified linear activation function.

Neural Network:

  • Much of the neural network is standard based on our number of inputs, type of data, and 9 class mutually exclusive classification output.
  • We made a few changes that improved the prediction rate.
    • We increased the number of hidden layers from 1 to 2.
    • Adding 3 or 4 middle layers resulted in overfitting the model so we went back to 2.
    • We increased the number of nodes on the hidden layers.
    • Increasing the nodes to the maximum number possible resulted in overfitting so we went back to the current settings.
  • Together with improving the settings (such as learning rate and epoch count) the updated neural network improved prediction rates on the test set from 80% to 95%.

Results:

stats graph

nyu-ai-project-01's People

Contributors

sniderjustin avatar

Watchers

 avatar  avatar

Forkers

pantelis

nyu-ai-project-01's Issues

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.