Package elki.projection
Class PerplexityAffinityMatrixBuilder.Par<O>
- java.lang.Object
-
- elki.projection.PerplexityAffinityMatrixBuilder.Par<O>
-
- Type Parameters:
O
- Object type
- All Implemented Interfaces:
Parameterizer
- Direct Known Subclasses:
NearestNeighborAffinityMatrixBuilder.Par
- Enclosing class:
- PerplexityAffinityMatrixBuilder<O>
public static class PerplexityAffinityMatrixBuilder.Par<O> extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected Distance<? super O>
distance
The distance function to use.protected double
perplexity
Perplexity.static OptionID
PERPLEXITY_ID
Perplexity parameter, the number of neighbors to preserve.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Parameterization config)
Configure the class.PerplexityAffinityMatrixBuilder<O>
make()
Make an instance after successful configuration.
-
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:Parameterizer
Configure the class.Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.
- Specified by:
configure
in interfaceParameterizer
- Parameters:
config
- Parameterization
-
make
public PerplexityAffinityMatrixBuilder<O> make()
Description copied from interface:Parameterizer
Make an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Object
as return type.- Specified by:
make
in interfaceParameterizer
- Returns:
- a new instance
-
-