如何在PHP中从头开发专家系统? [英] how to develop a expert system from scratch in php?

查看:46
本文介绍了如何在PHP中从头开发专家系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的表格如下:



群组客户:01

手机号码每月账单最高拨打电话类型

03215919228 25关闭网

03212889438 40国际



群集客户:02

手机号码每月账单最高拨打电话类型

03215350700 173网上

0345678904 122国际



我希望每个客户在他们最高拨打的tcall类型上有不同的优惠价格。但我想自动化流程f特许权率应该是多少?对于这个我需要一个专家系统..但如何在PHP中实际开发知识库和推理引擎?

my table is like:

Customer of cluster: 01
Mobile numbers Monthly bill Highest dialed call type
03215919228 25 Off net
03212889438 40 international

Customers of cluster: 02
Mobile numbers Monthly bill Highest dialed call type
03215350700 173 On net
0345678904 122 international

and i want to offer each customer a different concession rate on their highest dialed tcall type..but i want to automate the process f how much should be the concession rate? for this i need an expert system.. but how to actually develop knowledge base and inference engine in php?

推荐答案

这不是一个值得关注的问题。快速回答,在这个论坛的任何地方。你需要研究这个主题。



一些阅读:

https ://en.wikipedia.org/wiki/Expert_system#The_rule_base_or_knowledge_base [ ^ ],

http://sigai.cdacmumbai.in/files /ESBook.pdf [ ^ ],

http://www.bhu.ac.in/ComputerScience/vivek /softcomp/fuzzy_chapter.pdf [ ^ ],

http:/ /intelligence.worldofcomputing.net/ expert-systems-articles / rule-based-expert-systems.html [ ^ ]。



这是一个想法:你需要单独的两件事:一些规则引擎你必须为它设计和存储层。实际上,规则引擎应该与存储完全隔离并且不可知,但是如果可能的话,您可能希望在引擎中保持关系模型。您将需要规则引擎和数据库之间的中间映射层;它应该将对引擎API的调用转换为SQL语句。这部分功能将相对简单,特别是因为您应该在单用户情况下工作。 (即使您的系统可以是多用户,如果从外部看到,用户也不应该只能访问存储本身,只能访问高级专家系统。)



-SA
This is not a question to be covered any seriously in a Quick Answer, anywhere on this forum. You need to study the subject.

Some reading:
https://en.wikipedia.org/wiki/Expert_system#The_rule_base_or_knowledge_base[^],
http://sigai.cdacmumbai.in/files/ESBook.pdf[^],
http://www.bhu.ac.in/ComputerScience/vivek/softcomp/fuzzy_chapter.pdf[^],
http://intelligence.worldofcomputing.net/expert-systems-articles/rule-based-expert-systems.html[^].

Here is the idea: you need separate two things: some rule engine you have to design and the storage layer for it. Practically, the rule engine should be well isolated and agnostic to storage, but probably you may want to keep to the relational model even in the engine, if possible. You will need an intermediate mapping layer between rule engine and database; it should translate the call to the engine API into SQL statements. This part of functionality will be relatively simple, in particular, because you should work in a single-user situation. (Even if your system can be multi-user if seen from outside, none of the user should not have access to the storage itself, only to the high-level expert system.)

—SA


这篇关于如何在PHP中从头开发专家系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆