/** Constructs a quantitative result initialized to the specified value. */ public QuantitativeResultImpl(final double[] values) { setValues(values); }
/** * Set the quantitative value or values, content determined by the evaluation procedure used. */ public synchronized void setValues(final double[] newValues) { final List<Record> records; if (newValues == null) { records = null; } else { final Record[] data = new Record[newValues.length]; for (int i = 0; i < newValues.length; i++) { data[i] = new SimpleRecord(newValues[i]); } records = Arrays.asList(data); } setValues(records); }
/** * Constructs a quantitative result initialized to the specified value. */ public QuantitativeResultImpl(final double[] values) { setValues(values); }
/** * Constructs a quantitative result initialized to the specified value. */ public QuantitativeResultImpl(final double[] values) { setValues(values); }
Vocabulary.formatInternational(VocabularyKeys.ROOT_MEAN_SQUARED_ERROR); final QuantitativeResultImpl result = new QuantitativeResultImpl(); result.setValues(new double[] {error});
/** * Set the quantitative value or values, content determined by the evaluation procedure used. */ public synchronized void setValues(final double[] newValues) { final List<Record> records; if (newValues == null) { records = null; } else { final Record[] data = new Record[newValues.length]; for (int i=0; i<newValues.length; i++) { data[i] = new SimpleRecord(newValues[i]); } records = Arrays.asList(data); } setValues(records); }