MCPcopy Create free account
hub / github.com/tensorflow/tfjs-examples / writeCSV

Function writeCSV

intent-classifier/training/raw_to_csv.js:49–52  ·  view source on GitHub ↗
(data, path)

Source from the content-addressed store, hash-verified

47}
48
49function writeCSV(data, path) {
50 const csvStr = dsv.csvFormat(data, ['query', 'intent']);
51 fs.writeFileSync(path, csvStr, {encoding: 'utf8'});
52}
53
54function run(outPath) {
55 const DATA_FILES = [

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected