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

Add ability for weighted code #109

Open
mayhewsw opened this issue Aug 22, 2018 · 0 comments
Open

Add ability for weighted code #109

mayhewsw opened this issue Aug 22, 2018 · 0 comments

Comments

@mayhewsw
Copy link
Member

mayhewsw commented Aug 22, 2018

Add ability for learners to be weighted. See this branch of my fork: https://github.com/mayhewsw/lbjava/tree/weighted

The difficulty is that the abstract function learn() in Learner.java needs to be changed, which is a breaking change. It's easy to retrofit classifiers, but it is busy work (already done in my branch).

So far, I have implemented weighted learning only for SparseAveragePerceptron.

Any comments @mssammon @cowchipkid @danyaljj ?

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