@Override
  public double[] projectRelativeDataToScaledSpace(NumberVector data) {
    final int dim = data.getDimensionality();
    double[] vec = new double[dim];
    for(int d = 0; d < dim; d++) {
      vec[d] = scales[d].getRelativeScaled(data.doubleValue(d));
    }
    return vec;
  }
@ Override public double [ ] projectRelativeDataToScaledSpace ( NumberVector data ) { final int dim = data . getDimensionality ( ) ; double [ ] vec = new double [ dim ] ; for ( int d = 0 ; d < dim ; d ++ ) { vec [ d ] = scales [ d ] . getRelativeScaled ( data . doubleValue ( d ) ) ; } return vec ; }
Project a relative data vector from data space to scaled space.

@param data relative vector in data space
@return relative vector in scaled space