Class FvParameters
java.lang.Object
com.chemaxon.descriptors.vectors.floats.FvParameters
- All Implemented Interfaces:
DescriptorParameters,Serializable
@Beta
@PublicApi
public final class FvParameters
extends Object
implements DescriptorParameters, Serializable
Parameters for generic float vector descriptor.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for FvParameters.static enumRepresentation of the vector coordinates.static enumOptimization for sparse vectors. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault length (dimensions).static final FvParameters.NumericRepresentationDefault numeric representation.static final doubleDefault max value for scaling.static final doubleDefault min value for scaling.static final FvParameters.SparseCompressionDefault compression. -
Constructor Summary
ConstructorsConstructorDescriptionConstruct with default values.FvParameters(FvParameters.Builder builder) Constructor based on a builder. -
Method Summary
Modifier and TypeMethodDescriptionstatic FvParameters.BuilderConstruct a builder for this parameter class, initialized to default.Return the represented descriptor generator.intReturns represented fingerprint length (bit count) setting.Numeric representation.doubleMax value for scaled fixed point representations.doubleMin value for scaled fixed point representations.Sparse compression.toString()
-
Field Details
-
DEFAULT_LENGTH
public static final int DEFAULT_LENGTHDefault length (dimensions).- See Also:
-
DEFAULT_NUMERIC_REPRESENTATION
Default numeric representation. -
DEFAULT_SCALED_MIN
public static final double DEFAULT_SCALED_MINDefault min value for scaling.- See Also:
-
DEFAULT_SCALED_MAX
public static final double DEFAULT_SCALED_MAXDefault max value for scaling.- See Also:
-
DEFAULT_SPARSE_COMPRESSION
Default compression.
-
-
Constructor Details
-
FvParameters
Constructor based on a builder.- Parameters:
builder- Builder which current state will be represented.
-
FvParameters
public FvParameters()Construct with default values.
-
-
Method Details
-
getDescriptorGenerator
Description copied from interface:DescriptorParametersReturn the represented descriptor generator.Please note that certain descriptors might provide multiple
DescriptorGeneratorimplementations for different descriptor representations. (Consider structure based fingerprints feature list/feature counts/folded finite binary vector representations.) Such different descriptor generators might be exposed through their parameters object as multiple factory methods.- Specified by:
getDescriptorGeneratorin interfaceDescriptorParameters- Returns:
- Associated generator
-
toString
-
createNewBuilder
Construct a builder for this parameter class, initialized to default.- Returns:
- Builder initialized to default settings
-
getLength
public int getLength()Returns represented fingerprint length (bit count) setting.- Returns:
- Fingerprint length
-
getNumericRepresentation
Numeric representation.- Returns:
- Numeric representation of underlying vector
-
getSparseCompression
Sparse compression.- Returns:
- Optimization for sparse vectors.
-
getScaledMax
public double getScaledMax()Max value for scaled fixed point representations.- Returns:
- max value
-
getScaledMin
public double getScaledMin()Min value for scaled fixed point representations.- Returns:
- min value
-