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

FEATURE: add isolation forest algorithm #1876

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

narumiruna
Copy link
Collaborator

@narumiruna narumiruna commented Jan 3, 2025

@bbgokarma-bot
Copy link

Welcome back! @narumiruna, This pull request may get 633 BBG.

@narumiruna narumiruna force-pushed the narumi/iforest/init branch from 7254820 to 18e6e1a Compare January 3, 2025 07:58
@bbgokarma-bot
Copy link

Re-estimated karma: this pull request may get 793 BBG

@narumiruna narumiruna force-pushed the narumi/iforest/init branch from 18e6e1a to cc14507 Compare January 3, 2025 07:59
@bbgokarma-bot
Copy link

Re-estimated karma: this pull request may get 798 BBG

@bbgokarma-bot
Copy link

Re-estimated karma: this pull request may get 822 BBG

@narumiruna narumiruna force-pushed the narumi/iforest/init branch from 1e500f2 to 1493234 Compare January 3, 2025 08:28
@bbgokarma-bot
Copy link

Re-estimated karma: this pull request may get 874 BBG


// SetDefaultValues initializes zero-valued fields in Options with defaults.
func (o *Options) SetDefaultValues() {
if o.DetectionType == "" {
Copy link
Collaborator

Choose a reason for hiding this comment

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

The method name and comment do not indicate that it only sets default values when the value is not zero value. Should we remove all the if conditions?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If we remove all the if conditions, then it will overrides the non-zero options in NewWithOptions.

@narumiruna narumiruna force-pushed the narumi/iforest/init branch from 1493234 to 1e1ca23 Compare January 3, 2025 08:50
@bbgokarma-bot
Copy link

Re-estimated karma: this pull request may get 900 BBG

@narumiruna narumiruna force-pushed the narumi/iforest/init branch from 1e1ca23 to 43997f8 Compare January 3, 2025 09:16
@bbgokarma-bot
Copy link

Re-estimated karma: this pull request may get 868 BBG

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

Successfully merging this pull request may close these issues.

3 participants