Package samer.models

Class BatchedTrainer

  • All Implemented Interfaces:
    Task


    public class BatchedTrainer
    extends AnonymousTask
    Manages a Model.Trainer to do batched learning. Calls accumulate() each iteration Flushes every iterations. Calls reset() on starting()
    See Also:
    Serialized Form
    • Method Detail

      • setBatch

        public void setBatch(int n)
      • getBatch

        public VInteger getBatch()
      • setPostFlush

        public void setPostFlush(Task t)
      • getPostFlush

        public Task getPostFlush()
      • setPreFlush

        public void setPreFlush(Task t)
      • getPreFlush

        public Task getPreFlush()
      • toString

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

        public void run()
                 throws java.lang.Exception
        Throws:
        java.lang.Exception