Documentation of 'org.encog.ml.data.temporal.TemporalPoint' Java class
TemporalPoint
org.encog.ml.data.temporal

Class TemporalPoint

  • All Implemented Interfaces:
    java.lang.Comparable<TemporalPoint>
    Direct Known Subclasses:
    MarketPoint


    public class TemporalPoint
    extends java.lang.Object
    implements java.lang.Comparable<TemporalPoint>
    A temporal point is all of the data captured at one point in time to be used for prediction. One or more data items might be captured at this point. The TemporalDataDescription class is used to describe each of these data items captured at each point.
    • Constructor Summary

      Constructors 
      Constructor and Description
      TemporalPoint(int size)
      Construct a temporal point of the specified size.
    • Constructor Detail

      • TemporalPoint

        public TemporalPoint(int size)
        Construct a temporal point of the specified size.
        Parameters:
        size - The size to create the temporal point for.
    • Method Detail

      • compareTo

        public int compareTo(TemporalPoint that)
        Specified by:
        compareTo in interface java.lang.Comparable<TemporalPoint>
      • getData

        public double[] getData()
        Returns:
        the data
      • getData

        public double getData(int index)
        Get the data at the specified index.
        Parameters:
        index - The index to get the data at.
        Returns:
        The data at the specified index.
      • getSequence

        public int getSequence()
        Returns:
        The sequence for this point.
      • setData

        public void setData(double[] data)
        Parameters:
        data - the data to set
      • setData

        public void setData(int index,
                            double d)
        Set the data at the specified index.
        Parameters:
        index - The index to set the data at.
        d - The data to set.
      • setSequence

        public void setSequence(int sequence)
        Parameters:
        sequence - the sequence to set
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.