use of org.jpmml.rexp.RRaw in project jpmml-r by jpmml.
the class XGBoostConverter method loadLearner.
private Learner loadLearner() {
RGenericVector booster = getObject();
RRaw raw = (RRaw) booster.getElement("raw");
try {
return loadLearner(raw);
} catch (IOException ioe) {
throw new IllegalArgumentException(ioe);
}
}
Aggregations