Gets the value of the specified feature.
Gets the value of the specified feature.
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.
a copy of this feature vector, associated with a different outcome.
Returns an iterator over all non-zero features in this feature vector.
Returns an iterator over all non-zero features in this feature vector.
the number of features
the number of features
the outcome of the feature vector
the outcome of the feature vector
the set of features with value 1
A SparseVector is a feature vector with sparse binary features.
the outcome of the feature vector
the number of features
the set of features with value 1