Use this tag for questions about Experta, a Python library for building expert systems.
Questions tagged [experta]
5 questions
0
votes
0 answers
How can I fix the Kivy Textfield not accepting user input while developing rule-based expert systems with Expetra?
I were developing rule based expert systems with experta and the user interface with kivy. The kivy textfield is not accepting the user input, and it can't process, transform and give recommendation for the user, please help me in fixing it
The .kv…

Selman Jemal
- 1
- 2
0
votes
0 answers
How to highlight the path in the flowchart using pydot?
I built a rules engine for iris flowers using and, or conditions and I would like to generate the flowchart using those rules. I could able to generate the flowchart for all the rules mentioned in the rules engine but I want to hightlight the path…

merkle
- 1,585
- 4
- 18
- 33
0
votes
1 answer
how to extract the rules from rules engine of experta library
I am trying to extract the rules from the rules engine that I build using experta library.
Below is the code
from experta import *
import pydot
class Iris(Fact):
"""IRIS"""
sepal_length = Field(float)
sepal_width = Field(float)
…

merkle
- 1,585
- 4
- 18
- 33
0
votes
1 answer
How to generate a flow chart using the rules engine in python?
I would like to generate a flow using the rules that I defined in the rules engine. Below is the code
from pyknow import *
import pydot
class Wine(Fact):
"""Wine characteristics"""
pass
class Quality(Fact):
"""Wine quality"""
…

merkle
- 1,585
- 4
- 18
- 33
0
votes
1 answer
Python/Experta Rule engine not running as expect
I have the following code, and the Experta engine gives unexpected output: None. Is the P predicate function applied correctly?
from experta import Fact, KnowledgeEngine, L, AS, Rule, P, AND
class QuoteFact(Fact):
"""Info about the traffic…

user1187968
- 7,154
- 16
- 81
- 152