Update: Learning TensorFlow.js Book by Gant Laborde
- Jorge Guerra Pires
- Jul 20, 2023
- 1 min read

On chapter 9: Classification Models and Data Analysis.
Attention to updates on the library danfojs.
On book
"const df = await dfd.read_csv("file://../../extra/titanic data/train.csv");
df.head().print();"
Updated
const df = await dfd.readCSV("file://../../extra/titanic data/train.csv");
df.head().print();
For Angular devs, you can also use the library, even though I would suggest another one from TensorFlow.js directly.
npm install danfojs
npm install jquery <-- Optional. The demo runs without it too.
Add "scripts": ["./node_modules/jquery/dist/jquery.min.js"] to angular.json <-- Optional.
Source: Stack OverFlow
Comments