Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emotions control / adjustment using biofeedback #2

Open
watashiwa-toki opened this issue Nov 12, 2017 · 2 comments
Open

Emotions control / adjustment using biofeedback #2

watashiwa-toki opened this issue Nov 12, 2017 · 2 comments

Comments

@watashiwa-toki
Copy link

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

@lciti
Copy link
Owner

lciti commented Nov 13, 2017

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

@watashiwa-toki
Copy link
Author

watashiwa-toki commented Nov 14, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants