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

Bumping to liblinear-java 2.44 #228

Merged
merged 1 commit into from
Apr 15, 2022
Merged

Bumping to liblinear-java 2.44 #228

merged 1 commit into from
Apr 15, 2022

Conversation

Craigacp
Copy link
Member

Description

liblinear-java 2.44 has the fix for bwaldvogel/liblinear-java#40, and so this PR migrates Tribuo over to use the new RNG setting methods available in that version. As a consequence it removes all the global locks on liblinear use that were in place from 4.2. This does mean that models trained in 4.2 will not reproduce exactly in 4.3+, though we could consider moving the forceZero trick used in the regression tests into the base class and exposing it to the reproducibility framework as a special case.

Motivation

Allows liblinear models to be trained in parallel with consistent RNG behaviour as compared to the rest of Tribuo.

… and removing the global liblinear locks in Tribuo.
@Craigacp Craigacp added the Oracle employee This PR is from an Oracle employee label Mar 30, 2022
Copy link
Member

@JackSullivan JackSullivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@Craigacp Craigacp merged commit c1d9962 into main Apr 15, 2022
@Craigacp Craigacp deleted the liblinear-bump branch April 15, 2022 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Oracle employee This PR is from an Oracle employee
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants