Empowering machine learning architecture using D3Js.

We all know a saying “A picture is worth a thousand words”. This statement has never been more accurate than in reference to a well thought out data visualization. Using charts or graphs to visualize large amounts of complex data is easier than poring over spreadsheets or reports.First and most important step in machine learning is to understand data. Predictions will not be accurate if they are built without understanding underlying data.  Visualization can help in answering “why model is predicting Class#A and not Class#B”. In this article I will talk about how I have used D3Js along side NN ( see example - here).

Why D3Js?

   There are tools like TableAu, Qlikview that can help in visualizing data. Python and R libraries can be used as well then why D3Js?. Answer is simple – D3Js is the best way to create powerful, interactive visualization at lowest possible cost. 

D3Js is extremely fast, responsive and supports large data sets too for creating dynamic animations in web browsers. Developed visuals can be accessed from mobiles or computer. There are initial efforts required to build foundation. Once that is done then you are set to touch the sky. Thanks to Mr. Mike Bostock for making this powerful library open source.

Example

 Please see sample example here. predictions are made using neural network classification algorithm. D3Js is showing predictions and probability for each class.

D3Js in analytics

 I feel D3Js is a good fit in scoring process and make predictions available to the users.   This can be used in model building phase as well but it might not offer major benefits over native python and R libraries. Real power of this D3Js will be in real time analytics (I will cover this in next posts)


To view or add a comment, sign in

More articles by Sudhir Jangam

  • Don't Build UI Until You Build the Brain

    Most AI projects fail because they start with the "Wrapper" and not the "Workflow." I’m starting a new series where I…

  • Stop prompting start delegeting : Understanding the Shift from GenAI to Agentic AI

    For the last two years, we’ve been obsessed with "how to talk to AI." We learned about prompt engineering and how to…

    2 Comments
  • Why foundational GenAI models aren’t enough — and why RAG matters

    Generative AI is evolving fast — but so is the gap between what powerful foundational models can do and what businesses…

  • Beyond Imitation: Crafting Data Strategies That Suit Your Unique Business Needs

    In the age of data-driven decision-making, many companies look to tech giants like Google, Amazon, and Facebook as the…

    4 Comments
  • Pitfalls In Enterprise ML Strategy

    Each BI strategy presentation talks about machine learning and actionable insights. It looks magical and exciting on…

    2 Comments
  • Cloud Strategy - Myths and Realities

    Cloud is one of the biggest buzzword for years. Now it’s on CEOs top agenda, technology and business teams are blindly…

  • Geovisualization on COVID19

    In today’s world enterprises are processing lots of data. That data is of no use if it can’t provide any actionable…

  • Unnoticed Gem - HBASE

    Last decade of technology and data world was dominated by Hadoop and NoSQL. Organizations were racing to adopt these…

    2 Comments
  • Build REST services on AWS

    Building REST APIs that are secure, scalable and manageable is quite a challenging task. You can read my earlier blog…

  • REST APIs on AWS

    I started this as a small project to build a RESTful API to serve data in RDBMS. Aim was to build RESTful API on AWS…

    5 Comments

Others also viewed

Explore content categories