Git Product home page Git Product logo

Comments (1)

ayeltg avatar ayeltg commented on August 18, 2024

Hi, thanks for your interest in the apple picker!

First, I will give a little background:
The apple picker extracts query windows from the micrograph and assigns a score to each. The higher a window scores, the more likely it contains a particle projection. In the next step, we would like to train an SVM classifier from a subset of these windows. That is, we would like to use some query windows as positive examples (projections) and others as negative examples (noise). For this training we will only use the query windows most likely to contain a projection and those most likely to contain noise. In the python version, we use as positive example the tau1 highest scoring query windows; As these windows scored the highest, they are the most likely to contain projections. Next, we locate the negative examples. We do not use all the remaining query windows as negative examples since the query windows have some overlap. Rather, we use any query window that has no overlap with the tau2 highest scoring query windows.

You are correct that in this code tau1 and tau2 are integers -- they are the number of query windows rather than the percentage. The overall number of query windows is approximately (2N/M) squared (where the micrograph is of size NxN and the query windows are MxM), so the conversion to percentage is straightforward.

As for some rules of thumb:
tau1 can usually be set to 600. In micrographs with very many projections you should increase this number, and in micrographs with very few projections you should decrease it.
tau2 has a larger dependence on the size of your micrograph and query window. You should usually use 30%-50% of the number of query windows (2N/M squared) as tau2. Again, in micrographs with very many or very few projections this should be adjusted.

Let me know if you have any more questions,
Ayelet

from applepicker-python.

Related Issues (9)

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.