A Novel K-Nearest Neighbor Classification Algorithm Based on Maximum Entropy