mirror of
https://github.com/sjwhitworth/golearn.git
synced 2025-04-28 13:48:56 +08:00
Pass false for header on iris dataset in README example
This commit is contained in:
parent
4988a1e8bc
commit
3d1384b78c
@ -39,7 +39,7 @@ func main() {
|
|||||||
// Load in a dataset, with headers. Header attributes will be stored.
|
// Load in a dataset, with headers. Header attributes will be stored.
|
||||||
// Think of instances as a Data Frame structure in R or Pandas.
|
// Think of instances as a Data Frame structure in R or Pandas.
|
||||||
// You can also create instances from scratch.
|
// You can also create instances from scratch.
|
||||||
rawData, err := base.ParseCSVToInstances("datasets/iris.csv", true)
|
rawData, err := base.ParseCSVToInstances("datasets/iris.csv", false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user