Comments (1)
Hi Will,
Indeed your three questions can be answered by a single answer:
- The in
g.marginals[0]["even_nickname"]
is a vector or higher order array of probabilities. Additional dimensions will be present in case the realization of the considered event is conditionally dependent on other events.g.marginals[1]["even_nickname"]
will give you the order of the dimensions. - As for realizations themselves there are three different properties you are referring to, it will be easier to understand for the case of gene choice as for the peculiar choice of insertions the 3 can be redundant:
R.name
: the realization name, e.g for gene choices the name of the geneR.value
: the actual value associated with the realization name, e.g for gene choice the actual gene sequenceR.index
: the realization index on the marginal array. So if you want the probability of the realizationR
just access ```g.marginals[0]["even_nickname"][R.index]` (note this only works with the 1 dimensional example, otherwise you will have to specify indices for the others dimensions too)
These properties are the same than the ones described for the C++ interface: https://github.com/qmarcou/IGoR#inference-and-evaluation-output
The fact that for insertions the 3 properties are equal is true only if the model has been constructed in a special way defining a range of authorized number of insertions. Bottom line: stick with using R.index
even for insertions
Hope this helps
from igor.
Related Issues (20)
- File not found when IGoR is installed locally HOT 1
- Errors: python to parse the output results? HOT 2
- Model edge gene choice relations differ HOT 1
- Chain IGoR commands HOT 1
- Missing unknown subargument error for -output HOT 1
- Using the --coverage output subarg HOT 1
- using the --coverage error
- make new database HOT 2
- make check failures but make install worked HOT 1
- Segmentation Fault in -run_demo HOT 5
- Limiting IGoR's CPU usage HOT 1
- Install error HOT 2
- How to get everyone sequence clonotype ?
- the result file foo_indexed_CDR3s.csv HOT 1
- segfault with gcc > 7 HOT 2
- IGoR over-estimating TCR V deletions?
- installation from source
- All 0 output in infer and question about L_thresh
- Remove superfluous IMGT information in TCR beta model parms file
- Undefined reference error during compling
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from igor.