The disclosed embodiments provide a system and method for processing data. The system includes a model compiler that obtains a first configuration for a statistical model. The first configuration may include one or more compilation parameters associated with feature selection in the statistical model. Next, the model compiler uses the compilation parameter(s) and a first set of input features for the first configuration to generate a first feature subset for use with the statistical model and include the first feature subset in a first compiled form of the first configuration. The system also includes an execution engine that uses the first compiled form to execute the statistical model.
展开▼