This pull request modifies the OpenmlSource and OpenmlSourceTests which previously accommodated CSVs only. To test non-sparse ARFFs use test_default_classification from OpenmlArffSource_Tests in test_simulations.py.
To test sparse data use test_sparse_classification from OpenmlArffSource_Tests in test_simulations.py. Note that the sparse data implementation is inefficient and will require optimization.
Classes created in data/filters.py to handle ARFF data:
This pull request modifies the
OpenmlSource
andOpenmlSourceTests
which previously accommodated CSVs only. To test non-sparse ARFFs usetest_default_classification
fromOpenmlArffSource_Tests
intest_simulations.py
.To test sparse data use
test_sparse_classification
fromOpenmlArffSource_Tests
intest_simulations.py
. Note that the sparse data implementation is inefficient and will require optimization.Classes created in
data/filters.py
to handle ARFF data:sparse_filler
method handles sparse data)