Using get_data() on the test server results in more than 30 redirects, accessing the dataset directly through the site and querying like the API like normal both function well.
Code snippet:
import openml
openml.config.server = "https://test.openml.org/api/v1/xml"
dataset = openml.datasets.get_dataset("iris")
X, y, categorical_indicator, attribute_names = dataset.get_data()
Output:
--> X, y, categorical_indicator, attribute_names = dataset.get_data()
TooManyRedirects: Exceeded 30 redirects.
Using get_data() on the test server results in more than 30 redirects, accessing the dataset directly through the site and querying like the API like normal both function well.
Code snippet:
import openmlopenml.config.server = "https://test.openml.org/api/v1/xml"dataset = openml.datasets.get_dataset("iris")X, y, categorical_indicator, attribute_names = dataset.get_data()Output:
--> X, y, categorical_indicator, attribute_names = dataset.get_data()TooManyRedirects: Exceeded 30 redirects.