generator

package
v2.0.0-...-a7fc2a4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package generator is creting testing data for machine learning

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClassIt

func ClassIt(a []float64, c int) int

ClassIt calculate class for data. It is a little bit chaotic generator - to be hard for machine learning

func CreateDataset

func CreateDataset(N, Features, Classes int) ([][]float64, []int)

CreateDataset create test data with parameters N - size of dataset F - number of features Classes - number of classes (results).

Types

This section is empty.

Jump to

Keyboard shortcuts

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