GithubHelp home page GithubHelp logo

menesesghz / polynomial-regression-js Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.48 MB

A polynomial regression interface to experiment with. Made with react JS, Chart.js and Mathjs.

Home Page: https://menesesghz.github.io/polynomial-regression-js/

License: MIT License

HTML 13.11% JavaScript 86.89%
chartjs mathjs reactjs

polynomial-regression-js's Introduction

menesesghz.github.io

Repository for my portfolio website

polynomial-regression-js's People

Contributors

menesesghz avatar

Stargazers

 avatar

Watchers

 avatar

polynomial-regression-js's Issues

add points directly by clicking on the graph

Currently, we click on points on the grid and then they get added to the graph. Is there any way we can modify this such that we can add points by directly clicking on the graph itself?

Linear system cannot be solved since matrix is singular at _denseBackwardSubstitution

I was trying to run the program here https://codesandbox.io/s/opur8?file=/src/PolynomialRegression.js

but after adding like 5-6 points when I increase the order/degree to around 4 or 5, I start seeing an error in the console log:

Error: Linear system cannot be solved since matrix is singular
    at _denseBackwardSubstitution (https://opur8.csb.app/node_modules/mathjs/lib/esm/function/algebra/solver/usolve.js:41:17)

    at Function.DenseMatrixArrayMatrix 

why is this so? After this error, there are no more changes in the graph even if we increase the degree.

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.