static Double convertToDouble(Object toConvert) {
        if (!(toConvert instanceof Number )) {
            throw new IllegalArgumentException("Input data must be declared and sent as Number, received " + toConvert);
        }
        return (Double) DATA_TYPE.DOUBLE.getActualValue(toConvert);
    }
@Test
    void convertToDouble_validValues() {
        Double expected = 3.0;
        List<Object> inputs = Arrays.asList(3, 3.0, 3.0f);
        inputs.forEach(number -> {
            Double retrieved = KiePMMLClusteringModel.convertToDouble(number);
            assertThat(retrieved).isEqualTo(expected);
        });
    }