MCPcopy Create free account
hub / github.com/cdipaolo/goml / LoadDataFromCSVToStream

Function LoadDataFromCSVToStream

base/data.go:95–152  ·  view source on GitHub ↗

LoadDataFromCSVToStream loads a CSV data file just like LoadDataFromCSV, but it pushes each row into a data channel as it scans. This is useful for very large CSV files where you would want to learn (using the online model methods) as you read from the data as to minimize memory usage. The errors c

(filepath string, data chan Datapoint, errors chan error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls

no outgoing calls