This study use two sampling methods with reducing majority and SMOTE for data imbalance problem, and with the chi-square feature selection method to find the feature that effectively improve the performance of the classifier and training performance, and then based on four machine learning algorithms with decision trees, random forest, XGBoost and KNN to classification. After test by the test set, the correct rate and AUC value are used as indicators for performance evaluation.