ModelCategoryAttribute

Attributes ยท AiDotNet.Attributes

Specifies the algorithm family or category that a model belongs to.

Inheritance: Attribute โ†’ ModelCategoryAttribute

For Beginners

Apply this attribute to your model class to indicate what kind of algorithm it uses. You can apply it multiple times if the model combines multiple algorithm families (e.g., a Transformer that is also an Autoencoder).

How It Works

Usage:

Constructors

Constructor Summary
ModelCategoryAttribute(ModelCategory category) Initializes a new instance of the ModelCategoryAttribute class.

Properties

Property Summary
ModelCategory Category { get; } Gets the algorithm category this model belongs to.