Skip to content

matthewdschulman/CIS419--Assignment4--TFIDF-and-Neural-Networks

Repository files navigation

#######################################################################################
# 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: Eric
LASTNAME:  Eaton
PENNKEY:   eeaton
PENNID:    123456

# Which course are you enrolled in?  (enter 419 or 519)
COURSE:  419 


# 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.1, 0.1, 0.1, 0.1, 0.1)

# Problem 2: What is the weight vector after the second epoch?  (only your final answer)
PROB_BACKPROPMOMENTUM_EPOCH2: (0.1, 0.1, 0.1, 0.1, 0.1)




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

# What was the training accuracy?
TEXT20NEWS_ACCURACY_TRAIN_NB: 123.45
TEXT20NEWS_ACCURACY_TRAIN_SVM: 123.45

# What was the testing accuracy?
TEXT20NEWS_ACCURACY_TEST_NB: 123.45
TEXT20NEWS_ACCURACY_TEST_SVM: 123.45

# What was the training precision?
TEXT20NEWS_PRECISION_TRAIN_NB: 123.45
TEXT20NEWS_PRECISION_TRAIN_SVM: 123.45

# What was the testing precision?
TEXT20NEWS_PRECISION_TEST_NB: 123.45
TEXT20NEWS_PRECISION_TEST_SVM: 123.45

# What was the training recall?
TEXT20NEWS_RECALL_TRAIN_NB: 123.45
TEXT20NEWS_RECALL_TRAIN_SVM: 123.45

# What was the testing recall?
TEXT20NEWS_RECALL_TEST_NB: 123.45
TEXT20NEWS_RECALL_TEST_SVM: 123.45

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

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




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

# What was the training accuracy?
NEURALNET_ACCURACY_TRAIN: 123.45

# What was the optimal learning rate?
NEURALNET_OPTIMAL_LEARNINGRATE: 123.45

 
 
 
#######################################################################################
# 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: |
    None
    

About

Text Classification and Neural Networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages