Search in sources :

Example 1 with RRaw

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);
    }
}
Also used : RRaw(org.jpmml.rexp.RRaw) RGenericVector(org.jpmml.rexp.RGenericVector) IOException(java.io.IOException)

Aggregations

IOException (java.io.IOException)1 RGenericVector (org.jpmml.rexp.RGenericVector)1 RRaw (org.jpmml.rexp.RRaw)1