sorgerlab / indra

INDRA (Integrated Network and Dynamical Reasoning Assembler) is an automated model assembly system interfacing with NLP systems and databases to collect knowledge, and through a process of assembly, produce causal graphs and dynamical models.
http://indra.bio
BSD 2-Clause "Simplified" License
173 stars 65 forks source link

Add optional residue/position feature to CountScorer #1396

Closed johnbachman closed 1 year ago

johnbachman commented 1 year ago

Adds a feature to the CountsScorer to indicate whether a statement has (not-None) residue and position fields. When used to train a Belief model on Modification statements that have been sitemapped, this allows the model to exploit the information that the extracted residue and position corresponds to the target substrate (i.e., increase the likelihood that those elements of the statement are correct).