Ask Homework Help/Study Tips Expert

Note: For this assignment, all coding has to be done in R. The results of your experiments (including plots), and your comments for all problems should take the form of a report. See the guidelines at the end of this document for reporting and submission instructions.

For the portion of this assignment requiring SCA data, use the full SCA data set found in the file "hemo.csv." Your code should be written to load the hemo.csv file. Use the 15% criteria to determine the responders and non-responders. So, ignore the last column, labeled "Class".

For the portion of this assignment requiring Leukemia data, use the reduced microarray data set found in golubtrain.csv and golubtest.csv. These files should be combined with in R, as new training and testing divisions will be made between the patients in both datasets.

For the purpose of classification experiments, you will NOT use the leave-one-out methodology. Instead, divide the data set randomly into a training set and a testing set. For Leukemia data, this has already been done for you. You may re-randomize it if you prefer. You may also use a validation set if you so choose for part 1. You will need to specify a way for keras to split your training data into training and validation data,, as discussed later in the Keras part of the assignment.

Single-layer networks:

1.  Use R's built-in neural network functions for classification of the SCA patients. For this problem, use the highest ranked parameter. For each type of network below, report the training error value at the end of the training session for all training runs that you make. Plot the error function of the bestANN run. Report its training and testing accuracy.

1. Use a Delta-rule network with sigmoidal activation functions.

2. Use a two-stage Back-propagation network with sigmoidal activation functions.
Keras Multilayer Networks: Background research, Code Implementation & Comparison to Single-layer:

3. Use the keras library in R for the coding implementation portions of these problems, with the tensorflow library as a backend. Please give detailed but concise answers to any questions asked. Links for the sources you used should be included at the end of the report. Do not use Wikipedia or Stack Overflow and Quora answers as sources (but you can use them to help you understand the concepts).

a. Build the model: Using the 80 highest ranked parameters selected from the Golub dataset, build a network using Keras with an appropriate model for the data we are classifying and type of classification: one input layer with 64 neurons with the appropriate number of inputs (specified using the input_shape parameter), and 3 hidden layers with 64, 32, and 16 neurons, respectively (maintain the order listed when adding these layers to your network!). Choose a proper activation function for your layers. Add a final output layer, and choose the activation function you think is best for classifying the data given (Golub set, binary classification).
c. Compile the model: Choose an appropriate loss function and an appropriate optimization function for for the network you have designed.
e. Training and testing: Re-divide the Golub training and testing data so that the first 45 patients are in the training set (validation will be sampled from here), and the last 27 patients in the testing set. Return the class labels and final training accuracy and testing accuracy of ten epochs of your final model. State these accuracies in your report. During your model fitting, make sure you specify a value for validation_split that is appropriate for our small set of patients. Choose at least two in your code, and briefly explain what these metrics mean.

4. Use the same predictors and setup created in the last problem, but this time, use 16 neurons in your first middle hidden layer,32 neurons in the second middle hidden layer, and 64 neurons in the third middle hidden layer. Generate accuracies and compare this to what you saw in problem 3.

5. Play around with the size of the training and testing sets, the number of layers, the number of neurons in each layer, and choice of final layer activation function in your keras network, and report the accuracies of 10 runs of your best-performing network for the golub data.Repeat this for the hemo data. Make sure your cv accuracy is less than your training accuracy for your neural network runs; be skeptical of extremely high training accuracy!

Attachment:- data.zip

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M92791376
  • Price:- $80

Guranteed 48 Hours Delivery, In Price:- $80

Have any Question?


Related Questions in Homework Help/Study Tips

Review the website airmail service from the smithsonian

Review the website Airmail Service from the Smithsonian National Postal Museum that is dedicated to the history of the U.S. Air Mail Service. Go to the Airmail in America link and explore the additional tabs along the le ...

Read the article frank whittle and the race for the jet

Read the article Frank Whittle and the Race for the Jet from "Historynet" describing the historical influences of Sir Frank Whittle and his early work contributions to jet engine technologies. Prepare a presentation high ...

Overviewnow that we have had an introduction to the context

Overview Now that we have had an introduction to the context of Jesus' life and an overview of the Biblical gospels, we are now ready to take a look at the earliest gospel written about Jesus - the Gospel of Mark. In thi ...

Fitness projectstudents will design and implement a six

Fitness Project Students will design and implement a six week long fitness program for a family member, friend or co-worker. The fitness program will be based on concepts discussed in class. Students will provide justifi ...

Read grand canyon collision - the greatest commercial air

Read Grand Canyon Collision - The greatest commercial air tragedy of its day! from doney, which details the circumstances surrounding one of the most prolific aircraft accidents of all time-the June 1956 mid-air collisio ...

Qestion anti-trustprior to completing the assignment

Question: Anti-Trust Prior to completing the assignment, review Chapter 4 of your course text. You are a manager with 5 years of experience and need to write a report for senior management on how your firm can avoid the ...

Question how has the patient and affordable care act of

Question: How has the Patient and Affordable Care Act of 2010 (the "Health Care Reform Act") reshaped financial arrangements between hospitals, physicians, and other providers with Medicare making a single payment for al ...

Plate tectonicsthe learning objectives for chapter 2 and

Plate Tectonics The Learning Objectives for Chapter 2 and this web quest is to learn about and become familiar with: Plate Boundary Types Plate Boundary Interactions Plate Tectonic Map of the World Past Plate Movement an ...

Question critical case for billing amp codingcomplete the

Question: Critical Case for Billing & Coding Complete the Critical Case for Billing & Coding simulation within the LearnScape platform. You will need to create a single Microsoft Word file and save it to your computer. A ...

Review the cba provided in the resources section between

Review the CBA provided in the resources section between the Trustees of Columbia University and Local 2110 International Union of Technical, Office, and Professional Workers. Describe how this is similar to a "contract" ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As