Code Monkey home page Code Monkey logo

Comments (6)

cmungall avatar cmungall commented on June 10, 2024

I can confirm it's not avoiding any collapses, as if I reduce the ptable to omit 1

ie

A:1	B:1	0.0	0.0	0.95	0.05
B:1	C:1	0.0	0.0	0.95	0.05
A:1	C:1	0.99	0.0	0.01	0.0

then it correctly finds

B:1 EquivalentTo C:1    (most probable) 0.95
A:1 EquivalentTo B:1    (most probable) 0.95

from boomer.

balhoff avatar balhoff commented on June 10, 2024

I think the issue here is the high number of "windows" requested (100). Input rows are sorted according to their best probability, then the list of rows is chunked into the given number of windows. Across each independent run, shuffling occurs within each window, but the windows stay in the same total order. So it will always first add A ProperSubClassOf C. If you use a window value of 1, the rows are completely randomized and it is able to find the best solution.

from boomer.

balhoff avatar balhoff commented on June 10, 2024

See the logging at the beginning of a run (with 100 windows requested):

2021.02.05 14:32:54:070 [zio-def...] [INFO ] org.monarchinitiative.boomer.Boom.evaluate:30 - Bin size: 1; Most probable: 0.99
2021.02.05 14:32:54:091 [zio-def...] [INFO ] org.monarchinitiative.boomer.Boom.evaluate:30 - Bin size: 2; Most probable: 0.95
2021.02.05 14:32:54:095 [zio-def...] [INFO ] org.monarchinitiative.boomer.Boom.evaluate:33 - Max possible joint probability: -0.11263692462860261

The axioms in the first bin will always be added before proceeding to the next bin. Different runs will just shuffle the order of the two items in the second bin.

from boomer.

cmungall avatar cmungall commented on June 10, 2024

my ticket is in error... more later

from boomer.

balhoff avatar balhoff commented on June 10, 2024

I think we cleared this up. "windows" may not be as obvious as they ought to be but I think the UI will continue to evolve.

from boomer.

cmungall avatar cmungall commented on June 10, 2024

still an issue

A:1	B:1	0.0	0.0	0.95	0.05
B:1	C:1	0.0	0.0	0.95	0.05
A:1	C:1	0.99	0.0	0.01	0.0

running
boomer -t triangle.ptable.tsv -a triangle.owl -p prefixes.yaml -r 500 -w 1 -e 200 --output-internal-axioms true

yields

## SINGLETONS
Method: singletons
Score: -0.05129329438755058
Estimated probability: 1.0
Confidence: 1.0
Subsequent scores (max 10):

- [B:1](http://purl.obolibrary.org/obo/B_1) EquivalentTo [C:1](http://purl.obolibrary.org/obo/C_1)      (most probable) 0.95

and an incoherent output.ofn

image

from boomer.

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.