1. A non-transitory machine-readable storage medium having instructions that, when executed by a processing device, cause the processing device to perform operations comprising: identifying a plurality of document features in a document image; correlating each of the plurality of document features with one or more of different document classes; selecting a first group of document features and a second group of document features from the plurality of document features based on document feature types of the plurality of document features; for the first group of document features, generating a first decision tree that includes one or more nodes corresponding to document features of a document feature type corresponding to the first group; for the second group of document features, generating a second decision tree that includes one or more nodes corresponding to document features of a document feature type corresponding to the second group; and associating the document image with one of the different document classes based at least in part on the first decision tree and the second decision tree.