How to retract rules from pyDataLog

157 Views Asked by At

I'm implementing a FOIL-like algorithm in which I want to efficiently try different hypotheses (i.e., clauses) while I keep the rest of data untouched. I was wondering how without using clear() function, I could retract a rule?

1

There are 1 best solutions below

0
Pierre Carbonnelle On BEST ANSWER

You can use:

load("-(head <= body)")