Gets the value of the specified feature.
Gets the value of the specified feature.
the feature index
the feature value
Returns a copy of this feature vector, associated with a different outcome.
Returns a copy of this feature vector, associated with a different outcome.
the new desired outcome
a copy of this feature vector, associated with a different outcome.
Returns an iterator over all non-zero features in this feature vector.
The number of features in this feature vector.
The outcome of this feature vector.
A feature vector with integral features and outcome.