Uncertainty Based Optimal Sample Selection for Big Data