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

Make n_estimators in Isolation Forest a configurable option #59

Closed
stevenlujpl opened this issue Aug 17, 2021 · 2 comments
Closed

Make n_estimators in Isolation Forest a configurable option #59

stevenlujpl opened this issue Aug 17, 2021 · 2 comments
Assignees

Comments

@stevenlujpl
Copy link
Collaborator

No description provided.

@stevenlujpl stevenlujpl self-assigned this Aug 17, 2021
stevenlujpl added a commit that referenced this issue Aug 30, 2021
stevenlujpl added a commit that referenced this issue Aug 30, 2021
stevenlujpl added a commit that referenced this issue Aug 30, 2021
@stevenlujpl
Copy link
Collaborator Author

I've updated the iforest_outlier_detection.py script to make n_estimators a configurable option. To use iforest ranking method, we will need to provide the n_trees parameter in the config file. For example,

outlier_detection: {
    iforest: {
        n_trees: 100
    }
}

@stevenlujpl
Copy link
Collaborator Author

@urebbapr You can use the following API to call isolation forest for the sequential isolation forest implementation. Please let me know if there is any question. Thanks.

def _rank_internal(self, data_to_fit, data_to_score, data_to_score_ids,
top_n, seed, n_trees):

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

1 participant