GithubHelp home page GithubHelp logo

chentingbupt / decision-tree-visualization-spark Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tristaneljed/decision-tree-visualization-spark

0.0 0.0 0.0 121 KB

๐ŸŒฒ Decision Tree Visualization for Apache Spark

Python 14.11% HTML 32.49% JavaScript 53.40%

decision-tree-visualization-spark's Introduction

Decision Tree Visualization for Apache Spark and Apache Zeppelin

Getting Started

Apache Spark provides its users the ability to implement Decision Trees algorithms in a very efficient way, however the output seems to be not so friendly for non-technical users. So this project is an attempt to visualize Collapsible Decision Trees using D3.js, by parsing the nested conditional statements to a JSON format, and using it as dataset for display.

Apache Spark is supported in Zeppelin with Spark interpreter group. In this project also is included Apache Zeppelin notebook template. You can import it and visualize your decision tree horizontally or vertically, which is also collapsible.

Languages & Technologies Used

  • Apache Spark
  • Apache Zeppelin
  • Python
  • HTML
  • JavaScript
  • D3.js

Usage

This is my own implementation and it works great for me, so you are free to use it, modify it, and create magic with it!

In Apache Zeppelin click Import Note and load 'decision-tree-zeppelin-notebook.json' as new notebook.

Live Demo

Horizontal Tree
Vertical Tree

decision-tree-visualization-spark's People

Contributors

osopromadze avatar tristaneljed avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.