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

Adds setInvocationCount to HdbscanTrainer #198

Merged
merged 5 commits into from
Dec 9, 2021
Merged

Conversation

Craigacp
Copy link
Member

@Craigacp Craigacp commented Dec 2, 2021

Description

Adds the setInvocationCount method to HdbscanTrainer and tidies up a couple of small things in the HDBSCAN package.

It also enforces that the default method Trainer.train(Dataset<T>,Map<String,Provenance>,int) accepts -1 to mean "do not change the invocation count before training" which is the implied semantics for INCREMENT_INVOCATION_COUNT.

Motivation

Improves integration with the reproducibility framework.

@Craigacp Craigacp added Oracle employee This PR is from an Oracle employee squash-commits Squash the commits when merging this PR labels Dec 2, 2021
Copy link
Member

@geoffreydstewart geoffreydstewart left a comment

Choose a reason for hiding this comment

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

The cleanup related changes look good. Thanks for taking care of those. I'll leave it to the experts to check the changes for setting the invocation count and the new, corresponding test.

Copy link
Member

@pogren pogren left a comment

Choose a reason for hiding this comment

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

all changes look straightforward and sensible.

@Craigacp Craigacp merged commit d30814c into main Dec 9, 2021
@Craigacp Craigacp deleted the hdbscan-reproducibility branch December 9, 2021 23:46
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 squash-commits Squash the commits when merging this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants