|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.parser.meta.MetaParser<V>
de.lmu.ifi.dbs.elki.parser.meta.RandomProjectionParser<V>
V
- the type of NumberVector contained in both the ParsingResultpublic abstract class RandomProjectionParser<V extends NumberVector<V,?>>
A RandomProjectionParser selects a subset of attributes randomly for projection of a ParsingResult.
The cardinality of the subset of attributes is specified as a parameter.
Field Summary | |
---|---|
protected int |
k
Holds the desired cardinality of the subset of attributes selected for projection. |
static OptionID |
NUMBER_SELECTED_ATTRIBUTES_ID
ID for the parameter NUMBER_SELECTED_ATTRIBUTES_PARAM . |
private IntParameter |
NUMBER_SELECTED_ATTRIBUTES_PARAM
Parameter for the desired cardinality of the subset of attributes selected for projection. |
protected Random |
random
Holds a random object. |
Fields inherited from class de.lmu.ifi.dbs.elki.parser.meta.MetaParser |
---|
BASEPARSER_ID |
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debug, logger |
Constructor Summary | |
---|---|
RandomProjectionParser(Parameterization config)
Constructor, adhering to Parameterizable |
Method Summary |
---|
Methods inherited from class de.lmu.ifi.dbs.elki.parser.meta.MetaParser |
---|
retrieveBaseParsingresult, toString |
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.lmu.ifi.dbs.elki.parser.Parser |
---|
parse |
Field Detail |
---|
protected int k
public static final OptionID NUMBER_SELECTED_ATTRIBUTES_ID
NUMBER_SELECTED_ATTRIBUTES_PARAM
.
private final IntParameter NUMBER_SELECTED_ATTRIBUTES_PARAM
Key: -randomprojection.numberselected
Default: 1
Constraint: ≥1
protected final Random random
Constructor Detail |
---|
public RandomProjectionParser(Parameterization config)
Parameterizable
config
- Parameterization
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |