Skip to contents

Share of atomic claims the knowledge base supports; the ratio core is km111.

Usage

morie_kamath_factscore(atomic_claims, knowledge_base)

Arguments

atomic_claims

Claims.

knowledge_base

Predicate or vector.

Value

List with estimate, supported, unsupported.

Examples

V <- c(1, 2, 3, 4, 5, 6, 7, 8)
morie_kamath_factscore(V, V)
#> $estimate
#> [1] 1
#> 
#> $score
#> [1] 1
#> 
#> $supported
#> $supported[[1]]
#> [1] 1
#> 
#> $supported[[2]]
#> [1] 2
#> 
#> $supported[[3]]
#> [1] 3
#> 
#> $supported[[4]]
#> [1] 4
#> 
#> $supported[[5]]
#> [1] 5
#> 
#> $supported[[6]]
#> [1] 6
#> 
#> $supported[[7]]
#> [1] 7
#> 
#> $supported[[8]]
#> [1] 8
#> 
#> 
#> $unsupported
#> list()
#> 
#> $n_supported
#> [1] 8
#> 
#> $n
#> [1] 8
#> 
#> $method
#> [1] "FactScore (Kamath Ch 6; the ratio core in km111)"
#>