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_invalidValues() {
        List<Object> inputs = Arrays.asList("3", "3.0", true);
        inputs.forEach(number -> {
            assertThatThrownBy(() -> KiePMMLClusteringModel.convertToDouble(number))
                    .isInstanceOf(IllegalArgumentException.class);
        });
    }