Maximum entropy principle and the minimum cross entropy principle