Method | Description | |
---|---|---|
Add ( double a, double b, double result ) : double[] |
Elementwise addition of a and b, storing in result.
|
|
Clone ( ) : object |
Creates a new object that is a copy of the current instance.
|
|
Compress ( double weights, double supportVectors, double &c ) : double[] |
Compress a set of support vectors and weights into a single parameter vector.
|
|
Distance ( double x, double y ) : double |
Computes the distance
|
|
Function ( double x, double y ) : double |
Gaussian Kernel function.
|
|
Product ( double a, double b, double result ) : void |
Elementwise multiplication of scalar a and vector b, storing in result.
|
|
ReverseDistance ( double x, double y ) : double |
Computes the squared distance in input space between two points given in feature space.
|
|
TaylorGaussian ( Accord.Statistics.Kernels.Gaussian gaussian, int degree = 1024 ) : System |
Constructs a new TaylorGaussian kernel with the given sigma.
|
|
TaylorGaussian ( double sigma, int degree = 1024 ) : System |
Constructs a new TaylorGaussian kernel with the given sigma.
|
|
Transform ( double input ) : double[] |
Projects an input point into feature space.
|
Method | Description | |
---|---|---|
createCoefficients ( int degree ) : void |
public Add ( double a, double b, double result ) : double[] | ||
a | double | The first vector to add. |
b | double | The second vector to add. |
result | double | An array to store the result. |
return | double[] |
public Compress ( double weights, double supportVectors, double &c ) : double[] | ||
weights | double | The weights associated with each support vector. |
supportVectors | double | The support vectors. |
c | double | The constant (bias) value. |
return | double[] |
public Distance ( double x, double y ) : double | ||
x | double | The first point |
y | double | The second point |
return | double |
public Function ( double x, double y ) : double | ||
x | double | Vector |
y | double | Vector |
return | double |
public Product ( double a, double b, double result ) : void | ||
a | double | The scalar to be multiplied. |
b | double | The vector to be multiplied. |
result | double | An array to store the result. |
return | void |
public ReverseDistance ( double x, double y ) : double | ||
x | double | Vector |
y | double | Vector |
return | double |
public TaylorGaussian ( Accord.Statistics.Kernels.Gaussian gaussian, int degree = 1024 ) : System | ||
gaussian | Accord.Statistics.Kernels.Gaussian | The original Gaussian kernel to be approximated. |
degree | int | The Gaussian approximation degree. Default is 1024. |
return | System |
public TaylorGaussian ( double sigma, int degree = 1024 ) : System | ||
sigma | double | The kernel's sigma parameter. |
degree | int | The Gaussian approximation degree. Default is 1024. |
return | System |
public Transform ( double input ) : double[] | ||
input | double | The input point to be projected into feature space. |
return | double[] |