class Cadmium::Glove::Workers::TrainingWorker
- Cadmium::Glove::Workers::TrainingWorker
- Reference
- Object
Defined in:
glove/workers/training_worker.crConstructors
-
.new(calling_class : Model, indices : Array(Tuple(Int32, Int32)))
Creates a new
TrainingWorker
instance
Instance Method Summary
- #alpha(*args, **options)
- #alpha(*args, **options, &)
- #apply_weights(w1, w2, loss, word_a_norm, word_b_norm)
- #calc_weights(w1, w2, prediction = 0.0, word_a_norm = 0.0, word_b_norm = 0.0)
- #cooc_matrix(*args, **options)
- #cooc_matrix(*args, **options, &)
- #indices : Array(Tuple(Int32, Int32))
- #learning_rate(*args, **options)
- #learning_rate(*args, **options, &)
- #max_count(*args, **options)
- #max_count(*args, **options, &)
- #run
- #threads(*args, **options)
- #threads(*args, **options, &)
- #word_biases : Array(Float64)
- #word_vec : Apatite::Matrix(Float64)
- #work(slice)
Constructor Detail
Creates a new TrainingWorker
instance