Skip to content
  1. Examples
  2. Gallery

AI recommendation system new

This example demonstrates how to integrate Ogma (for graph visualization) with TensorFlow.js (for in-browser machine learning). It uses the node characteristics and topology to predict fraud risk on the local data and provides the explanation of the prediction. It features:

  • Extracting node features (e.g. age, prior fraud count, transaction data).
  • Building a dataset from graph data (NodeList) in Ogma.
  • Training a small neural network in the browser using tfjs.
  • Predicting a fraud suspicion score (and confidence) per node in real time.
  • Updating the web component UI dynamically based on model output.