Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prediction ¶
type Prediction struct {
// contains filtered or unexported fields
}
Prediction is the based type that can be used as a training dataset
func NewPrediction ¶
func NewPrediction(input string, runeToIdx func(r rune) (int, error), sampleSize, vocabSize int) *Prediction
NewPrediction return an object suitable for the LSTM
type TrainingSet ¶
type TrainingSet struct {
// contains filtered or unexported fields
}
func (*TrainingSet) GetTrainer ¶
func (t *TrainingSet) GetTrainer() (datasetter.Trainer, error)
Click to show internal directories.
Click to hide internal directories.