docs: public static DoubleMinMax transformScores(WritableDoubleDataStore scores, DBIDs ids, double logPerp, double phi) {
      DoubleMinMax minmax = new DoubleMinMax();
      double adj = (1 - phi) / phi;
      for(DBIDIter it = ids.iter(); it.valid(); it.advance()) {
        double or = FastMath.exp(-scores.doubleValue(it) * logPerp) * adj;
        double s = 1. / (1 + or);
        scores.putDouble(it, s);
        minmax.put(s);
      }
      return minmax;
    }