Class DefaultObservation

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector<Double>
org.tweetyproject.machinelearning.DefaultObservation
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Double>, Collection<Double>, List<Double>, RandomAccess, Observation

public class DefaultObservation extends Vector<Double> implements Observation
A default observation is a vector of double values.
Author:
Matthias Thimm
See Also:
  • Constructor Details

    • DefaultObservation

      public DefaultObservation()
  • Method Details

    • toSvmNode

      public libsvm.svm_node[] toSvmNode()
      Description copied from interface: Observation
      Returns the svm_node (the data model of libsvm) representation of this observation.
      Specified by:
      toSvmNode in interface Observation
      Returns:
      an array of svm_node.