Consistent nonparametric regression from recursive partitioning schemes