Hi,
I want to use Drools as a part of a classification system which consist of
Machine Learning based classification (semi supervised) followed by an
expert system (rule based classification). The issue is that ML part and the
framework is in C++ and Drools supports Java. So, I will use some IPC
mechanism for sending data objects from framework to the rule system (I have
my own serialization and deserialization modules for that). I just want to
know that the object classes correspoding to DRLs need to be in some special
format or any format with getter and setter methods will do?
Thanks in advance,
Sachin Mangal
Member of Research Staff,
Guavus Network Systems Pvt Ltd
Show replies by date
Do you mean object classes that represent DRL or objects that DRL
operate upon (i.e. Facts)?
Facts are simply POJO's and therefore IMO any mechanism that can
deserialise into a POJO should suffice.
You could also look into the use of JNI for the interface between C++
and Drools.
With kind regards,
Mike
________________________________
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Sachin Mangal
Sent: 06 February 2009 07:13
To: rules-users(a)lists.jboss.org
Subject: [rules-users] Java Bean dependency
Hi,
I want to use Drools as a part of a classification system which
consist of Machine Learning based classification (semi supervised)
followed by an expert system (rule based classification). The issue is
that ML part and the framework is in C++ and Drools supports Java. So, I
will use some IPC mechanism for sending data objects from framework to
the rule system (I have my own serialization and deserialization modules
for that). I just want to know that the object classes correspoding to
DRLs need to be in some special format or any format with getter and
setter methods will do?
Thanks in advance,
Sachin Mangal
Member of Research Staff,
Guavus Network Systems Pvt Ltd