data

package
v0.0.0-...-5072ca2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDataSplit

func CreateDataSplit(trainSize, testSize, validationSize, size int) ([]int, []int, []int)

func DegreeMatrix

func DegreeMatrix(adj [][]float64) [][]float64

func EncodeOneHot

func EncodeOneHot(labels []string) []int32

func IdentityMatrix

func IdentityMatrix(n int) [][]float64

func LoadData

func LoadData(path, dataset string) ([][]float64, [][]float64, []int32)

func NormalizeAdjacencyMatrix

func NormalizeAdjacencyMatrix(adj [][]float64) [][]float64

func Sum

func Sum(row []float64) float64

Types

This section is empty.

Jump to

Keyboard shortcuts

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