Develop a script to generate the necessary training

Assignment Help JAVA Programming
Reference no: EM131681976

PART 1: CLASSIFICATION WITH NEURAL NETWORKS

This part involves the following file:
heart-v.arff
in the directory:
/KDrive/SEH/SCSIT/Students/Courses/COSC2111/DataMining/data/arff/UCI/

For the neural network training runs build a table with the following headings:

1. Describe the data encoding that is required for this task. How many outputs and how many inputs will there be?

2. Develop a script to generate the necessary training, validation and test files. You might want to normalize the numeric attributes with Weka beforehand.

3. Using Javanns carry out 5 train and rest runs for a network with 10 hidden nodes. Comment on the variation in the training runs and the degree of overfit- ting.

4. Experiment with different numbers of hidden nodes. What seems to be the right number of hidden nodes for this problem?

5. For 10 hidden nodes, explore different values of the learning rate. What do you conclude?

6. [Optional] Change the learning function to backprop-momentum. Explore dif- ferent combinations of learning rate and momentum. What do you conclude?

7. Perform a run with 10 hidden nodes and no validation data. Stop training when the MSE is no longer changing. Get the classification error on the training and test data. Comment on the degree of overfitting.

8. Compare the classification accuracy of the neural classifiers with the classifica- tion accuracy of Weka J48 and MultilayerPerceptron.

Submit: Up to one page that describes what you did for each of the above ques- tions and your results and conclusions. Include your data preparation script as an appendix (not part of the page count).

PART 2: NUMERIC PREDICTION WITH NEURAL NETWORKS

This part involves the following file:

heart-v.arff
in the directory:
/KDrive/SEH/SCSIT/Students/Courses/COSC2111/DataMining/data/arff/UCI/

The task is to predict the value of the Age variable.

Build a similar table of runs to the one in the previous question.

1. Describe the data encoding that is required for this task. How many outputs and how many inputs will there be? What scaling or normalization is required?

2. Modify your script from part 1 to generate the necessary training, validation and test files.

3. Using Javanns carry out 5 train and rest runs for a network with 5 hidden nodes. Comment on the variation in the training runs and the degree of overfitting.
For this and subsequent tasks you can work with the network error directly. There is no need to re-scale the network outputs to the original range.

4. Experiment with different numbers of hidden nodes. What seems to be the right number of hidden nodes for this problem?

5. For 5 hidden nodes, explore different values of the learning rate. What do you conclude?

6. [Optional] Change the learning function to backprop-momentum. Explore dif- ferent combinations of learning rate and momentum. What do you conclude?

7. Perform a run with 5 hidden nodes and no validation data. Stop training when the MSE is no longer changing. Get the classification error on the training and test data. Comment on the degree of overfitting.

8. Compare the classification accuracy of the neural classifiers with the classifica- tion accuracy of Weka M5P and MultiLayerPerceptron..
Submit: Up to one page that describes what you did for each of the above ques- tions and your results and conclusions. Include your data preparation script as an appendix (not part of the page count).

PART 3: DATA MINING

Choose EITHER the bank data OR the movies data.

The relevant files are: bank-full.csv bank-names.txt
OR
IMDB-movie-data.csv
in the directory
/KDrive/SEH/SCSIT/Students/Courses/COSC2111/DataMining/data/other

The bank data is related to direct marketing campaigns of a Portuguese banking in- stitution. The marketing campaigns were based on phone calls. Often, more than one contact to the same client was required, in order to access if the product (bank term deposit) would be (or not) subscribed.

The movie data is was collected from the IMDb web site which claims to be "the world's most popular and authoritative source for movie, TV and celebrity content". It was collected to answer the question " How can we tell the greatness of a movie before it is released in cinema?" There is a full description at "https://www.kaggle.com/deepmatrix/imdb-5000-movie-dataset"
IMDB-movie-data.csv has some changes from the kaggle file, mostly to make the genre information more usable.

Your task is to analyze the data with appropriate data mining techniques and identify any "golden nuggets" in the data. You are expected to use classification, clustering, association finding, attribute selection and visualization in your analysis, or to explain why a particular technique is not relevant.

Submit: Up to three pages that describe the strategy you adopted, the runs you per- formed, any "golden nuggets" you found and your conclusions.

Attachment:- heart-v.rar

Reference no: EM131681976

Questions Cloud

In what ways restorative justice different from philosophies : In what ways is restorative justice similar to the four dominant sentencing philosophies of retribution, incapacitation, deterrence, and rehabilitation?
Some cross-cultural differences in decision making : What are some cross-cultural differences in decision making?
Shadow price reflect the change in the final values : Shadow price reflect the change in the final values of the decision variables where there is a unit change in the right hand side of the repective constraint.
Compare a murder trial with one another major felony : Compare two recent trials in your community. What were the similarities and differences in terms of jury selection, the prosecutor's case-in-main.
Develop a script to generate the necessary training : COSC2110/COSC2111 - Describe the data encoding that is required for this task. How many outputs and how many inputs will there be? What scaling or normalization
Financial analysis for longreach regional council : Your consulting firm has been requested to undertake a financial analysis for Longreach Regional Council to assist in their financial decision making
Explain in detail how it is unique geographically : Analyze the regions physical geography and explain in detail how it is unique geographically
Discuss the coastlines of the world are constantly : The coastlines of the world are constantly being impacted by waves, currents, and tides
What impact does the jury system have on the rest : What impact does the jury system have on the rest of the criminal justice system? How would criminal justice function differently if defendants had no right.

Reviews

len1681976

10/16/2017 5:20:30 AM

Up to one page that describes what you did for each of the above ques- tions and your results and conclusions. Include your data preparation script as an appendix (not part of the page count).CLASSIFICATION WITH NEURAL NETWORKS

len1681976

10/16/2017 5:18:54 AM

# The validation file /bin/echo "SNNS pattern definition file V3.2" >iris-valid.pat /bin/echo "generated at Mon Apr 25 15:58:23 1994" >>iris-valid.pat /bin/echo "" >>iris-valid.pat /bin/echo "" >>iris-valid.pat /bin/echo "No. of patterns : $VALID" >>iris-valid.pat /bin/echo "No. of input units : 4" >>iris-valid.pat /bin/echo "No. of output units : 3" >>iris-valid.pat FROM=`expr $TRAIN + 1` tail -n +$FROM temp1.txt | head -$VALID | sed -e"s/Iris-setosa/1 0 0/g" | sed -e"s/Iris-versicolor/0 1 0/g" | sed -e"s/Iris-virginica/0 0 1/g" >>iris-valid.pat # The test file /bin/echo "SNNS pattern definition file V3.2" >iris-test.pat /bin/echo "generated at Mon Apr 25 15:58:23 1994" >>iris-test.pat /bin/echo "" >>iris-test.pat /bin/echo "" >>iris-test.pat /bin/echo "No. of patterns : $TEST" >>iris-test.pat /bin/echo "No. of input units : 4" >>iris-test.pat /bin/echo "No. of output units : 3" >>iris-test.pat FROM=`expr $FROM + $VALID` tail -n +$FROM temp1.txt | head -$TEST | sed -e"s/Iris-setosa/1 0 0/g" | sed -e"s/Iris-versicolor/0 1 0/g" | sed -e"s/Iris-virginica/0 0 1/g" >>iris-test.pat

len1681976

10/16/2017 5:18:45 AM

required parts: PART-A and PART-B script for test validation and training data #!/bin/bash TRAIN=100 VALID=20 TEST=30 tail -n +73 /KDrive/SEH/SCSIT/Students/Courses/COSC2111/DataMining/data/arff/UCI/iris.arff | fgrep -v "%" | randomize | sed -e"s/,/ /g" > temp1.txt # The training file /bin/echo "SNNS pattern definition file V3.2" >iris-train.pat /bin/echo "generated at Mon Apr 25 15:58:23 1994" >>iris-train.pat /bin/echo "" >>iris-train.pat /bin/echo "" >>iris-train.pat /bin/echo "No. of patterns : $TRAIN" >>iris-train.pat /bin/echo "No. of input units : 4" >>iris-train.pat /bin/echo "No. of output units : 3" >>iris-train.pat head -$TRAIN temp1.txt | sed -e"s/Iris-setosa/1 0 0/g" | sed -e"s/Iris-versicolor/0 1 0/g" | sed -e"s/Iris-virginica/0 0 1/g" >>iris-train.pat

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd