public Predictor(InputStream in) throws IOException {
  ModelReader reader=new ModelReader(in);
  mparam=new ModelParam(reader);
  name_obj=reader.readString();
  name_gbm=reader.readString();
  initObjGbm();
  gbm.loadModel(reader,mparam.saved_with_pbuffer != 0);
}

public Predictor ( InputStream in ) throws IOException { ModelReader reader = new ModelReader ( in ) ; mparam = new ModelParam ( reader ) ; name_obj = reader . readString ( ) ; name_gbm = reader . readString ( ) ; initObjGbm ( ) ; gbm . loadModel ( reader , mparam . saved_with_pbuffer != 0 ) ; }
instantiates with the xgboost model
