WeightedRegressionLocalT(MatrixT, VectorT, VectorT, Double, FuncDouble, T) Method |
Note: This API is now obsolete.
Locally-Weighted Linear Regression using normal equations.
Namespace: Altaxo.Calc.LinearRegressionAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax[ObsoleteAttribute("Warning: This function is here to stay but its signature will likely change. Opting out from semantic versioning.")]
public static Vector<T> Local<T>(
Matrix<T> x,
Vector<T> y,
Vector<T> t,
double radius,
Func<double, T> kernel
)
where T : struct, new(), IEquatable<T>, IFormattable
Parameters
- x MatrixT
- Predictor matrix X.
- y VectorT
- Response vector Y.
- t VectorT
- The query point.
- radius Double
- The kernel radius.
- kernel FuncDouble, T
- The weighting kernel.
Type Parameters
- T
- The numeric element type.
Return Value
VectorTThe fitted regression coefficients.
See Also