mirror of
https://github.com/sjwhitworth/golearn.git
synced 2025-05-03 22:17:14 +08:00
15 lines
305 B
Go
15 lines
305 B
Go
![]() |
/* Data - consists of helper functions for parsing different data formats */
|
||
|
|
||
|
package data
|
||
|
|
||
|
import "github.com/gonum/matrix/mat64"
|
||
|
|
||
|
type DataFrame struct {
|
||
|
Headers []string
|
||
|
Labels []string
|
||
|
Values *mat64.Dense // We first focus on numeric values for now
|
||
|
NRow int
|
||
|
NFeature int
|
||
|
NLabel int
|
||
|
}
|