Coder Social home page Coder Social logo

Comments (5)

Skylion007 avatar Skylion007 commented on July 2, 2024

Here are a few that may work well:

https://github.com/themadcreator/luqr
https://www.npmjs.com/package/m4th
https://github.com/larspars/linalg.js/

from webgazer.

Skylion007 avatar Skylion007 commented on July 2, 2024

So apparently, CLMR tracker relies on numeric.js as a dependency. Numeric.js is a very useful Javascript library that includes a highly optimized linear algebra library. Commit e8a9de6 begins the process by replacing the unoptimized mat.js function with a call to Numeric.js. Note: Numeric.js does not currently support QRDecomposition, we will need to keep that implemented, but it does support matrix multiplication so we should replace matrix multiplication calls with it. On a side note, we may want to submit our QR Decomposition algorithm as a pull request to numeric.js

from webgazer.

Skylion007 avatar Skylion007 commented on July 2, 2024

Now that we have an optimized version of LUDecomposition, we may be able to still further improve performance if we use the GPU to parallel these operations. Finally found a Javascript library that may be suited to the task of implementing complex functions such as LUDecomposition within the GPU. If anyone can these operations implemented, let me know. They also have a nice little kernel playground here

Update: I have actually found several libraries that could be useful.
https://github.com/stormcolor/webclgl

Additionally, if anyone has any experience with some of these GPU libraries feel free to give a shot and implementing and bench marking the results.

from webgazer.

Skylion007 avatar Skylion007 commented on July 2, 2024

Faster matrix libraries now exists that can operate on typed Javascript arrays on both GPU and CPU. When #118 lands we should consider rewriting our matrix libraries to do as much compute on the GPU as possible and also use the various utilities such as image resizing.

from webgazer.

Skylion007 avatar Skylion007 commented on July 2, 2024

WASM SIMD has landed into Firefox and Chrome so we can use that now for even further performance. We should also update TF.js to use the WASM backend when available.

from webgazer.

Related Issues (20)

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.