lciti/cvxEDA

Emotions control / adjustment using biofeedback

watashiwa-toki opened this issue · 2 comments

Is it possible to use this software for emotions control / adjustment using EDA-biofeedback?

lciti commented

Hi!
The current algorithm works in batch mode (i.e. it requires the full data to produce results). Depending on the delay that you are willing to accept, you could use a sliding window approach. To speed up the optimization for the (k+1)-th window given the optimal solution for the k-th window, you could use this to set the initvals option of cvxopt.solvers.qp (in the python version).
Hope this helps,
Luca

I.e. code must be:

res = cv.solvers.qp(H, f, cv.spmatrix(-A.V, A.I, A.J, (n,len(f))),
cv.matrix(0., (n,1)), solver=solver(initvals))

What expression must be use for "initvals" parameter for sliding window approach?