/tensorflow-js-instagram

Detect fake instagram profiles with logistic regression and Tensorflow.js

Primary LanguageJavaScript

Detecting fake instagram profiles with Tensorflow JS and Logistic regression

Heavily inspired by https://towardsdatascience.com/diabetes-prediction-using-logistic-regression-with-tensorflow-js-35371e47c49d.

Requirements

  • node
  • npm

Install

npm install

Run

npm start

and then open in your browser:

http://localhost:1234/index.html

Test results

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.

Complete solution

src/index_complete.js