The common context for all ML.NET operations. Once instantiated by the user, it provides a way to create components for data preparation, feature enginering, training, prediction, model evaluation. It also allows logging, execution control, and the ability set repeatable random numbers.
public sealed class MLContext : Microsoft.ML.Runtime.IHostEnvironment
type MLContext = class interface IHostEnvironment interface IChannelProvider interface IExceptionContext interface IProgressChannelProvider
Public NotInheritable Class MLContext Implements IHostEnvironment
Create the ML context.
Trainers and tasks specific to anomaly detection problems.
Trainers and tasks specific to binary classification problems.
Trainers and tasks specific to clustering problems.
This is a catalog of components that will be used for model loading.
Data loading and saving.
Trainers and tasks specific to forecasting problems.
Operations with trained models.
Trainers and tasks specific to multiclass classification problems.
Trainers and tasks specific to ranking problems.
Trainers and tasks specific to regression problems.
Data processing operations.
The handler for the log messages.
Explicit Interface Implementations