Neural module Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

How can we compare the spiking activity responses to different stimuli?

A

1) Grand-average method:
– one grand average per neuron
– perform standard (non)parametric test
2) Single-trial method:
– Each trial will yield a response
– Perform a repeated measurement (random effects) test

(Both methods are valid, and often equivalent, although the latter can be more powerful;
Rule of thumb: use the simplest available method)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the Coefficient of variation (in the context of PSTH) and how do you compute it?

A

A measure of response reliability(/how stereotypical response is)
1. Compute response parameter for each trial (single-trial PSTH)
2. Build probability distribution of responses
3. CV = sigma/mu

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the response period in PSTH and what variables can we extract from it?

A

Response period: interval after the stimulus where activity is
significantly greater than in the baseline (> mean + 2 s.d.)
– Average/total activity in response period (option: –
mean(baseline))
– Max activity in response period (option: – mean(baseline))
– Peak latency from stimulus onset
– Onset latency from stimulus onset (delay of first significant response bin)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are spike trains and what are the two major ways of computing firing rates based on them?

A

A spike train is a series of timestamps representing the times at which a neuron fires an action potential (spike).

Discrete-time firing rates: time is divided into equal-length bins, and the firing rate is calculated for each bin as the number of spikes that occur within that bin divided by the bin width.

Sliding window: a window of fixed length is “slid” across the spike train, and the firing rate is calculated for each position of the window based on the spikes within it ((spike train is convolved with a window function). Unlike discrete bins, the window overlaps as it slides, providing a smoother estimate. There are different types e.g rectangle window, gaussian window, alpha function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Decoding vs. encoding (in the context of neural spikes)

A

Encoding: how neurons codify information about sensory stimuli.
– given a sensory stimulus, what is its neural representation in terms of
spiking activity?
– what is the probability of observing a certain spiking pattern, given a
sensory stimulus?
Decoding: what was the stimulus, given a certain pattern of neuronal activity?
– probability of a stimulus, given a pattern of activity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the simplest type of classifier?

A

Linear classifier: Identify the line that best separate the two classes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

1) How do we identify which line best separates two classes and (2) how can we automatically and optimally do this?

A
  1. Minimize the error in the classifier (cost or loss function)
  2. Neural networks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How is learning achieved in a perceptron?

A
  1. Fix a training set of M samples
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the architecture of an MLP?

A
  • All the neurons of a layer are connected to all the neurons of the next layer.
  • There are no connections between neurons in the same layer and between
    non adjacent layers.
    Multi-layer perceptrons can separate any convex region
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do we compute the error for hidden layers?

A

backpropagation algorithm.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which rule are weights varied according to?

A

Learning rule/optimization algorithm, e g: Gradient descent rule

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is an epoch in the context of training an MLP and what steps does it entail?

A

A pass of the entire training set.
1. Forward Propagation:
Input data is passed through the network, layer by layer, applying weights, biases, and activation functions.
The network computes predictions (output).

  1. Loss Computation
    Compare the predicted outputs with the actual labels using a loss function appropriate for the task:
    * Mean Squared Error (MSE) for regression.
    * Cross-Entropy Loss for classification.
  2. Back propagation:
    Compute the gradient of the loss function with respect to the weights and biases using the chain rule of calculus (backpropagation algorithm).
    Gradients are propagated backward through the network from the output layer to the input layer.
  3. update weights (how often this is done depends on training strategy)
    * based on learning rule/optimization algorithm (e.g gradient descent)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How do we evaluate the capability of an MLP to generalize the examples of the training set?

A

By testing it on the Validation set (that sounds to me like its the same thing as a test set but idk)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Three things that are important to ensure good training, generalization and no overfitting

A
  • Network architecture (number of layers/neurons)
  • learning rate
  • a good
    choice of TS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is cross validation?

A

a procedure to prevent a classifier from achieving optimal
performance only on a specific validation/test set, and to test a classifier’s
performance against the whole available dataset

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How are spikes plotted in a raster plot?

A

each onset-aligned spike is plotted as a dot, one trial per row.

17
Q

What is dPCA

A

dPCA (demixed PCA):
dPCA extends PCA by “demixing” the variance in neural activity into components that can be linked to specific variables of interest.
It separates the variability in neural data into distinct contributions (e.g., stimulus-driven, motor-response-driven, decision-related components), making the analysis more interpretable.
Each dPC (demixed principal component) is explicitly aligned with a task-related variable or factor.

18
Q

Spike sorting steps

A

spike sorting steps:
* Spike extraction
* Waveforms alignment
* PCA
(in the plot they have also done t-SNE but not in the description outlining the steps).
* Clustering
(5. Manual curation)

19
Q

What is PCA a technique for and what is the goal of it?

A

PCA is a technique for identifying the most relevant variables, i.e. able to explain most of the variance in the dataset
Uses:
* Data compression (i assume that is dimensionality reduction??)
* feature extraction
* reduced computational burden on clustering algorithm
* removal of “noisy” (non informative) components from data

The goal of PCA is:
1-Find the vectros describing the pc1, pc2, etc. directions
2-Project the data points on the new coordinate system

20
Q

Explain what type of algorithm k-means is, how it works and what the pros/cons are?

A

K-means algorithm
* Partitional, model-independent, exclusive clustering algorithm
* Commonly based on euclidean distance
* The cost-function to minimize is the within-cluster sum of squares
* Clusters are found via an iterative algorithm, with 3 steps:
1. Initialization: Cluster number and centroids are initiated by the user (centroids usually randomly chosen)
2. Assignment: Data points are assigned to closest centroid
3. Update: centroid coordinates are calculated again, as the center of mass of each cluster

Pros: - fast, easily interpretable. Cons: different solutions depending on initialization, may have shapes that do not correspond to the actual distribution of data

21
Q

What is the purpose of PSTH and what are the steps?

A
  1. Select the number of trials
  2. Select bin size (1 ms: time code, >25 ms: rate code)
  3. Compute average number of spikes in each bin
  4. Divide by bin width to compute firing rate