rule-engine

Scoring / rating engines - advice and examples?

落爺英雄遲暮 提交于 2019-12-03 12:22:25
I need to create a flexible (and preferably dynamic) scoring engine, much like a credit scoring or premium calculating system. Does anyone with practical experience of creating a scoring engine have any advice, examples or suggested patterns? I already know about: Rete Algorithm FICO The open source rules engines listed here Thanks! Edit: To provide a little more detail.. Ok, so I have had a look around and I think a rules engine is what I am after, it's more flexible and rules can be used to achieve pretty much anything. However, the material I can find on the web is highly abstract - the

Example of c# based rule language?

无人久伴 提交于 2019-12-03 12:18:48
问题 Can you provide a good example of rule definition language written in C#. Java guys have JESS, is there anything good for C#? 回答1: This page shows some examples of open-source rules engines in C#: http://csharp-source.net/open-source/rule-engines 回答2: You can use the forward chaining inference engine that is part of Windows Workflow Foundation (.NET 3.5 and higher) The best part is that this has a free runtime licensing. You can use the Rule Manager from Acumen Business and install the

Drools testing with junit

大兔子大兔子 提交于 2019-12-03 12:06:01
What is the best practice to test drools rules with junit? Until now we used junit with dbunit to test rules. We had sample data that was put to hsqldb. We had couple of rule packages and by the end of the project it is very hard to make a good test input to test certain rules and not fire others. So the exact question is that how can I limit tests in junit to one or more certain rule(s) for testing? Personally I use unit tests to test isolated rules. I don't think there is anything too wrong with it, as long as you don't fall into a false sense of security that your knowledge base is working

What is an appropriate data structure and database schema to store logic rules?

两盒软妹~` 提交于 2019-12-03 11:42:29
问题 Preface: I don't have experience with rules engines, building rules, modeling rules, implementing data structures for rules, or whatnot. Therefore, I don't know what I'm doing or if what I attempted below is way off base. I'm trying to figure out how to store and process the following hypothetical scenario. To simplify my problem, say that I have a type of game where a user purchases an object, where there could be 1000's of possible objects, and the objects must be purchased in a specified

Open Source Rule Engine Written in Java

我们两清 提交于 2019-12-03 08:33:54
I am working on an AI related application. For this application I need to have a rule engine. Jess is a good rule engine completely written in Java. But for my application I can’t use it due to license restrictions. Can somebody tell me an open source rule engine written in Java? An open source off the shelf rules engine might be complete overkill for your application, I've used Drools before and it's pretty heavyweight, you'll also need to understand the framework before you use it - with Drools it's not too bad, but it might be more appropriate to write your own DSL rules engine in something

Open Source based Rules Engines in Java or Python [closed]

℡╲_俬逩灬. 提交于 2019-12-03 06:53:14
问题 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 9 months ago . Am seeking a Rules Engine, written in Java or Python, which supports the following features: Decision Tables Easy creation of simple business rules (preferably by a non-technical person) SOAP / REST support Have already ruled out Drools (very clunky and not user friendly for non-technical users). So far the

Prolog web programming

时光毁灭记忆、已成空白 提交于 2019-12-03 06:05:56
At work, there was a discussion of using prolog as the backend for a rules engine on a web-app. How would this get tied into existing systems? Are there available prolog libraries for other languages allowing the invocation of prolog modules? For SWI-Prolog , you could look to Thea2 which has support for SWRL in Prolog and can also be attached to external reasoners via JPL such as HermiT for OWL/SWRL reasoning, or Pellet , etc. On a personal note, I have used JPL several times in the past to enable web-apps with a SWI-Prolog backend, which works just fine if you intend to program your web app

What is an appropriate data structure and database schema to store logic rules?

安稳与你 提交于 2019-12-03 02:04:51
Preface: I don't have experience with rules engines, building rules, modeling rules, implementing data structures for rules, or whatnot. Therefore, I don't know what I'm doing or if what I attempted below is way off base. I'm trying to figure out how to store and process the following hypothetical scenario. To simplify my problem, say that I have a type of game where a user purchases an object, where there could be 1000's of possible objects, and the objects must be purchased in a specified sequence and only in certain groups. For example, say I'm the user and I want to purchase object F.

Example of c# based rule language?

我怕爱的太早我们不能终老 提交于 2019-12-03 01:52:30
Can you provide a good example of rule definition language written in C#. Java guys have JESS , is there anything good for C#? This page shows some examples of open-source rules engines in C#: http://csharp-source.net/open-source/rule-engines You can use the forward chaining inference engine that is part of Windows Workflow Foundation (.NET 3.5 and higher) The best part is that this has a free runtime licensing. You can use the Rule Manager from Acumen Business and install the Windows Workflow Foundation adapter. Once installed, export the rules as WFRules (*.rules). A visual studio .NET

Rules Engine in C or Python [closed]

六眼飞鱼酱① 提交于 2019-12-03 01:39:19
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I am looking for a rules engine in C or Python, but if you know a rules engine that is implemented in another language I would be glad to know about it. The engine will be used as way to automate a house, like turning the light off when somebody leaves a room etc. So no "office" rules there (aka do you rules in Excel or such). I have looked into Jess and Drools which are in Java and do a perfect job. I would like to know