<BUG>Output output = encodeOutput(base_score);MiningModel miningModel = new MiningModel(MiningFunction.REGRESSION, ModelUtil.createMiningSchema(segmentSchema)).setSegmentation(segmentation).setOutput(output);</BUG><CONTEXT>import org.jpmml.converter.mining.MiningModelUtil;public class PoissonRegression extends Regression {@Overridepublic MiningModel encodeMiningModel(Segmentation segmentation, float base_score, Schema schema){Schema segmentSchema = schema.toAnonymousSchema();<extra_id_0>return MiningModelUtil.createRegression(schema, miningModel);</CONTEXT>
Output output = encodeOutput();.setTargets(createTargets(base_score, segmentSchema)).setOutput(output);