Skip to main content
Step 0: Data Ingestion. Initializes the pipeline by importing raw data and initializing the global dataset context. It establishes the baseline ‘raw’ state for all subsequent workers.

Parameters

inputs : DataLoaderInput
Custom input configuration (source paths, etc.). If None, uses defaults.
**kwargs : dict
Additional parameters passed to the DataLoader worker.
Inputs full schema can be obtained by ctx.workers.data_loader.spec.

Returns

DataLoaderWorker
The populated instance of DataLoaderWorker.
Populates attributes into the worker context:
model→ctx.workers.data_loader
inputs→ctx.workers.data_loader.spec
result→ctx.workers.data_loader.result
state→ctx.workers.data_loader.state
report→ctx.workers.data_loader.report
stats→ctx.workers.data_loader.stats
fitter→ctx.workers.data_loader.fitter
Registers data into the datasets context:
data→ctx.datasets.input
data→ctx.datasets.train.raw
data→ctx.datasets.test.raw
dtypes→ctx.datasets.dtypes.raw
stats→ctx.datasets.stats.raw

Examples

Defining the Project Context (Control Plane) & Project Scope:

Worker → Model → Fitter

Accessing worker’s inputs schema → parameters & types (shown in the display output):
Accessing model’s fitter options and schema → parameters & types (shown in the display output):
Executing worker with defaults → auto provided by the context:
Once worker has been executed, thus its main model has been built, we have access to all populated attributes.
View to model report of executed worker:

Model → Fitter

Once worker has been executed, we can obtain internal fitter state and its parametrization (shown in the display output):
The fitted fitter provides all populated attributes.
Direct choice and parametrization of internal fitter:
In the experimenting phase, when various targets might be under testing (note that ‘target2’ must be present in the data):

Attributes

All worker attributes return None prior its execution.