data_allocate_cluster function

Allocate training data into the most probable cluster