Perform an element by element addition between two instances
Perform an element by element addition between two instances
an Instance which is added up
a NullInstance
Get the value present at position index
Get the value present at position index
the index of the features
a Double representing the feature value, or 0 if the index is not present in the underlying data structure
Compute the Euclidean distance to another Instance
Compute the Euclidean distance to another Instance
the Instance to which the distance is computed
an infinite distance (implemented as Double.MaxValue)
Perform a dot product between two instances
Perform a dot product between two instances
an Instance with which the dot product is performed
a Double representing the dot product
Return an array of features and indexes
Return an array of features and indexes
an array of turple2(value,index)
Perform an element by element multiplication between two instances
Perform an element by element multiplication between two instances
an Instance which is multiplied
a NullInstance
Apply an operation to every feature of a NullInstance
Apply an operation to every feature of a NullInstance
the function for the transformation
a NullInstance
Aggregate the values of a NullInstance
Aggregate the values of a NullInstance
the function for the transformation
a value of 0
Add a feature to the instance
Add a feature to the instance
the index at which the value is added
the feature value which is added up
a NullInstance
A NullInstance is an Instance which does not contain anything in it. It is present to aid the design of Example, and to allow cases when we have instances which do not have output values. Every operation on a NullInstance with either return a NullInstance or a value of 0.