Due to the various data sets and the cumbersome and diverse data types, there must be many redundant attributes in them, which greatly increases the classification time in the background of rough set theory. In this paper, we improve the attribute reduction algorithm by information gain ratio. The data sets obtained after the attribute reduction of this method are used for classification, and the data sets are directly used for classification and comparison with other common classification methods. Experimental data verify that the improved algorithm in this article is effective. It can improve the classification speed greatly and shorten the time spent.