/** * Creates a new instance of Statistic * @param targets * Collection of ground-truth targets for the learned approximator * @param estimates * Collection of estimates from the learned approximator * @param numParameters * Number of parameters in the learned approximator */ public Statistic( Collection<Double> targets, Collection<Double> estimates, int numParameters ) { super( 0.0 ); Collection<Double> weights = Collections.nCopies( targets.size(), new Double( 1.0 ) ); this.computeStatistics( targets, estimates, weights, numParameters ); }
/** * Creates a new instance of Statistic * @param targets * Collection of ground-truth targets for the learned approximator * @param estimates * Collection of estimates from the learned approximator * @param numParameters * Number of parameters in the learned approximator */ public Statistic( Collection<Double> targets, Collection<Double> estimates, int numParameters ) { super( 0.0 ); Collection<Double> weights = Collections.nCopies( targets.size(), new Double( 1.0 ) ); this.computeStatistics( targets, estimates, weights, numParameters ); }
/** * Creates a new instance of Statistic * @param targets * Collection of ground-truth targets for the learned approximator * @param estimates * Collection of estimates from the learned approximator * @param numParameters * Number of parameters in the learned approximator */ public Statistic( Collection<Double> targets, Collection<Double> estimates, int numParameters ) { super( 0.0 ); Collection<Double> weights = Collections.nCopies( targets.size(), new Double( 1.0 ) ); this.computeStatistics( targets, estimates, weights, numParameters ); }
/** * Creates a new instance of Statistic * @param targets * Collection of ground-truth targets for the learned approximator * @param estimates * Collection of estimates from the learned approximator * @param weights * Collection of weights to apply to the corresponding target-estimate * pair * @param numParameters * Number of parameters in the learned approximator */ public Statistic( Collection<Double> targets, Collection<Double> estimates, Collection<Double> weights, int numParameters ) { super( 0.0 ); this.computeStatistics( targets, estimates, weights, numParameters ); }
/** * Creates a new instance of Statistic * @param targets * Collection of ground-truth targets for the learned approximator * @param estimates * Collection of estimates from the learned approximator * @param weights * Collection of weights to apply to the corresponding target-estimate * pair * @param numParameters * Number of parameters in the learned approximator */ public Statistic( Collection<Double> targets, Collection<Double> estimates, Collection<Double> weights, int numParameters ) { super( 0.0 ); this.computeStatistics( targets, estimates, weights, numParameters ); }
/** * Creates a new instance of Statistic * @param targets * Collection of ground-truth targets for the learned approximator * @param estimates * Collection of estimates from the learned approximator * @param weights * Collection of weights to apply to the corresponding target-estimate * pair * @param numParameters * Number of parameters in the learned approximator */ public Statistic( Collection<Double> targets, Collection<Double> estimates, Collection<Double> weights, int numParameters ) { super( 0.0 ); this.computeStatistics( targets, estimates, weights, numParameters ); }