get_split_threshold function

Return the threshold used in the split at a node of a tree