Implement a population vector decoder

Assignment Help Simulation in MATLAB
Reference no: EM132230399

1. Goals of the Lab

Neural Data Analysis II

This lab will address the problem of how to predict the upcoming direction of movement from a population of neuronal signals recorded from motor areas of a macaque monkey. We will implement two common decoding strategies: the population vector and maximum likelihood, and compare their performance in terms of percentage predicted correctly.

The test dataset for this lab is called "Lab6_CenterOutTest" and is found under "Modules/ Data for labs" in Canvas. Put it in your current directory and load it. This data is from the same neurons as in the Lab 5 dataset, but from different trials. This is important, as you always want to test a prediction algorithm on different data than it was originally trained on.

Otherwise, the optimal prediction would be, "the exact same thing is going to happen." Testing on novel data helps ensures that the model does not overfit the data. You will use the preferred directions for the neurons from the Lab 5 training dataset to predict which direction of movement from the neuronal firing rates around the "Go" cue.

2. Background

What is neural decoding? Simply put, it is a mathematical mapping from brain activity to the outside world. In the sensory domain, the outside world consists of the received visual, auditory, or other sensory information. In the motor domain, the outside world consists of the state of the skeletomuscular system. Historically, neuroscientists have focused on understanding neural encoding by characterizing a tuning curve. For example, cosine tuning curve specifies how a neuron modulates its firing rate depending on the upcoming direction of movement. In contrast, estimating this movement direction from one (or many) observed firing rate is an example of neural decoding. Because signals about motor intention precede movement, decoding can be thought of as "mind reading." We seek to predict an action as soon as it is intended, before it ever takes place.

Having done this, proceed as follows:

1. Assume that each neuron "votes" for its preferred movement direction. Specifically, each neuron is going to contribute a "response vector" which is aligned with its preferred direction.

2. The magnitude (or length) of each neuron's response vector is determined by the neural activity of the neuron during each trial. This is the weight given to each neuron's vote. For now, assume the weight is simply the firing rate during the hold period.

3. Sum all the response vectors from all neurons to arrive at the population vector for this trial. The direction of this population vector corresponds to the predicted direction.

3. Exercises

1. Implement a population vector decoder. Use the preferred directions determined using the firing rate computed 1 second before to 1 second after the go cue for the Lab 5 training data. Then predict the movement direction of the 80 trials whose go times are given in the Lab 6 test data. Bin the predicted direction to convert it to one of the eight discrete movement directions.

2. Implement a maximum likelihood decoder. Assume a poisson firing rate model and independent firing rates. Determine the mean firing rate for each neuron and each direction for the Lab 5 training dataset. Use the function poisspdf to determine the likelihood of each direction for the Lab 6 test data. Pick the direction which maximizes the log-likelihood of all firing rates for a given trial.

3. Compare the accuracy of these two decoding methods, using the percentage of directions correctly predicted in the 80 test trials as your metric.

4. Lab Report Requirements

1. Report the percent correct for population vector and the maximum likelihood algorithms that you implemented in the Exercises.

2. The population vector methods make assumptions about the data: that neurons were cosine tuned and that preferred directions are uniformly distributed. Are these assumptions valid? Provide evidence for your answer.

3. For the population vector method, instead of weighting the response vectors using the firing rate, weight using the change in firing rate from baseline. Specify how you determine the baseline firing rate (the easiest is to use the mean firing rate across all directions). Does this affect the decoding accuracy of the population vector method? Why might this be?

4. Use a Gaussian firing rate model for the maximum likelihood decoder (instead of Poisson). The likelihood can be determined with the function normpdf and the mean and standard deviation for each neuron and each direction. Does this affect the decoding accuracy of the maximum likelihood method? Why might this be?

Attachment:- Guide.rar

Verified Expert

This project is about neural data analysis.This analysis is made by two major algorithm which are population vector decoding method and maximum likelihood decoding.The neuron movements are initially obtained by using dataset which is used as a target direction. Then by using two decoding methods the neuron movement direction is predicted. Then the accuracy of population vector decoding and maximum likelihood is compared.

Reference no: EM132230399

Questions Cloud

Calculate the annual payment : You can take a lump sum today in the amount of $92,495,600(ignore the income tax). Calculate the annual payment based on 4% rate. Which option would you choose
Some pitfalls in looking at these areas : If the organization is thinking "strategically"...what do you think can be some pitfalls in looking at these areas?
What internal and external factors can affect planning : What can distract the organization from keeping focused upon the mission? What internal and external factors can affect planning?
Things the organization cannot control : Things the organization cannot control, but is impacted by, such as Medicare, Medicaid, federal and state legislation, regulation, etc...
Implement a population vector decoder : Neural Data Analysis - Implement a population vector decoder. Use the preferred directions determined using the firing rate computed 1 second
Define and explain briefly sarfit model : Define and explain briefly SARFIT model in contingency theory?
What is Towsons accrual basis net income : The cost of this policy was $9,000. What is Towson's 2018 accrual basis net income or loss? Enter a loss as a negative number
Why is it so much better to say to a potential hotel quest : Why is it so much better to say to a potential hotel quest "we are fully committed", rather than "we are booked solid"? Or is it?
Explain the structure and function of working memory : In an effort to explain the structure and function of working memory, Dr. Baddeley developed the concepts of the visuospatial sketchpad, the central executive.

Reviews

len2230399

2/8/2019 10:08:34 PM

Please complete the "Exercises" and the "Lab Report Requirements." PLEASE FOLLOW THE LAB 6 GUIDE EXACTLY AND COMPLETE EVERYTHING. For solutions, send the written solutions/lab report in a docx and please send all of the MATLAB code in m files. Provide a lot of figures for the questions and label each figure with a description.

Write a Review

Simulation in MATLAB Questions & Answers

  Design an echo filter

Design an echo filter. The output should be the original signal followed by three echoes with attenuations of 10%, 25 % and 30% respectively and the delays should be 0.5 secs, 1 sec, and 1.5 secs respectively for each echo

  Determine the minimum number of agents

Develop an ExtendSim model to determine the minimum number of agents that will result in an average waiting time of 5 min or loss - What is the effect of the additional variability compared to the results in part (a)?

  Potential impact of 5g internet on water processing

The potential impact of 5G internet on water processing - Video and Disruption Report - create a two-minute video and written proposal

  Investigate the effect of diameter of steel pipes

SEJ446 - Engineering Project. To investigate the effect of diameter on the vibration property of steel pipes in different conditions

  Design the automatic control section using statecharts

Aim of this project is to design an embedded system which can move loads from one place to another. The system can be operated manually, automatically and wirelessly.

  Discuss how good you think the cosine-tuning curve is

Discuss how good you think the cosine-tuning curve is as a model of your neuron's responses. What percentage of neurons do you think are well fit

  How many weeks hours days and minutes did you park

Which lot are you using? How many weeks, hours, days, and minutes did you park? Your program should then calculate the parking bill.

  Simulate 16-qam system without grey coding

Simulate and compare the BER of a 16-PSK system and a 16-QAM system without Grey coding and Eb/N0=0,2,4,6,8,10 dB. "

  Use matlab to plot the periodic square wave

Use MATLAB to plot the periodic square wave 5 f(t) over the time interval 0 ≤ t ≤ 3T  . On the same graph, plot the output waveforms, f0(t), of the two amplifiers with corner frequencies of F =  10I and F = 40I, respectively.

  Determine the impulse response of system

Determine the impulse response of system - Determine the stiffness constant (stiffness ratio)of Goust(s).

  Implement a research paper into a matlab simulink model

Implement a research paper into a MATLAB SIMULINK model. Already have the model built and already have the code. Just need help with the rectification of errors

  Implement an experiment to examine spatial attention

Implement an experiment to examine spatial attention. The idea of attention as a process by which mental resources can be concentrated or focused continues

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