> ## Documentation Index
> Fetch the complete documentation index at: https://aidflow.aigensys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DataLoaderWorker.fit

**def DataLoaderWorker.fit**(self, inputs, fx\_choice=REG.AIG, \*\*params) [\[source\]](https://github.com/aigensys-labs/aidflow/blob/main/AID/\TRUENAS\aig_modeling_Products\AID\1_0_Lib\AID\data\load\data_loader.py#L501)

Execute the full data ingestion and standardization pipeline.

Ingests data from the configured source, verifies
constraints, standardizes the format, and performs the
time-based train/test split.

#### Parameters

**`inputs`** : *`DataLoaderInput`*
Flow context configuration (resolved from ctx.setup).

**`fx_choice`** : *`str`*
The fitting strategy identifier. Defaults to REG.AIG.

**`**params`** : *`dict`*
Runtime parameters passed to the internal fitter\
(import\_start, import\_end, train\_test, smp\_learn, smp\_feature).

#### Returns

*`DataLoader`*
The fitted instance with train/test split and\
variable type classification available.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.