PostprocessingRegistry<T, TOutput>
Helpers & Utilities · AiDotNet.Postprocessing
Global registry for the postprocessing pipeline.
For Beginners
You don’t need to interact with this directly — just use AiModelBuilder:
How It Works
Deprecated: This static registry causes race conditions when multiple
AiModelBuilder instances build models concurrently, because they overwrite
each other’s pipeline. Use instance-based postprocessing via
AiModelBuilder.ConfigurePostprocessing() instead, which stores the pipeline
per-builder and flows it to AiModelResult.
Properties
| Property | Summary |
|---|---|
IDataTransformer<T, TOutput, TOutput> Current { get; set; } |
Gets or sets the current postprocessing pipeline. |
bool IsConfigured { get; } |
Gets whether a postprocessing pipeline is currently configured. |
Methods
| Method | Summary |
|---|---|
TOutput FitTransform(TOutput output) |
Fits the current postprocessing pipeline to data and transforms it. |
TOutput Transform(TOutput output) |
Transforms output data using the current postprocessing pipeline. |
void Clear() |
Clears the current postprocessing pipeline. |