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

CorrectToContrast weights vector #45

Open
JorisVincent opened this issue Sep 1, 2018 · 0 comments
Open

CorrectToContrast weights vector #45

JorisVincent opened this issue Sep 1, 2018 · 0 comments
Assignees

Comments

@JorisVincent
Copy link
Contributor

Having a keyword argument that passes a vector of weights that get to the error function. Note that we don’t want to put the input parser into the error function itself. The parser is very slow, and the error function gets called a lot. So always pass a vector of weights to the error function, but have it default to all ones in the caller. It is probably faster to weight the contrasts than to check whether a passed weight vector is empty and only weight conditionally.

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

No branches or pull requests

1 participant