Use the R Studio interface to run the Neural Network method

Assignment Help Computer Engineering
Reference no: EM131708264

Exercise - Neural Network

In this exercise, you will use the R Studio interface to run the Neural Network method. You will run the method with different parameters and will interpret the results, including the classification accuracy.

Exercise Instructions

Part 1 - Complete an exercise in the Word document on diabetes dataset.  Get familiar with the neuralnet method and with available input parameters. 

1676_figure.png

Your results might be slightly different depending on the operating system and R Studio version.  You do not need to write a report for this part.

Part 2 - Run an exercise on a column dataset and write a report on your findings and results interpretation in your own words. The report needs to cover the exercise key points below in order.

Download the CSV file to your hard drive. Click on a dataset description URL and read the dataset description.

Exercise Key points -

1. Introduction

  • Which variable is the dependent variable in the column dataset?
  • Which variables are the independent variables in the column dataset?
  • What do you expect the neuralnet method to accomplish for the column data?

2. Data pre-processing - Load the data into R studio, and discuss the data preprocessing steps you run before running the neuralnet method. For each step, include the command you ran, the output, and an explanation of what the step accomplishes.

3. Divide the data into training and test set, and explain why we do that.  Include the commands and explanation in the report.  Remember to set seed.

4. Running the method on a training set

  • Run the neural net function to build the network, and store the result in a variable nn. Include the command in the report, and discuss the input parameters you used.
  • Enter nn at the prompt and hit enter. Interpret the output. Include the command, the output, and output interpretation in the report.
  • Run the command nn$result.matrix. Interpret the output. Include the command, the output, and output interpretation in the report.
  • Run the command nn$net.result[[1]][1:10] to preview the first 10 predicted values. What do the values mean? Include the command, the output, and output interpretation in the report.

5. Network Visualization - Run the plot(nn) command to visualize the network, and interpret the model.  If the plot is hard to read, you may need to click on zoom button in the plot panel to view the model in a new window.  Included the command you ran, the plot, and plot interpretation in the report.

6. Confusion Matrix for the training data

  • Run the following commands to extract and store the predicted values in a variable mypredict. Round the predictions to the whole number. Display the first 10 values of mypredict. Explain what the values mean. Include the commands, the output, and output interpretation in the report.
  • Run the table command to build the confusion matrix. Explain what the matrix shows. Include the command you ran, the matrix, and matrix interpretation in the report.

7. Use the test data to evaluate the model.

  • Use the test set to run the compute command, and store the predicted values in the variable testpred. Run the second command to run round the predictions. Include both commands in the report.
  • Run the table command to build the confusion matrix for the test data. Explain what the matrix shows. Include the command you ran, the matrix, and matrix interpretation in the report.
  • Compare the classification accuracy for the test data with the classification accuracy for the training data.

8. Different Input parameters.

  • Repeat the steps 4-7 above with different input parameters. You may change the number of hidden layers, and/or the number of nodes in the hidden layer, and/or you may use a subset of independent variables. Include the command your ran, the output, and the output interpretation in the report.
  • Compare the results of the two runs. Which run has a higher classification accuracy and why?

9. Summary

  • What differences between decision tree classification and neural network classification methods did you observe?
  • Which part of this exercise did you find the most challenging, and what approach did you take to resolve the challenge?

Attachment:- Assignment Files.rar

Reference no: EM131708264

Questions Cloud

Will robots become part of our households : Will robots become part of our households? Will technology advance to levels of extreme automation within the next 10 years?
Do you believe law enforcement has probable cause : Do you believe law enforcement has probable cause to obtain an arrest warrant for Smith?
Find present exchange rate of hong kong : Borrow HK$39,000,000 in Hong Kong at 7.00% per annum, and exchange these Hong Kong dollars at the present exchange rate of HK$7.8/US$ for U.S. dollars.
What are unique challenge facing the elderly glbt population : What are two unique challenges facing elderly GLBT population? How can typical nursing home or assisted living facility address unique needs of this population?
Use the R Studio interface to run the Neural Network method : In this exercise, you will use the R Studio interface to run the Neural Network method. You will run the method with different parameters
Identify negative factors about boot camp type programs : Discuss 3 factors that are considered negative about boot camp type programs. Include details and examples.
Discuss problem related to pantheon capital : Pantheon Capital, S.A. If Pantheon Capital, S.A. is raising funds via a euro-medium-term note with the following characteristics.
What are the major principles of warfare and governance : What are the major principles of warfare and governance that have been reinforced by all the ancient Chinese theorists that we have read
What will be the immediate proceeds to westminster insurance : Westminster Insurance Company. Westminster Insurance Company plans to sell $2,000,000 of euro-commercial paper with a 60-day maturity and discounted to yield.

Reviews

len1708264

11/6/2017 1:41:14 AM

Your results might be slightly different depending on the operating system and R Studio version. You do not need to write a report for this part. Run the neural net function to build the network, and store the result in a variable nn. Include the command in the report, and discuss the input parameters you used. Enter nn at the prompt and hit enter. Interpret the output. Include the command, the output, and output interpretation in the report. Exercise Deliverables - The report addressing the key points above and An R script with commands your ran and brief comments on the commands purpose.

Write a Review

Computer Engineering Questions & Answers

  Write down a gui-based program which analyzes a round of

write a gui-based program that analyzes a round of golf. you will retrieve the data for 18 holes from a text file. on

  Explain how vb .net uses a database

express how VB .NET uses a database. Briefly summarize the components of a database and the characteristics of a DBMS. Include a discussion of ADO .NET and its capabilities.

  Defining the class counter

Write down the definition of the class counter consisting of: An instance variable named counter of type int. A constructor which takes one int argument and allocates its value to the counter.

  How would investigte the likely behaviour of such a system

Consider a 68000 system with n peripherals capable of generating a vectored interrupt. Suppose the ith peripheral generates a level /, interrupt request.

  Explain some of the examples of poor quality in it projects

discuss some of the examples of poor quality in it projects presented in the what went wrong? section. could most of

  Define use of service-oriented architecture and why

Giving reasons for your answer, suggest two types of applications where you would not recommend the use of service-oriented architecture and why.

  Compare and contrast two network operating systems

Why these would be appropriate for a client - in helping them make the best decision for their organization - as they would like to have a networking system which links the systems of all of their locations.

  Find the original sequence

A sequence is encoded using the Burrows-Wheeler transform. Given L = elbkkee, and index = 5 (we start counting from 1, not 0), find the original sequence.

  Conduct an exploratory analysis of the creditdata.csv data

Conduct an exploratory analysis of the creditdata.csv data set which is provided on the course study desk to identify what you consider to be top five key variables which contribute to determining whether a potential loan applicant is a good credi..

  What is the specialization of Dottie's Tax facility

What is the specialization of Dottie's Tax facility At least 6 returns? (Round z-score computation to 2 decimal places and your final answer to 4 decimal places.)

  How many times will the cpu have to reference memory

How many times will the CPU have to reference memory in order to fetch and execute a two-word indirect addressing mode instruction (b) if the instruction is a JMP instruction?

  Determine the service-related variance for surgical volume

Budgeting is an important activity within every healthcare organization. The particular challenges encountered, however, can vary depending on the type of organization. A state or federally funded organization, for example, will likely have a budg..

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