Giter VIP home page Giter VIP logo

Comments (5)

Peter554 avatar Peter554 commented on September 18, 2024 1

I would also be interested to swap out SPAMS for a more standard dependency like sklearn if possible. Presently I use SPAMS for two tasks:

  • Lasso regression in get_concentrations for FancyNormaliser.
  • Dictionary learning in Vahadane method.

SPAMS has the nice functionality that you can constrain variables to be positive when dictionary learning (http://spams-devel.gforge.inria.fr/doc-python/html/doc_spams004.html#sec5) which is needed for Vahadane and I don't see this in sklearn (http://scikit-learn.org/stable/modules/generated/sklearn.decomposition.DictionaryLearning.html)? For the lasso regression we also want a positivity constraint but I believe this is possible in both SPAMS (http://spams-devel.gforge.inria.fr/doc-python/html/doc_spams005.html#sec15) and sklearn (http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Lasso.html).

Whether SPAMS or sklearn I prefer to use the same for both tasks for consistency and keeping number of dependencies down - that's why I use SPAMS at the moment.

from staintools.

Peter554 avatar Peter554 commented on September 18, 2024

Well you're more than welcome to try - won't know how effective this would be until then. If it works we could keep both methods and leave choice up to user?

from staintools.

jgamper avatar jgamper commented on September 18, 2024

label as discussion?

from staintools.

Peter554 avatar Peter554 commented on September 18, 2024

SPAMS is now available via PyPI test site and will hopefully be on PyPI soon so closing for now

from staintools.

andreped avatar andreped commented on September 18, 2024

@jgamper did you find any solutions that sped up the augmentor? I've been testing out Macenko augmentation in my pipeline, but sadly its just too slow for me to properly utilize the GPU. Would be nice to have this augmentor as a tensorflow-layer or similar to run this more efficiently, but then on GPU. But perhaps I'll look into other faster alternatives. Currently, HSV is the way to go, but I feel like its just a little too näive for H&E-stained WSIs

from staintools.

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.