dig-team / amie

Mavenized AMIE+Typing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question - Calculate PCA confidence on new KB

JohannaJo opened this issue · comments

Hello,
I was wondering if there is some way to use the code in this repo to calculate the PCA confidence of a set of rules (mined with AMIE+) over a new KB?

Hello,

I added a script to do just that. If you recompile the project you can call it this way:
java -cp amie3.jar amie.mining.utils.RecomputeConfidence :tMyOldRuleFile.tsv MyKbFile.tsv

You can give it multiple KB or rule files, but the rule files must be preceeded by ":t".

Regards,

Thank you so much for adding this!