There are a number of neurons and we know their firing rates on -3s, -2s, -1s, like
Neuron index:
1 2 3 4
Firing rata
0s: 1 1 -1 1
-1s: -1 -1 0 -1
-2s: 0 0 0 0
-3s: 1 1 1 1
By using these fire rate history, I want to predict current (0s) firing rate of neurons whether it is 1 or -1. I am using linear SVM and varying weights of each time point.
However, I want to constrain absolute value of weight of recent firing rate is always larger than that of past like
Weight of
-1s: -0.8
-2s: 0.3
-3s: -0.1
How can I realize this idea on linear classifier like linear SVM on MATLAB?