added data_type param to get_segmentation_numeric