Package weka.core

Class HashableInstanceUsingSum

  • All Implemented Interfaces:
    Serializable, weka.core.Copyable, weka.core.Instance

    public class HashableInstanceUsingSum
    extends AbstractHashableInstance
    Computes the hashcode as sum of the internal double values.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • HashableInstanceUsingSum

        public HashableInstanceUsingSum​(weka.core.Instance data)
        Initializes the wrapper. Class is included in hashcode by default.
        Parameters:
        data - the instance to wrap