cross_validation

package
v0.0.0-...-5b50cff Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2014 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TrainTestSplit

func TrainTestSplit(size interface{}, randomState interface{}, datasets ...*mat.Dense) ([]*mat.Dense, error)

TrainTestSplit splits input DenseMatrix into subsets for testing. The function expects a test size number (int) or percentage (float64), and a random state or nil to get "random" shuffle. It returns a list containing the train-test split and an error status.

Types

This section is empty.

Jump to

Keyboard shortcuts

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