Git Product home page Git Product logo

finder_code's Introduction

FINDER


by Andreas Nold and Pietro Verzelli

FINDER is a (meta)-clustering algorithm developed for Single Molecule Localization Microscopy (SMLM). It was introduced in our paper 'Unbiased choice of global clustering parameters for single-molecule localization microscopy'.

Please consider citing it:

@article{verzelli2022unbiased,
  title={Unbiased choice of global clustering parameters for single-molecule localization microscopy},
  author={Verzelli, Pietro and Nold, Andreas and Sun, Chao and Heilemann, Mike and Schuman, Erin M and Tchumatchenko, Tatjana},
  journal={Scientific Reports},
  volume={12},
  number={1},
  pages={22561},
  year={2022},
  publisher={Nature Publishing Group UK London}
}

For some examples of its usage and all the code used to generate the experiments of the paper, you can refer to this repo.

Installation


The simplest way to install Spektral is from PyPi:

pip install finder_smlm 

To install FINDER on Google Colab:

! pip install finder_smlm

Using FINDER


Using FINDER is really simple. Here we provide a minimal working example in which we cluster some randomly generated data.

from finder import Finder
import numpy as np

XC = np.random.rand(100, 2) # generate random data to cluster

FD = Finder() # define the model
labels = FD.fit(XC) # fit the data, returning the labels
result = FD.selected_parameters 
print(result)

to your code, analogous to DBSCAN in the sklearn.cluster package. FINDER will choose global clustering parameters according to the overall noise levels / the robustness detected in the dataset.

finder_code's People

Stargazers

 avatar Ben Cardoen avatar

Watchers

Pietro Verzelli avatar

finder_code's Issues

example XC in readme, python version

Hi Pietro,
in the readme, maybe we can have an example that runs straight away (i.e. define some example XC).
I tried to run it one a small white noise sample:

`from finder import Finder
import numpy as np

XC = np.random.rand(100, 2)

FD = Finder()
labels = FD.fit(XC)
result_ = FD.selected_parameters`

But there was some issue with numpy (AttributeError: module 'numpy' has no attribute 'int'.), ie probably a version issue. Which python version did you test it on? (The current environment I was testing it in was using the old Python 3.8.11).

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.