Package elki.datasource.parser
Class LibSVMFormatParser.Par<V extends SparseNumberVector>
- java.lang.Object
-
- elki.datasource.parser.AbstractStreamingParser.Par
-
- elki.datasource.parser.NumberVectorLabelParser.Par<V>
-
- elki.datasource.parser.LibSVMFormatParser.Par<V>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- LibSVMFormatParser<V extends SparseNumberVector>
public static class LibSVMFormatParser.Par<V extends SparseNumberVector> extends NumberVectorLabelParser.Par<V>
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
-
Fields inherited from class elki.datasource.parser.NumberVectorLabelParser.Par
factory, LABEL_INDICES_ID, labelIndices, VECTOR_TYPE_ID
-
Fields inherited from class elki.datasource.parser.AbstractStreamingParser.Par
format
-
-
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.protected void
getFactory(Parameterization config)
Get the object factory.LibSVMFormatParser<V>
make()
Make an instance after successful configuration.-
Methods inherited from class elki.datasource.parser.NumberVectorLabelParser.Par
getLabelIndices
-
-
-
-
Method Detail
-
getFactory
protected void getFactory(Parameterization config)
Description copied from class:NumberVectorLabelParser.Par
Get the object factory.- Overrides:
getFactory
in classNumberVectorLabelParser.Par<V extends SparseNumberVector>
- Parameters:
config
- Parameterization
-
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
- Overrides:
configure
in classNumberVectorLabelParser.Par<V extends SparseNumberVector>
- Parameters:
config
- Parameterization
-
make
public LibSVMFormatParser<V> 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
- Overrides:
make
in classNumberVectorLabelParser.Par<V extends SparseNumberVector>
- Returns:
- a new instance
-
-