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

Added 'fit_single_trees' argument to volcanoes config files. #80

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

anatarano
Copy link
Contributor

Description

Missing argument fit_single_trees in sample_data config files for volcano patches and pixels for Isolation forest (iForest) method.

Bug

Patches

Command line: dora_exp sample_data/earth_volcanoes/exp/patches/earth_volcanoes_patches.yml
Error: File "*/dora/.venv/lib/python3.8/site-packages/dora_exp_pipeline/outlier_detection.py", line 69, in run
results = self._rank_internal(dtf, dts, dts_ids, top_n, seed, **kwargs)
TypeError: _rank_internal() missing 1 required positional argument: 'fit_single_trees'

Pixels

Command line: dora_exp sample_data/earth_volcanoes/exp/pixels/earth_volcanoes_pixels.yml
Error: File "*/dora/.venv/lib/python3.8/site-packages/dora_exp_pipeline/outlier_detection.py", line 69, in run
results = self._rank_internal(dtf, dts, dts_ids, top_n, seed, **kwargs)
TypeError: _rank_internal() missing 1 required positional argument: 'fit_single_trees'

Validation

Tested on the master branch. Reproduced the results from /*/dora/test/ref-results/earth_volcanoes_pixels/iforest-n_trees=100-fit_single_trees=False/selections-iforest.csv and /*/dora/test/ref-results/earth_volcanoes_patches/iforest-n_trees=100-fit_single_trees=False/selections-iforest.csv.

Fixed Error: File "*/dora/.venv/lib/python3.8/site-packages/dora_exp_pipeline/outlier_detection.py", line 69, in run
    results = self._rank_internal(dtf, dts, dts_ids, top_n, seed, **kwargs)
TypeError: _rank_internal() missing 1 required positional argument: 'fit_single_trees'
Fixed bug: File "*/dora/.venv/lib/python3.8/site-packages/dora_exp_pipeline/outlier_detection.py", line 69, in run
    results = self._rank_internal(dtf, dts, dts_ids, top_n, seed, **kwargs)
TypeError: _rank_internal() missing 1 required positional argument: 'fit_single_trees'
@anatarano anatarano changed the title Patch 1 Added 'fit_single_trees' argument to volcanoes config files. Jan 29, 2025
@hannah-rae hannah-rae merged commit 81de9e7 into nasaharvest:master Jan 29, 2025
1 check failed
@anatarano anatarano deleted the patch-1 branch January 29, 2025 23:09
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.

2 participants