Click or drag to resize
WeightedRegressionLocalT Method (Matrix`1T, Vector`1T, Vector`1T, Double, FuncDouble, T)

Note: This API is now obsolete.

Locally-Weighted Linear Regression using normal equations.

Namespace:  MathNet.Numerics.LinearRegression
Assembly:  MathNet.Numerics (in MathNet.Numerics.dll) Version: 3.7
Syntax
C#
[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
Type: MatrixT

[Missing <param name="x"/> documentation for "M:MathNet.Numerics.LinearRegression.WeightedRegression.Local``1(MathNet.Numerics.LinearAlgebra.Matrix{``0},MathNet.Numerics.LinearAlgebra.Vector{``0},MathNet.Numerics.LinearAlgebra.Vector{``0},System.Double,System.Func{System.Double,``0})"]

y
Type: VectorT

[Missing <param name="y"/> documentation for "M:MathNet.Numerics.LinearRegression.WeightedRegression.Local``1(MathNet.Numerics.LinearAlgebra.Matrix{``0},MathNet.Numerics.LinearAlgebra.Vector{``0},MathNet.Numerics.LinearAlgebra.Vector{``0},System.Double,System.Func{System.Double,``0})"]

t
Type: VectorT

[Missing <param name="t"/> documentation for "M:MathNet.Numerics.LinearRegression.WeightedRegression.Local``1(MathNet.Numerics.LinearAlgebra.Matrix{``0},MathNet.Numerics.LinearAlgebra.Vector{``0},MathNet.Numerics.LinearAlgebra.Vector{``0},System.Double,System.Func{System.Double,``0})"]

radius
Type: SystemDouble

[Missing <param name="radius"/> documentation for "M:MathNet.Numerics.LinearRegression.WeightedRegression.Local``1(MathNet.Numerics.LinearAlgebra.Matrix{``0},MathNet.Numerics.LinearAlgebra.Vector{``0},MathNet.Numerics.LinearAlgebra.Vector{``0},System.Double,System.Func{System.Double,``0})"]

kernel
Type: SystemFuncDouble, T

[Missing <param name="kernel"/> documentation for "M:MathNet.Numerics.LinearRegression.WeightedRegression.Local``1(MathNet.Numerics.LinearAlgebra.Matrix{``0},MathNet.Numerics.LinearAlgebra.Vector{``0},MathNet.Numerics.LinearAlgebra.Vector{``0},System.Double,System.Func{System.Double,``0})"]

Type Parameters

T

Return Value

Type: VectorT

[Missing <returns> documentation for "M:MathNet.Numerics.LinearRegression.WeightedRegression.Local``1(MathNet.Numerics.LinearAlgebra.Matrix{``0},MathNet.Numerics.LinearAlgebra.Vector{``0},MathNet.Numerics.LinearAlgebra.Vector{``0},System.Double,System.Func{System.Double,``0})"]

See Also