gogen

command module
v0.0.0-...-f2ae4d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 4 Imported by: 0

README

gogen

A simple manually built neural network model to generate names. The model has one input and one output layer with no hidden layers.

The model input is one-hot encoding of a char and the output is the probability score for each char. The chars include all lower-case letters plus '^' for the beginning of a names and '$' for the end of a name.

We use softmax to compute the probability scores. The loss function is the softmax cross-entropy.

Model paramaters is a matrix of 28 x 28 since the input is a vector of size 28 representing one-hot encoding of a char and the output is also of size 28 representing probability score of each char.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL