Code Monkey home page Code Monkey logo

decision-tree-vis's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

decision-tree-vis's Issues

Data is null

Not able to find this data/d3tree_data.json file in decision tree visualisation in
dtvis/index.html??

Error : data is null

requirements-brewer2mpl

  • Add requirements file
  • Raise a custom error if brewer2mpl is not found, alerting the user that they should install the package if they would like to use the default colors, otherwise they can specify their own colors.

decision path first column sign

The first column in the decision tree always shows lower or equal sign even if it is the greater than branch. The higher order branches switch signs as they should.

solve jupyter notebook inclusion problem

Depending on the security settings of the browser, external data file may not be imported when trying to open the decision tree html file in a Jupyter Notebook cell as an iframe. A simple solution would be to build an index.html template where the data gets directly coded in rather than read in from an external json.

Small changes

ensure that decision paths search works alphabetically
Increase the size of the decision path table, if the table is too small, long lines can get chopped.

read sklearn data into D3

Sklearn decision trees are stored as preorder DFSs, a D3 tree needs rather a hierarchical structure

bar chart positioning

Bar charts work for leaf nodes but not really for internal ones, currently when bar chart data is loaded, it does not know if it is a leaf node or not so we cannot give a different position depending on it. Either allow bar charts only for leaf nodes or pass whether the node has children in leaftable, e.g., by including a hasChildren switch.

percentages/probabilities instead of actual numbers in crosstab mouseover

Currently, mouseover brings up a crosstab of class x true/false, however, if the decision tree has a balanced weighting scheme, the sample sizes will show the weighted (balanced) sample size instead of the real one. In this case, it would make much more sense to show percentages of sample size instead of sample size.

leaf node labels

Add leaf node labels to the rectangles when the selected plot type is 'no-bar'

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.