Predicts the value of the dependent variable based on the specified values of the independent
variables.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function Predict ( _ independentValues As Vector _ ) As Double |
| C# |
|---|
public double Predict ( Vector independentValues ) |
| C++ |
|---|
public: double Predict ( Vector^ independentValues ) |
Parameters
- independentValues (Extreme.Mathematics.LinearAlgebra.Vector)
- A Vector containing the values for the independent variables.
Return Value
The value of the dependent variable predicted by the regression.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | independentValues is nullNothingnullptr. |