RegressionValidator

Helpers & Utilities · AiDotNet.Validation

Provides validation methods for regression operations.

Methods

Method Summary
void ValidateDataValues(Matrix<T> x, Vector<T> y, string component, string operation) Validates that the input data doesn’t contain any NaN or infinity values.
void ValidateFeatureCount(Matrix<T> x, int expectedColumns, string component, string operation) Validates that the input matrix has the expected number of feature columns.
void ValidateInputOutputDimensions(Matrix<T> x, Vector<T> y, string component, string operation) Validates that the input and output data have compatible dimensions for regression.