Documentation of 'com.yahoo.egads.control.ModelAdapter' Java class
ModelAdapter
com.yahoo.egads.control

Class ModelAdapter



  • public class ModelAdapter
    extends java.lang.Object
    • Constructor Detail

      • ModelAdapter

        public ModelAdapter(TimeSeries theMetric,
                            long period,
                            long firstTimeStamp)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • ModelAdapter

        public ModelAdapter(TimeSeries theMetric,
                            long period)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • ModelAdapter

        public ModelAdapter(java.lang.String theMetric,
                            long period)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • setMetric

        public void setMetric(TimeSeries theMetric,
                              long period)
      • setMetric

        public void setMetric(TimeSeries theMetric,
                              long period,
                              long firstTimeStamp)
      • setMetric

        public void setMetric(java.lang.String theMetric,
                              long period)
      • getModelNames

        public java.lang.String[] getModelNames()
      • reset

        public void reset()
      • train

        public void train()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • update

        public void update(TimeSeries.DataSequence newData)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • forecast

        public java.util.ArrayList<TimeSeries.DataSequence> forecast(long from,
                                                                     long to)
                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.