qualia_core.datamodel.RawDataModel module

class qualia_core.datamodel.RawDataModel.RawData(x: 'np.ndarray[Any, Any]', y: 'np.ndarray[Any, Any]', info: 'np.ndarray[Any, Any] | None' = None)[source]

Bases: object

x: ndarray[Any, Any]
y: ndarray[Any, Any]
info: ndarray[Any, Any] | None = None
property data: ndarray[Any, Any]
property labels: ndarray[Any, Any]
export(path: Path, compressed: bool = True) None[source]
classmethod import_data(path: Path, compressed: bool = True) Self | None[source]
astuple() tuple[Any, ...][source]
class qualia_core.datamodel.RawDataModel.RawDataSets(train: U | None = None, valid: U | None = None, test: U | None = None)[source]

Bases: Sets[RawData]

class qualia_core.datamodel.RawDataModel.RawDataModel(name: str, sets: Sets[T] | None = None)[source]

Bases: DataModel[RawData]

name: str
sets: Sets[RawData]
import_sets(set_names: list[str] | None = None, sets_cls: type[DataModel.Sets[RawData]] = <class 'qualia_core.datamodel.RawDataModel.RawDataSets'>, importer: Callable[[Path], RawData | None] = <bound method RawData.import_data of <class 'qualia_core.datamodel.RawDataModel.RawData'>>) None[source]