Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdaGrad ¶
type AdaGrad struct {
// contains filtered or unexported fields
}
AdaGrad behaviors as one of Glove solver.
func NewAdaGrad ¶
NewAdaGrad creates *AdaGrad.
type Glove ¶
type Glove struct { *model.Option *GloveOption *corpus.CountModelCorpus // contains filtered or unexported fields }
Glove stores the configs for Glove models.
func NewGlove ¶
func NewGlove(option *model.Option, gloveOption *GloveOption) *Glove
NewGlove creates *Glove.
type GloveOption ¶
type Sgd ¶
type Sgd struct {
// contains filtered or unexported fields
}
Sgd is stochastic gradient descent that behaviors as one of GloVe solver.
type Solver ¶
type Solver interface {
// contains filtered or unexported methods
}
Solver is the interface for training with GloVe.
type SolverType ¶
type SolverType int
const ( SGD SolverType = iota ADAGRAD )
func (SolverType) String ¶
func (t SolverType) String() string
Click to show internal directories.
Click to hide internal directories.