1. An information processing apparatus that selects a plurality of feature amounts acquired by applying a filter to learning data and generates a discriminator based on the selected feature amounts, the information processing apparatus comprising: a time specification unit configured to specify a calculation time required for acquiring a feature amount of a selection candidate by applying the filter to the selected feature amounts or the learning data; a precision specification unit configured to specify a precision of a discriminator generated based on the feature amount of the selection candidate and the selected feature amounts; a selection unit configured to select at least one feature amount from the feature amount of the selection candidate based on the calculation time and the precision; and a generation unit configured to generate the discriminator based on the selected feature amounts.