hex
Class Trainer.MapReduce

java.lang.Object
  extended by hex.Trainer
      extended by hex.Trainer.MapReduce
Enclosing class:
Trainer

public static class Trainer.MapReduce
extends Trainer

Distributed trainer. All tasks on a node update the same weights, like Threaded. Updates between nodes are synchronized at regular intervals by exchanging messages between the initiating machine and others. Requires input to be Frame.


Nested Class Summary
 
Nested classes/interfaces inherited from class hex.Trainer
Trainer.Base, Trainer.Direct, Trainer.MapReduce, Trainer.OpenCL, Trainer.Threaded
 
Constructor Summary
Trainer.MapReduce(Layer[] ls)
           
Trainer.MapReduce(Layer[] ls, int epochs, Key job)
           
 
Method Summary
 long items()
           
 void join()
           
 Layer[] layers()
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Trainer.MapReduce

public Trainer.MapReduce(Layer[] ls)

Trainer.MapReduce

public Trainer.MapReduce(Layer[] ls,
                         int epochs,
                         Key job)
Method Detail

layers

public Layer[] layers()
Specified by:
layers in class Trainer

items

public long items()
Overrides:
items in class Trainer

start

public void start()
Specified by:
start in class Trainer

join

public void join()
Specified by:
join in class Trainer