Calculates a CART histogram
Calculates a CART histogram. The estimate is represented as an evaluation tree. An CART histogram is a multivariate adaptive histogram which is obtained by pruning an evaluation tree of an overfitting histogram.
n*d data matrix
positive integer; the cardinality of the partition of the histogram
non-negative integer; splitting of a bin of the overfitting histogram will be continued if the bin containes "minobs" or more observations
The partition of the histogram may not contain exactly "leaf" rectangles: the cardinality of the partition is as close as possible to "leaf"
An evaluation tree
1 2 3 4 5 6