Score one ontology assignment by feasibility
Source:R/03-02-feasibility-score.R
feasibility_score.RdScore one ontology assignment by feasibility
Arguments
- pred
Character length-3
c(type, class, subclass); useNA/""for levels the detector did not reach.- ideal
Character length-3
c(type, class, subclass)from the crosswalk; all-empty means a NULL target (no formex home).- feasible_depth
Integer 0-3: deepest level reachable from values on the ideal path (0 none, 1 type, 2 class, 3 subclass).
- pred_unit, ideal_unit
Optional unit/system/projection strings for the unit-recovery flag.