AlphaFactorOptions<T>
Options & Configuration ยท AiDotNet.Models.Options
Configuration options for the AlphaFactorModel.
Inheritance: ModelOptions โ AlphaFactorOptions<T>
For Beginners
Think of these settings as the knobs that shape the model:
- How many hidden factors to learn
- How many assets and features are in your data
- How large the internal layers should be
How It Works
AlphaFactorModel learns latent factors that explain and predict excess returns. These options let you control the factor count, input dimensionality, and hidden size.
Constructors
| Constructor | Summary |
|---|---|
AlphaFactorOptions() |
Properties
| Property | Summary |
|---|---|
double DropoutRate { get; set; } |
Gets or sets the dropout rate used for regularization. |
int HiddenDimension { get; set; } |
Gets or sets the width of hidden layers. |
int NumAssets { get; set; } |
Gets or sets the number of assets covered by the model. |
int NumFactors { get; set; } |
Gets or sets the number of latent factors to learn. |
int NumFeatures { get; set; } |
Gets or sets the number of input features per asset. |
int PredictionHorizon { get; set; } |
Gets or sets the prediction horizon. |
int SequenceLength { get; set; } |
Gets or sets the input sequence length. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Validates the options and throws if any value is invalid. |