N
- Vector typeD
- Distance typepublic static class CTLuRandomWalkEC.Parameterizer<N,D extends NumberDistance<D,?>> extends AbstractDistanceBasedAlgorithm.Parameterizer<N,D>
Modifier and Type | Field and Description |
---|---|
(package private) double |
alpha
Parameter alpha: scaling
|
static OptionID |
ALPHA_ID
Parameter to specify alpha
|
(package private) double |
c
Parameter c: damping coefficient
|
static OptionID |
C_ID
Parameter to specify the c
|
(package private) int |
k
Parameter for kNN
|
static OptionID |
K_ID
Parameter to specify the number of neighbors
|
distanceFunction
Constructor and Description |
---|
CTLuRandomWalkEC.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected void |
configAlpha(Parameterization config)
Get the alpha parameter
|
protected void |
configC(Parameterization config)
get the c parameter
|
protected void |
configK(Parameterization config)
Get the kNN parameter
|
protected CTLuRandomWalkEC<N,D> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID K_ID
public static final OptionID ALPHA_ID
public static final OptionID C_ID
double alpha
double c
int k
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractDistanceBasedAlgorithm.Parameterizer<N,D extends NumberDistance<D,?>>
config
- Parameterization to add options to.protected void configK(Parameterization config)
config
- Parameterizationprotected void configAlpha(Parameterization config)
config
- Parameterizationprotected void configC(Parameterization config)
config
- protected CTLuRandomWalkEC<N,D> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer