throw new IllegalArgumentException("Can't save an empty KnowledgeBase.");
}
dbc.saveObject("modelParameters", modelParameters);
dbc.saveObject("trainingParameters", trainingParameters);
}
<BUG>public void load() {
</BUG>
if(!isInitialized()) {
modelParameters = dbc.loadObject("modelParameters", mpClass);
trainingParameters = dbc.loadObject("trainingParameters", tpClass);

throw new IllegalArgumentException("Can't save an empty KnowledgeBase.");
}
dbc.saveObject("modelParameters", modelParameters);
dbc.saveObject("trainingParameters", trainingParameters);
}
public void init() {
if(!isInitialized()) {
modelParameters = dbc.loadObject("modelParameters", mpClass);
trainingParameters = dbc.loadObject("trainingParameters", tpClass);
