Use float as percentage in min_samples_split and min_samples_leaf of DecisionTree

A float number can be used as percentage in these two parameters in case the sample size varies greatly.

I found a new parameter `min_weight_fraction_leaf` is added recently. It works in a similar way. But it is still convenient to use float in `min_samples_split` for those sample without weighting.
This could also be generated as a constant for this test module as to avoid recreating the hastie_10_2 daset as boston and iris.