dataset

package
v0.0.0-...-7ce53e0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dataset

type Dataset interface {
	// XY should return two tensors, one for a 28x28 trainings dataset,
	// and one for the expected result as a tensor with a shape of 10.
	XY() (tensor.Tensor, tensor.Tensor, error)

	// Epochs should return the number of epochs that are required for
	// a properly trained network.
	Epochs() int

	// TestRatio should return the ratio as a float between 0 and 1
	// indicating how much of the data provided by XY can be used for
	// testing the network.
	TestRatio() float64
}

Dataset describes the interface that is used in the network for describing/providing datasets to be trained.

Directories

Path Synopsis
package mnist handles the mnist data set package mnist handles the mnist data set
package mnist handles the mnist data set package mnist handles the mnist data set

Jump to

Keyboard shortcuts

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