Code Monkey home page Code Monkey logo

Comments (3)

Marius1311 avatar Marius1311 commented on June 8, 2024

nice linear algebra programming exercise :) But I guess to make this fast, you would have to implement in C++ and interface to python. So it's probably best to check first whether standard C/C++/Fortran libraries like ARPACK, LAPACK or BLAS already have the ingredients you need for this. I'm sure there must be something in there for estimating either the condition number directly, or it's ingredients (e.g. smalles and largest singluar value of sparse matrices)

from cellrank.

Marius1311 avatar Marius1311 commented on June 8, 2024

Hi @michalk8 , please have a look through SLEPSc and PETSc whether they offer anything useful here. The github you posted essentially tries to solve some (potentially shifted) least squares problem using an iterative (I believe lanczos) solver. There is no point in re-implementing this, it will never be efficient. If we want to have a useful implementation, then we need to find the paper that described this procedure and re-implement it using efficient solvers from SLEPSc or PETSc. Re-implementing that github as it is would be re-inventing the wheel with no chances of success.

If you're not interested, feel free to close this, it's absolutely not essential.

from cellrank.

michalk8 avatar michalk8 commented on June 8, 2024

Yes, I think this is too much of a low-prio right now.

from cellrank.

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.