protected static double sparsity(final int setsize,final int dbsize,final int k,final double phi){
  final double f=1. / phi;
  final double fK=MathUtil.powi(f,k);
  final double sC=(setsize - (dbsize * fK)) / Math.sqrt(dbsize * fK * (1 - fK));
  return sC;
}

protected static double sparsity ( final int setsize , final int dbsize , final int k , final double phi ) { final double f = 1. / phi ; final double fK = MathUtil . powi ( f , k ) ; final double sC = ( setsize - ( dbsize * fK ) ) / Math . sqrt ( dbsize * fK * ( 1 - fK ) ) ; return sC ; }
method to calculate the sparsity coefficient of .
