C# 클래스 Accord.Statistics.Kernels.Sparse.SparseLinear

상속: KernelBase, IKernel, ITransform
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : object

Creates a new object that is a copy of the current instance.

Distance ( double x, double y ) : double

Computes the squared distance in feature space between two points given in input space.

Function ( double x, double y ) : double

Sparse Linear kernel function.

Product ( double x, double y ) : double

Computes the product of two vectors given in sparse representation.

SparseLinear ( ) : System

Constructs a new Linear Kernel.

SparseLinear ( double constant ) : System

Constructs a new Linear kernel.

SquaredEuclidean ( double x, double y ) : double

Computes the squared Euclidean distance of two vectors given in sparse representation.

메소드 상세

Clone() 공개 메소드

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
리턴 object

Distance() 공개 메소드

Computes the squared distance in feature space between two points given in input space.
public Distance ( double x, double y ) : double
x double Vector x in feature (kernel) space.
y double Vector y in feature (kernel) space.
리턴 double

Function() 공개 메소드

Sparse Linear kernel function.
public Function ( double x, double y ) : double
x double Sparse vector x in input space.
y double Sparse vector y in input space.
리턴 double

Product() 공개 정적인 메소드

Computes the product of two vectors given in sparse representation.
public static Product ( double x, double y ) : double
x double The first vector x.
y double The second vector y.
리턴 double

SparseLinear() 공개 메소드

Constructs a new Linear Kernel.
public SparseLinear ( ) : System
리턴 System

SparseLinear() 공개 메소드

Constructs a new Linear kernel.
public SparseLinear ( double constant ) : System
constant double A constant intercept term. Default is 0.
리턴 System

SquaredEuclidean() 공개 정적인 메소드

Computes the squared Euclidean distance of two vectors given in sparse representation.
public static SquaredEuclidean ( double x, double y ) : double
x double The first vector x.
y double The second vector y.
리턴 double