public final class VectorDictionary extends Object
VectorDictionary
PMML element.Constructor and Description |
---|
VectorDictionary()
Creates an empty
VectorDictionary |
Modifier and Type | Method and Description |
---|---|
List<String> |
getVectorFields()
Returns the fields that correspond to vectors in this dictionary.
|
Map<String,DoubleTokenSequence> |
getVectorsByID()
Returns the mapping from vector id to vector.
|
void |
setVectorFields(List<String> vectorFields)
Sets the fields that correspond to vectors in this dictionary.
|
void |
setVectorsByID(Map<String,DoubleTokenSequence> vectorsByID)
Sets the mapping from vector id to vector.
|
public final List<String> getVectorFields()
field
attributes
of the FieldRef
sub-elements.public final void setVectorFields(List<String> vectorFields)
field
attributes
of the FieldRef
sub-elements.vectorFields
- the fields that correspond to vectors in this dictionarypublic final Map<String,DoubleTokenSequence> getVectorsByID()
id
attribute of the VectorInstance
sub-elements.
The values in the map are the values of the body of the VectorInstance
sub-elements (which can either be Real-SparseArray
or REAL-ARRAY
).public final void setVectorsByID(Map<String,DoubleTokenSequence> vectorsByID)
id
attribute of the VectorInstance
sub-elements.
The values in the map are the values of the body of the VectorInstance
sub-elements (which can either be Real-SparseArray
or REAL-ARRAY
).vectorsByID
- the mapping from vector id to vectorCopyright © 2021 Actian Corporation. All rights reserved.