Class ATimeseriesAttribute<O>

  • Type Parameters:
    O - Type of the representation of a timeseries.
    All Implemented Interfaces:
    java.io.Serializable, org.api4.java.ai.ml.core.dataset.schema.attribute.IAttribute, org.api4.java.ai.ml.core.dataset.schema.attribute.INumericEncodingAttribute, org.api4.java.ai.ml.core.dataset.schema.attribute.IObjectAttribute<org.api4.java.ai.ml.core.dataset.schema.attribute.ITimeseries<O>>, org.api4.java.ai.ml.core.dataset.schema.attribute.ITimeseriesAttribute<O>
    Direct Known Subclasses:
    NDArrayTimeseriesAttribute

    public abstract class ATimeseriesAttribute<O>
    extends AGenericObjectAttribute<org.api4.java.ai.ml.core.dataset.schema.attribute.ITimeseries<O>>
    implements org.api4.java.ai.ml.core.dataset.schema.attribute.ITimeseriesAttribute<O>
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ATimeseriesAttribute​(java.lang.String name, int length)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int getLength()
      Get the length of this time series attribute type.
      int hashCode()  
      void setLength​(int length)  
      • Methods inherited from class ai.libs.jaicore.ml.core.dataset.schema.attribute.AAttribute

        getName
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.api4.java.ai.ml.core.dataset.schema.attribute.IAttribute

        deserializeAttributeValue, getAsAttributeValue, getName, getStringDescriptionOfDomain, isValidValue, serializeAttributeValue, toDouble
    • Constructor Detail

      • ATimeseriesAttribute

        protected ATimeseriesAttribute​(java.lang.String name,
                                       int length)
    • Method Detail

      • getLength

        public int getLength()
        Get the length of this time series attribute type.
        Returns:
        The length respec. the number of datapoints of this time series attribute.
      • setLength

        public void setLength​(int length)
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class AGenericObjectAttribute<org.api4.java.ai.ml.core.dataset.schema.attribute.ITimeseries<O>>