Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
7a6f845
refactor: Remove "array" format
eddiebergman Oct 16, 2024
6296f37
refactor: Explicitly name parameter to listing functions
eddiebergman Oct 16, 2024
a31dafc
fix: Don't double call list
eddiebergman Oct 17, 2024
3bd924c
update...
eddiebergman Nov 4, 2024
e98c70a
attempted to fixed merge conflicts for examples
SubhadityaMukherjee Apr 1, 2025
2c82122
rename target_names back to target
SubhadityaMukherjee Apr 1, 2025
ce57881
fix: resolve kdd_rijn example to be without dataframe parameter and r…
LennartPurucker Jun 16, 2025
ddda711
fix: ensure dtypes as in original code
LennartPurucker Jun 16, 2025
063a8e6
fix: remove incorrect parsing of sparse pandas
LennartPurucker Jun 16, 2025
2e6c4c7
fix: make sklearn tests work with pandas
LennartPurucker Jun 16, 2025
12dedb0
fix: fix listing calls and test for utils
LennartPurucker Jun 16, 2025
4aae48b
Merge remote-tracking branch 'upstream/develop' into refactor-default…
LennartPurucker Jun 16, 2025
6517f6a
fix/maint: update and fix tests for new dataframe default
LennartPurucker Jun 16, 2025
466022e
fix/maint: resolve tests that used old default format
LennartPurucker Jun 16, 2025
bd120f5
fix: remove OrdinalEncoder
LennartPurucker Jun 16, 2025
de597b5
fix: update test to new assert with onehot
LennartPurucker Jun 16, 2025
32e6fbf
fix/maint: update examples
LennartPurucker Jun 16, 2025
bae06ca
fix: example revert
LennartPurucker Jun 16, 2025
78b1888
fix: add impute for tests to work with older sklearn version
LennartPurucker Jun 16, 2025
22b6b52
fix: make examples work
LennartPurucker Jun 16, 2025
232b37c
Update openml/utils.py
LennartPurucker Jun 17, 2025
f14fce6
Update openml/utils.py
LennartPurucker Jun 17, 2025
7fb5eb2
Update openml/setups/setup.py
LennartPurucker Jun 17, 2025
f45530f
Update openml/setups/setup.py
LennartPurucker Jun 17, 2025
7fb31ce
remove comment we do not understand
LennartPurucker Jun 17, 2025
9c2800e
Merge remote-tracking branch 'upstream/refactor-default-dataframe' in…
LennartPurucker Jun 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: example revert
  • Loading branch information
LennartPurucker committed Jun 16, 2025
commit bae06ca55408ebf1ed297015325e67a8f0dd1d7a
9 changes: 7 additions & 2 deletions examples/30_extended/fetch_evaluations_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@
# Note that we now filter the evaluations based on another parameter 'task'.

metric = "predictive_accuracy"
evals = openml.evaluations.list_evaluations(function=metric, tasks=[task_id])
evals = openml.evaluations.list_evaluations(
function=metric, tasks=[task_id], output_format="dataframe"
)
# Displaying the first 10 rows
print(evals.head(n=10))
# Sorting the evaluations in decreasing order of the metric chosen
Expand Down Expand Up @@ -158,7 +160,10 @@ def plot_flow_compare(evaluations, top_n=10, metric="predictive_accuracy"):
# List evaluations in descending order based on predictive_accuracy with
# hyperparameters
evals_setups = openml.evaluations.list_evaluations_setups(
function="predictive_accuracy", tasks=[31], size=100, sort_order="desc"
function="predictive_accuracy",
tasks=[31],
size=100,
sort_order="desc",
)

""
Expand Down