Documentation
¶
Index ¶
Constants ¶
View Source
const ( Reset = "\033[0m" Red = "\033[31m" Green = "\033[32m" Yellow = "\033[33m" Blue = "\033[34m" Magenta = "\033[35m" Cyan = "\033[36m" Gray = "\033[37m" White = "\033[97m" )
View Source
const ( // Symbols Symbols = 11 // Input is the network input size Input = Symbols + 2*7 + 1 // Width is the width of the markov model Width = 3 // Height is the height of the markov model Height = 3 // Size is the size of the markov model Size = Width*Height - 1 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Model ¶
type Model struct { Query matrix.RandomMatrix Key matrix.RandomMatrix Value matrix.RandomMatrix Solution matrix.RandomMatrix Order matrix.RandomMatrix }
Model model is the random matrix model
type OptSingle ¶
OptSingle is an optimization
func GetSingleTrainingData ¶
GetSingleTrainingData gets the training data
func (OptSingle) TargetOffset ¶
TargetOffset is the target offset
func (OptSingle) TargetSize ¶
TargetSize is the size of the target
type Sample ¶
type Sample struct { Query matrix.Generator Key matrix.Generator Value matrix.Generator Solution matrix.Generator Order matrix.Generator Cost float64 Grid [][]int }
Sample is a sample
Click to show internal directories.
Click to hide internal directories.