public static enum SupportVectorLearner.CacheMode extends Enum<SupportVectorLearner.CacheMode>
SupportVectorLearner.evalCount
SupportVectorLearner.setCacheMode(jsat.classifiers.svm.SupportVectorLearner.CacheMode)
should be called before training begins by the training algorithm as
described in the method documentation.Enum Constant and Description |
---|
FULL
The entire kernel matrix will be created and cached ahead of time.
|
NONE
No kernel value caching will be performed.
|
ROWS
Only the most recently used rows of the kernel matrix will be cached
(LRU).
|
Modifier and Type | Method and Description |
---|---|
static SupportVectorLearner.CacheMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportVectorLearner.CacheMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportVectorLearner.CacheMode NONE
public static final SupportVectorLearner.CacheMode FULL
public static final SupportVectorLearner.CacheMode ROWS
SupportVectorLearner.k(int, int)
occurs, the first value
will be taken to be the row of the matrix. SupportVectorLearner.cacheEvictions
indicates how many times a row has been
evicted from the cache.
public static SupportVectorLearner.CacheMode[] values()
for (SupportVectorLearner.CacheMode c : SupportVectorLearner.CacheMode.values()) System.out.println(c);
public static SupportVectorLearner.CacheMode 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.