Decision Intelligence Platform

Rule Learner – Quick Start

Rule Learner  is a Machine Learning component of OpenRules Decision Intelligence Platform, and to use it you need to have OpenRules Decision Manager already installed.

Download and Install

You may download Rule Learner from

Unzip the downloaded file to your hard drive, and you will see the folder “OpenRulesLearner_x.y.z” with two sub-folders:

  • openrules.config
  • openrules.learner

To install OpenRules Learner, you need to open the folder “openrules.config” and double-click on “install.bat” (or run “install” if you use Unix or Mac). 

Running Examples

You may analyze various examples of the automatically generated decision models by looking in sub-folders of “openrules.learner”. They include various sample business problems such as Lenses, Credits, Diabetes, Template, etc. All these folders contain two sub-folders “Learning” and “Modeling” and several execution files such as “learn.bat“. See a simple example “Lenses“.

The folder “Learning” contains file “Samples.csv” with samples of input and expected output for each particular problem. When you double-click on “learn.bat” the proper decision model will be generated in the folder “Modeling“.

Building Your Own Decision Model from Examples

There is one special folder called “Template“. It has the following structure:

When you want to create a new decision model, copy the folder “Template” and give a new folder the name of your problem, e.g. “MyProblem”. Do the following:

  • Replace <artifactId>Decision</artifactId> with <artifactId> MyProblem</artifactId> in the file “pom.xml”.
  • Replace the file “Learning/Samples.csv” with a csv-file with your own samples
  • Run “MyProblem/learn.bat” to generate your own decision model in the folder “Modeling”.

This way the most sample projects such as “Lenses” or “Diabetes” were created. See “Simple Example“.