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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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