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

Weights for the importance of each observation #22

Open
amirbachar opened this issue Feb 26, 2022 · 2 comments
Open

Weights for the importance of each observation #22

amirbachar opened this issue Feb 26, 2022 · 2 comments

Comments

@amirbachar
Copy link

A nice feature would be adding a weights vector to the data vector, in order to be able to assign a different "importance for each observation".
Using this suggested feature, it would also be easy to implement a regularisation, by adding another observation for each pair (in the pairwise comparison models), and give it a small weight.
Currently when the directed graph is acyclic, the ML is that the root will basically have an infinite strength, and regularisation fixes that.

@lucasmaystre
Copy link
Owner

Hi @amirbachar thank you for the suggestion.

Note that most functions have a parameter alpha that controls regularization. it is off (i.e., equal to 0.0) by default in most functions, but if you set it to some positive value the infinite strength problem should be resolved.

@amirbachar
Copy link
Author

@lucasmaystre Thank you very much for your response!

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