In order to understant this codes; read https://arxiv.org/pdf/1606.05633.pdf
1- HistogramSummarize creates exact equi-depth histograms.
2- HistogramEstimate merges desired outputs of HistogramSummarize.
3- UniformTupleLevelSampling samples the data at the desired amount and create equi-depth histogram.
Note: Wikipedia Page Traffic Statistics data is used.