Table of Contents

Class ModelRegistryInfo<T, TInput, TOutput>

Namespace
AiDotNet.Models.Results
Assembly
AiDotNet.dll

Contains structured model registry information from a trained model.

public record ModelRegistryInfo<T, TInput, TOutput> : IEquatable<ModelRegistryInfo<T, TInput, TOutput>>

Type Parameters

T

The numeric type used for calculations.

TInput

The type of input data.

TOutput

The type of output predictions.

Inheritance
ModelRegistryInfo<T, TInput, TOutput>
Implements
IEquatable<ModelRegistryInfo<T, TInput, TOutput>>
Inherited Members

Remarks

This record provides type-safe access to model registry data, including the registered model name, version, and access to the registry for lifecycle management.

For Beginners: This is a container for model versioning and registry data.

It includes:

  • The registered model name and version number
  • Access to the registry for stage transitions (Staging -> Production)
  • Checkpoint path for loading/saving the model
  • Access to the checkpoint manager for persistence operations

Constructors

ModelRegistryInfo(string?, int?, IModelRegistry<T, TInput, TOutput>?, string?, ICheckpointManager<T, TInput, TOutput>?)

Contains structured model registry information from a trained model.

public ModelRegistryInfo(string? RegisteredName, int? Version, IModelRegistry<T, TInput, TOutput>? Registry, string? CheckpointPath, ICheckpointManager<T, TInput, TOutput>? CheckpointManager)

Parameters

RegisteredName string
Version int?
Registry IModelRegistry<T, TInput, TOutput>
CheckpointPath string
CheckpointManager ICheckpointManager<T, TInput, TOutput>

Remarks

This record provides type-safe access to model registry data, including the registered model name, version, and access to the registry for lifecycle management.

For Beginners: This is a container for model versioning and registry data.

It includes:

  • The registered model name and version number
  • Access to the registry for stage transitions (Staging -> Production)
  • Checkpoint path for loading/saving the model
  • Access to the checkpoint manager for persistence operations

Properties

CheckpointManager

public ICheckpointManager<T, TInput, TOutput>? CheckpointManager { get; init; }

Property Value

ICheckpointManager<T, TInput, TOutput>

CheckpointPath

public string? CheckpointPath { get; init; }

Property Value

string

RegisteredName

public string? RegisteredName { get; init; }

Property Value

string

Registry

public IModelRegistry<T, TInput, TOutput>? Registry { get; init; }

Property Value

IModelRegistry<T, TInput, TOutput>

Version

public int? Version { get; init; }

Property Value

int?