Skip to content
Draft
Changes from all commits
Commits
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
9 changes: 5 additions & 4 deletions src/mlpro_int_openml/wrappers/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@
## -- 2024-02-19 1.8.0 DA Adaptation to new API >= v0.14.2
## -- 2024-04-18 1.9.0 DA Alignment with MLPro 1.4.0
## -- 2025-07-23 2.0.0 DA Refactoring
## -- 2025-09-26 2.0.1 DA Bugfix: Wrapper used MSpace instead of ESpace as default feature space
## -------------------------------------------------------------------------------------------------

"""
Ver. 2.0.0 (2025-07-23)
Ver. 2.0.1 (2025-09-26)

This module provides wrapper functionalities to incorporate public data sets of the OpenML ecosystem.

Expand All @@ -48,7 +49,7 @@
from mlpro.bf.ops import Mode
from mlpro.wrappers import Wrapper
from mlpro.bf.streams import Feature, Label, Instance, StreamProvider, Stream
from mlpro.bf.math import Element, MSpace
from mlpro.bf.math import Element, MSpace, ESpace

import openml

Expand Down Expand Up @@ -283,7 +284,7 @@ def _setup_feature_space(self) -> MSpace:
self._downloaded = self._download()
if not self._downloaded: return None

feature_space = MSpace()
feature_space = ESpace()

_, _, _, features = self._dataset
for feature in features:
Expand All @@ -299,7 +300,7 @@ def _setup_label_space(self) -> MSpace:
if ( not self._downloaded ) or ( self._label == '' ):
return None

label_space = MSpace()
label_space = ESpace()
label_space.add_dim(Label(p_name_short=str(self._label), p_name_long=str(self._label)))
return label_space

Expand Down