Click or drag to resize

ISingleSpectrumPreprocessorExecuteForPrediction Method

Executes the prediction algorithm using the specified input features and target values, returning the predicted results for the given regions.

Namespace: Altaxo.Science.Spectroscopy
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
(double[] , Matrix<double> y, int[] ) ExecuteForPrediction(
	double[] x,
	Matrix<double> y,
	int[]? regions,
	IEnsembleProcessingAuxiliaryData? auxiliaryData
)

Parameters

x  Double
An array of doubles that represents the input features to be used for prediction. Cannot be null.
y  MatrixDouble
A matrix containing the target values associated with the input features. Cannot be null.
regions  Int32
An optional array of integers specifying the regions for which predictions should be made. If null, predictions are performed for all available regions.
auxiliaryData  IEnsembleProcessingAuxiliaryData
Optional auxiliary data that may be used to assist in the prediction process. May be null.

Return Value

ValueTupleDouble, MatrixDouble, Int32
A tuple containing an array of predicted values and a matrix of results corresponding to the input data.
Exceptions
ExceptionCondition
NotImplementedExceptionThrown in all cases, as this method is not yet implemented.
See Also