In ML.NET, is the core data pipeline machinery used to represent, store, and manipulate tabular data across all stages of machine learning—including data loading, transformation, model training, and evaluation. It acts as a highly optimized, schematized data container, conceptually similar to a database view or a in Python.
Key Architectural Characteristics
Lazy Evaluation: It functions as a lazy, cursor-based abstraction. Data transforms and computations are not calculated or loaded into memory until the data pipeline is explicitly executed (e.g., during model training).
Streaming Capability: It processes data row-by-row via cursors. This allows it to easily stream datasets that exceed system RAM, scaling safely up to terabytes of data.
Immutability: Every data transform or operation creates a new pointing back to the previous one. The underlying source data is never modified directly.
Strict Schema: It defines rows and typed columns using a . It can handle primitives, text, booleans, and complex structures like high-dimensional vectors.
Functional Roles in the ML.NET Lifecycle
Data Loading Entrypoint: You wrap raw input data into an container using tools like (for CSV/TSV) or (for in-memory objects and databases).
Transformation Buffer: Intermediate data preprocessing states (like normalizing text or extracting features) output a new layer.
Training Input: The method of an ML estimator ingests an to learn patterns and build a trained model.
Prediction Container: For batch processing, a model's method takes an input and appends a new column containing the machine learning predictions.
Markdown for AI
A clean, structured version of this page for AI assistants and LLMs.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
In ML.NET, is the core data pipeline machinery used to represent, store, and manipulate tabular data across all stages of machine learning—including data loading, transformation, model training, and evaluation. It acts as a highly optimized, schematized data container, conceptually similar to a database view or a in Python.
Key Architectural Characteristics
Functional Roles in the ML.NET Lifecycle