expert-system

Developing a computer hardware troubleshooter expert system

人走茶凉 提交于 2019-12-11 09:49:02
问题 I want to develop an expert system(or knowledge based system to be more general) that troubleshoots computer hardware problems. I have chosen Python as my language and Pyke as my inference engine. The problem is that i don't know from where to start or how to design the facts and rules that i will act upon. I searched for an open source similar to that project but didn't find any. Any Help will be appreciated. 回答1: Check out the TED expert system Abrams tank maintenance: http://www.aaai.org

PHP function to increment variable by 1 each time

亡梦爱人 提交于 2019-12-10 15:46:52
问题 I have started writing a PHP script for a game about creatures, there are 4 yes/no questions and what I am trying to do is write a function that will display 2 buttons that say yes and no and give then different names each time I run the function, for example yes1 and no1, then the next time the function is run the names of the buttons will be yes2 and no2. I have attempted to do this already but it is not working correctly, below is the code I have done so far, any help would be much

Open source expert system [closed]

前提是你 提交于 2019-12-09 08:43:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . does anyone know about a open source expert system? actually, I'm rather interested in calling its inferential engine from C#. 回答1: Both CLIPS and JESS are already mentioned in other answers, so I will supply this link to CLIPS versus JESS: http://www.comp.lancs.ac.uk/~kristof/research/notes/clipsvsjess/ It was

Aggregating Facts in the CLIPS Expert System to Find a Maximum

蓝咒 提交于 2019-12-08 13:17:27
问题 I'm trying to clarify my understanding of semantics in the Clips expert system, so I'm trying to write some simple rules to aggregate a list of facts to find the fact with the highest slot value. The metaphor I'm using is that of a simple agent trying to decide whether it should eat or sleep. Facts describing the agent's states are expanded into potential actions, and then a rule tries to find the final action with the highest utility. This is my code: (clear) (deftemplate state (slot name)

how to combine these two rules with CLIPS?

こ雲淡風輕ζ 提交于 2019-12-08 04:26:41
问题 I have two rules in CLIPS which I want to combine if they're both true...not sure how to do it though. I have an attribute which is called grant-eligible ....I was thinking if I set it to TRUE then I could read the next rule, and then set the 'grant-eligible' to FALSE ....but it seems that my code is getting into an infinite loop when I do this... So here are my rules: (defrule complete "rule for app completeness" ?f <- (application (transcript-received Yes) (app-complete FALSE) (gpa ?v_gpa&:

Inference engines vs Decision trees [closed]

為{幸葍}努か 提交于 2019-12-07 00:57:19
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . I am using an expert system with an inference engine (forward chaining) and I would like to explain why it is better than a decision tree using very simple concepts. (in one particular situation) I know there is a similar question on stackoverflow but it's not the answer I'm

how to combine these two rules with CLIPS?

时光毁灭记忆、已成空白 提交于 2019-12-06 15:35:02
I have two rules in CLIPS which I want to combine if they're both true...not sure how to do it though. I have an attribute which is called grant-eligible ....I was thinking if I set it to TRUE then I could read the next rule, and then set the 'grant-eligible' to FALSE ....but it seems that my code is getting into an infinite loop when I do this... So here are my rules: (defrule complete "rule for app completeness" ?f <- (application (transcript-received Yes) (app-complete FALSE) (gpa ?v_gpa&:( > ?v_gpa 0))) => (modify ?f (app-complete TRUE))) (defrule denied "rule for admission - DENIED" ?f <-

Inference engines vs Decision trees [closed]

别来无恙 提交于 2019-12-05 05:13:43
I am using an expert system with an inference engine (forward chaining) and I would like to explain why it is better than a decision tree using very simple concepts. (in one particular situation) I know there is a similar question on stackoverflow but it's not the answer I'm looking for. Here is my problem: For Customer Relation Management, I am using lot of different business rules (that induce dialog rules) to help the customer make a decision on one product. Note: Rules are added frequently (2 per days). The customer answers a series of questions before getting his answer. The business

Expert system doesn't initialize

风格不统一 提交于 2019-12-04 17:54:13
I am using AI::ExpertSystem::Advanced to run an expert system from web content. I have a website where I run a Perl script with this code: use strict; use warnings; use AI::ExpertSystem::Advanced; use AI::ExpertSystem::Advanced::KnowledgeDB::Factory; use Data::Dumper; use File::Slurp; open(LOG, ">C:\\xampp\\htdocs\\xampp\\bc\\log.txt"); print LOG "START EXPERT\n"; system("C:\\Perl\\bin\\perl C:\\xampp\\htdocs\\xampp\\bc\\create_yaml.pl"); print LOG "START CREATE DB\n"; my $yaml_kdb = AI::ExpertSystem::Advanced::KnowledgeDB::Factory->new('yaml', { filename => 'C:\\xampp\\htdocs\\xampp\\bc\

Python Rule Based Engine [closed]

拈花ヽ惹草 提交于 2019-12-04 14:28:10
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . I am looking to design a system that will essentially need to make decisions based on input. The input will be a person. class Person: def __init__(self, name, age, sex, weight, height, nationality): self.name = name self.age = age self.sex = sex self.weight = weight self.height =