public double[] predict(FVec feat,boolean output_margin,int ntree_limit){
  double[] preds=predictRaw(feat,ntree_limit);
  if (!output_margin) {
    return obj.predTransform(preds);
  }
  return preds;
}

public double [ ] predict ( FVec feat , boolean output_margin , int ntree_limit ) { double [ ] preds = predictRaw ( feat , ntree_limit ) ; if ( ! output_margin ) { return obj . predTransform ( preds ) ; } return preds ; }
generates predictions for given feature vector .
