Coder Social home page Coder Social logo

neuralnet's Introduction

#######################################################################################
# README FILE
# Introduction to Machine Learning
# Assignment 4
#
# After completing the assignment, fill in this README file.  It asks you to duplicate
# your answer to several questions.  Be certain that your answers in this README file
# (which will be used for auto-grading) match the answers in your PDF writeup.
#
# This README file is formatted in YAML to allow it to be machine readable.  Please
# be very careful with how you edit it, being careful to following the formatting.
# Make certain not to change any text in all UPPERCASE.  After editing, you can make 
# certain that your README file follows proper YAML syntax by running it through an
# online YAML checker, such as http://yaml-online-parser.appspot.com/
# 
# The most frequent error is multi-line strings, such as "SOURCESCONSULTED" and 
# "FEEDBACK_ERRORS".  Make certain that the previous line ends with a | followed by a 
# newline.  Then, make certain that the subsequent lines are indented one level in 
# (4 spaces).  This sounds complex, but just follow the existing format of this file.
# If you run into any problems that you can't fix easily in listing your sources or 
# providing feedback on the assignment, just include your multi-line string answers to
# these parts as comments.  Everything else (all simple one-word or numeric answers) must
# be properly formatted YAML.
# 
# Assignment Version 20151026a
#######################################################################################

# Personal information (Be sure to change this!)
FIRSTNAME: Jihai
LASTNAME:  An
GTACCOUNT: jan61
GTID:      903056575

# List all sources of help that you consulted while completing this assignment 
# (other students, colleagues, textbooks, websites, etc.).  This includes anyone you 
# briefly discussed the homework with.  If you received help from the following sources, 
# you do not need to cite it: course instructor, course teaching assistants, course 
# lecture notes, course textbooks or other readings.
# 
# If you didn't receive help from anyone, write "none".

SOURCESCONSULTED: |
    While completing the assignment, I consulted the following sources: 
    Chapter 2 of Pattern Recognition and Machine Learning by C. Bishop
    Chapter 5 of Machine Learning, A Probabilistic Perspective by K. Murphy


 
####################################################################################### 
# Answers to Problem 2:  Backpropagation with Momentum
#
# Please list your final answers below for auto-grading.
#######################################################################################

# Problem 2: What is the weight vector after the first epoch?  (only your final answer)
PROB_BACKPROPMOMENTUM_EPOCH1: (0.0997, 0.1017, 0.0980, 0.0884, 0.0936)

# Problem 2: What is the weight vector after the second epoch?  (only your final answer)
PROB_BACKPROPMOMENTUM_EPOCH2: (0.1003, 0.0982, 0.1021, 0.1128, 0.1070)




#######################################################################################
# Answer to Implementation Exercise 1:  Text Classification
#######################################################################################

# What was the training accuracy?
TEXT20NEWS_ACCURACY_TRAIN_NB:  0.997171645749
TEXT20NEWS_ACCURACY_TRAIN_SVM:  0.994520063638

# What was the testing accuracy?
TEXT20NEWS_ACCURACY_TEST_NB:  0.833643122677 
TEXT20NEWS_ACCURACY_TEST_SVM: 0.83497079129 

# What was the training precision?
TEXT20NEWS_PRECISION_TRAIN_NB:  0.997245274751 
TEXT20NEWS_PRECISION_TRAIN_SVM:  0.994530643847 

# What was the testing precision?
TEXT20NEWS_PRECISION_TEST_NB:  0.832164181142 
TEXT20NEWS_PRECISION_TEST_SVM:  0.837717845394 

# What was the training recall?
TEXT20NEWS_RECALL_TRAIN_NB:  0.997049693621 
TEXT20NEWS_RECALL_TRAIN_SVM:  0.994345065586 

# What was the testing recall?
TEXT20NEWS_RECALL_TEST_NB:  0.827207410178 
TEXT20NEWS_RECALL_TEST_SVM:  0.827532661356 

# What was the training time (in seconds)?
TEXT20NEWS_TIME_TRAIN_NB: 0.19304895401 
TEXT20NEWS_TIME_TRAIN_SVM: 13.7523949146 

# Which classifier performed better overall?  (answer either NAIVEBAYES or SVM -- you can choose only one)
TEXT20NEWS_BESTCLASSIFIER: NAIVEBAYES




#######################################################################################
# Answer to Implementation Exercise 2:  Neural Network
#######################################################################################

# What was the training accuracy?
NEURALNET_ACCURACY_TRAIN:  0.9486 

# What was the optimal learning rate?
NEURALNET_OPTIMAL_LEARNINGRATE: 2

 
 
 
#######################################################################################
# Feedback on the Assignment (OPTIONAL)
# 
# The following information will help us improve future versions of this assignment.
# It is completely optional, but highly appreciated.  Please be honest.
#######################################################################################

# Approximately how many hours did it take you to complete this assignment?
FEEDBACK_NUM_HOURS: 0

# Please list any typos / errors you noticed in the assignment description or skeleton code
FEEDBACK_ERRORS: |
    None
 
# Please describe any problems you encountered while completing this assignment
FEEDBACK_PROBLEMS: |
    N/A
    

neuralnet's People

Contributors

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