Predicts the values of the dependent variable for multiple collectionso of values
for the independent variables.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function Predict ( _ independentValues As Matrix _ ) As GeneralVector |
| C# |
|---|
public GeneralVector Predict ( Matrix independentValues ) |
| C++ |
|---|
public: GeneralVector^ Predict ( Matrix^ independentValues ) |
Parameters
- independentValues (Extreme.Mathematics.LinearAlgebra.Matrix)
- A Matrix whose rows contain a set of values for the independent variables.
Return Value
A GeneralVector containing the predicted values corresponding to the rows of independentValues.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | independentValues is nullNothingnullptr. |