Git Product home page Git Product logo

regressomatic's People

Contributors

capnrefsmmat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

regressomatic's Issues

Embedding API

I should make it easy to embed regressomatic plots in any HTML document.

It's already fairly easy, as evidenced by regression.html, but I should give a simple API to:

  • Specify the axes labels, data set, diagnostic to show, and statistics to provide
  • Select an empty element to dump them into.

Data could be provided as a JS array or as the URL of a CSV file, in which case we'd fetch the data and axes labels automatically.

This would require making a wrapper function that loads the data, populates the empty element with spots for regression and residuals, and calls regressionPlots.

Point labeling

Either (optionally) place auto-numbered labels next to each data point, or allow the data CSVs to contain row names in the first column, then place these labels on every data point.

Would be good for real-world datasets, like the famous body and brain weight dataset.

Outlier test lines

For studentized residuals, place lines for the Bonferroni-corrected outlier test.

Requires the quantiles of a t distribution, which we could take from jStat.

Change axes labels when data is logged

We have xlogged and ylogged variables, so we should be able to change the axes to "log X" or "log Y" when appropriate.

The trick is putting back the label when un-logged. I could stuff it into a DOM property somewhere, or put "log" in as a hidden span and just unhide it when necessary.

Non-destructive updates

Instead of completely replacing graphs when changing settings in custom.html, we should replace the axes and update the data through d3, so it can animate the transition.

Perhaps regressionPlots could be split into two parts: one that simply creates empty axes, and one that updates them with new data.

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.