Class OptimizationInputData<T, TInput, TOutput>
Represents the input data for optimization processes, including training, validation, and test datasets.
public class OptimizationInputData<T, TInput, TOutput>
Type Parameters
TThe numeric type used for calculations, typically float or double.
TInputThe type of the input data, typically Matrix<T> or Tensor<T>.
TOutputThe type of the output data, typically Vector<T> or Tensor<T>.
- Inheritance
-
OptimizationInputData<T, TInput, TOutput>
- Inherited Members
- Extension Methods
Constructors
OptimizationInputData()
Initializes a new instance of the OptimizationInputData class with empty datasets.
public OptimizationInputData()
Properties
InitialSolution
Gets or sets the initial model/solution before optimization. Used by distributed optimizers to save parameters before local optimization.
public IFullModel<T, TInput, TOutput>? InitialSolution { get; set; }
Property Value
- IFullModel<T, TInput, TOutput>
XTest
Gets or sets the input features for the test dataset.
public TInput XTest { get; set; }
Property Value
- TInput
XTrain
Gets or sets the input features for the training dataset.
public TInput XTrain { get; set; }
Property Value
- TInput
XValidation
Gets or sets the input features for the validation dataset.
public TInput XValidation { get; set; }
Property Value
- TInput
YTest
Gets or sets the target values for the test dataset.
public TOutput YTest { get; set; }
Property Value
- TOutput
YTrain
Gets or sets the target values for the training dataset.
public TOutput YTrain { get; set; }
Property Value
- TOutput
YValidation
Gets or sets the target values for the validation dataset.
public TOutput YValidation { get; set; }
Property Value
- TOutput