openml / openml-python

Python module to interface with OpenML
https://openml.github.io/openml-python/main/
Other
279 stars 143 forks source link

Comment in main example is wrong #1229

Closed PGijsbers closed 1 year ago

PGijsbers commented 1 year ago

The example at the front page of our docs reads:

# Download the OpenML task for the german credit card dataset with 10-fold
# cross-validation.
task = openml.tasks.get_task(32)

But task 32 is pendigits. Credit-g is task 31 (and t/32 on the test server is mfeat).

v-parmar commented 1 year ago

Hey @PGijsbers, can you tell me in detail, what the is the issue?

PGijsbers commented 1 year ago

It should say that it's loading the pendigits task. I think that's preferred to adapting the example to work with the credit-g task (because it would complicate the example by needing to encode its nominal values).