In the IC design process, the test process is the main factor of production cost. Existing tests rely on additional analysis of testing result data by the customer to determine the status of the process. Thus it could take an additional amount of time and cannot make adjustments of the process immediately. In this paper we propose a method to enhance the data analysis in IC testing by machine learning techniques. Our method is based on collecting IC electrical parameters through STDF (Standard Test Data Format) files. The parameters will be transferred to a set of vectors and then classified the errors by SVM classifier and deep learning model.The dataset is consisted of 9 products, seven for training data, one for validation set, and one for test set. Totally 4,337 LOTs are in the dataset. Because each step of the test may cause the problems, the error types include machine error, interface error and site error (8 sites in total). We define 11 categories to classify and 400 LOTs to test the model. Finally, the test accuracy is 86%. With the model, we can find the correlation between the causes of errors and the electrical parameters. After obtaining the electrical parameters of the test, the error cause can be corrected, and the performance function of the monitoring test equipment station can be achieved. As a result it can reduce the time for the customer to analyze the data and make early judgments.During the test process, the program uses deep learning algorithm to get the correlation of the test items and the distribution characteristics of the test results with the small batches of test results of wafers. According to the distribution of test results of electrical properties, the samples with the least difference from other wafers are selected as the excellent products. At the same time, the deep learning model is applied to find highly dependent data in the test results. By reducing these items, the test time could be reduced. The methods above are integrated into the testing process of good, bad and excellent products. It can be used for testing of remaining wafer to reduce the time and the cost required by overall testing.