ModelParameterGene<T>
Models & Types · AiDotNet.Genetics
Represents a gene that corresponds to a parameter in a machine learning model.
Constructors
| Constructor |
Summary |
ModelParameterGene(int index, T value) |
Initializes a new instance of the ModelParameterGene class. |
Properties
| Property |
Summary |
T Value { get; } |
Gets the parameter value. |
int Index { get; } |
Gets the index of the parameter in the model’s parameter vector. |
Methods
| Method |
Summary |
ModelParameterGene<T> Clone() |
Creates a clone of this gene. |
bool Equals(object obj) |
Determines whether the specified object is equal to the current gene. |
int GetHashCode() |
Returns a hash code for this gene. |