core

package
v0.0.0-...-c94c680 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 7 Imported by: 0

README

core

Пакет фундаментального функционала

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeMatrixFromTrain

func MakeMatrixFromTrain(train Train) (M *mat.Dense)

func MatPrint

func MatPrint(A mat.Matrix)

MatPrint print Matrix to Stdout

func VecPrint

func VecPrint(v *mat.VecDense)

VecPrint print vector in stdout

Types

type CSVReader

type CSVReader struct {
	Path string
	Rows int
	Data []Row
}

func (*CSVReader) Read

func (r *CSVReader) Read(makeTrain bool) (train Train)

Read read data from csv file to CSVReader instance

type Reader

type Reader interface {
	Read()
}

type Row

type Row struct {
	Data     []float64
	Elements int
}

Row is row of data

type Train

type Train *[]Row

Jump to

Keyboard shortcuts

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