rescaling attribute values to (0,1]
creat rand_sample_weighted_graph_01