class KiePMMLRegressionModelFactory {

    static boolean isRegression(final MiningFunction miningFunction, final String targetField, final OpType targetOpType) {
        return Objects.equals(MiningFunction.REGRESSION, miningFunction) && (targetField == null || Objects.equals(OpType.CONTINUOUS, targetOpType));
    }

    private  KiePMMLRegressionModelFactory();

}