public static enum Nystrom.SamplingMethod extends Enum<Nystrom.SamplingMethod>
n
is the number of data points in the full data set
and b
is the number of basis vectors to obtain.Enum Constant and Description |
---|
DIAGONAL
Selects the basis vectors by a weighted probability of the kernel
value of k(xi, xi) for each i.
|
KMEANS
Selects the basis vectors as the means of a k-means clustering.
|
NORM
Selects the basis vectors by the weighted probability of the column
norms of the gram matrix for each vector.
|
UNIFORM
Selects the basis vectors by uniform sampling, takes O(b) time
|
Modifier and Type | Method and Description |
---|---|
static Nystrom.SamplingMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Nystrom.SamplingMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Nystrom.SamplingMethod UNIFORM
public static final Nystrom.SamplingMethod DIAGONAL
public static final Nystrom.SamplingMethod NORM
public static final Nystrom.SamplingMethod KMEANS
public static Nystrom.SamplingMethod[] values()
for (Nystrom.SamplingMethod c : Nystrom.SamplingMethod.values()) System.out.println(c);
public static Nystrom.SamplingMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All rights reserved.