Heavily inspired by https://towardsdatascience.com/diabetes-prediction-using-logistic-regression-with-tensorflow-js-35371e47c49d.
- node
- npm
npm install
npm start
and then open in your browser:
http://localhost:1234/index.html
After trained your model and the model and its weights have been downloaded, drop both JSON files (pretrained-model.json, pretrained-model.weight) into the 'public' and 'dist' folder.
src/index_complete.js