Dear All, I am having problems with inferences on recursive relationships. The SSBN is only showing one instance of a recursive node instead of showing all recursive instances of the node. I am suspecting that the problem may be coming from how the is MTheory defined. The MTheory I have was leaned from the the CORA relational dataset (https://relational.fit.cvut.cz/dataset/CORA). A recursive relationship is defined on the class_label (paper) RV and it is capturing the knowledge that the class_label...
Dear All, I am working on learning Graphical Structure for MEBNs from a given database. I have written some code to do the learning and create an MEBN object. I am using the following lines of code to save the MEBN object into a *.ubf file UbfIO ubfio = UbfIO.getInstance(); unbbayes.util.Debug.setDebug(true); try { ubfio.saveMebn(new File ("/home/edgar/FOPLFiles/"Financial_std"/xmlDir/ubf/Financial_std.ubf"), mebn); } catch (IOMebnException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace();...
Dear all, It looks like problem above was evaded. It was caused by the fact that some of my nodes of different types were sharing the the same names. I have introduced generation of unique names and the problem seems to have disappeared. Now I am having a different error, which I am failing to resolve. The stacktrace for the error is shown below. com.jgoodies.looks.plastic.PlasticLookAndFeel.setMyCurrentTheme(Lcom/jgoodies/looks/plastic/PlasticTheme;)V INFO: Loading triples INFO: [ProtegeOWLParser]...
Hi Thanks, the solution above worked. I got the "pr-owl" folder from the SVN project. Now I am another error. It looks like its emanating the Protege OWL parser. find the stacktrace for the error below: java.lang.ClassCastException: edu.stanford.smi.protegex.owl.model.impl.DefaultOWLNamedClass cannot be cast to edu.stanford.smi.protegex.owl.model.OWLIndividual at edu.stanford.smi.protegex.owl.model.impl.AbstractOWLModel.getOWLIndividual(Unknown Source) at unbbayes.io.mebn.SaverPrOwlIO.saveMTheory(SaverPrOwlIO.java:446)...
Hi, I am working on learning Graphical Structure for MEBNs. I have written some code to do the learning and create an MEBN object. I then used the following line of code to save the MEBN object into a *.ubf file UbfIO ubfio= new UbfIO(); ubfio.saveMebn(new File ("/home/edgar/FOPLFiles/DataFiles/CORA.ubf"), mebn); The code is giving null pointer exception. Can somebody please help me figure out where the problem may be emanating from. Below is the full error message I am geting: com.jgoodies.looks.plastic.PlasticLookAndFeel.setMyCurrentTheme(Lcom/jgoodies/looks/plastic/PlasticTheme;)V...