Network to be trained
Weight update algorithm to be applied
A spark context that network will be distributed
Input Operation that supervises how to manipulate input as matrices. This also controls how to compute actual network. (default: VectorType)
DistBelief-style Training criteria (default: DistBeliefCriteria)
Training Pair Type
Training Pair Type
Sampler Type
Sampler Type
Implicit weight operation
Implicit weight operation
Accumulator variable for counter
Accumulator variable for counter
Accumulator variable for networks
Accumulator variable for networks
Weight update algorithm to be applied
Weight update algorithm to be applied
Do mini-batch
Do mini-batch
Flag for batch : Is Batch remaining?
Flag for batch : Is Batch remaining?
Spark distributed networks
Spark distributed networks
Fetch weights
Fetch weights
current iteration
Flag for fetch : Is fetching?
Flag for fetch : Is fetching?
Iterate over given number of test instances
Iterate over given number of test instances
number of random sampled instances
iteratee function
Indicates whether the asynchrononus update is finished or not.
Indicates whether the asynchrononus update is finished or not.
future object of update
Logger
Logger
Input Operation that supervises how to manipulate input as matrices.
Input Operation that supervises how to manipulate input as matrices. This also controls how to compute actual network. (default: VectorType)
Fraction of negative samples
Fraction of negative samples
Negative Sampler
Negative Sampler
Partitioner for negative samples
Partitioner for negative samples
Network to be trained
Network to be trained
Training criteria (default: SimpleTrainingCriteria)
Training criteria (default: SimpleTrainingCriteria)
Set negative sampling method.
Set negative sampling method.
all training outputs that will be used for negative training
Set negative sampling method.
Set negative sampling method.
all training outputs that will be used for negative training
Set training instances
Set training instances
Set training instances
Sequence of training set
Set testing instances
Set testing instances
Set testing instances
Sequence of testing set
Non-blocking pending, until all assigned batches are finished
Non-blocking pending, until all assigned batches are finished
Test Set
Test Set
Size of test set
Size of test set
Fraction of mini-batch
Fraction of mini-batch
Training set
Training set
Unpersist all
Unpersist all
Send update of weights
Send update of weights
current iteration
Flag for update : Is updating?
Flag for update : Is updating?
size of training set
size of training set
Calculate validation error
Calculate validation error
validation error
Train Style : Semi-DistBelief Style, Spark-based.
Unlike with DistBelief, this trainer do updates and fetch by master not the workers.