tokens: Thus , parameters of the selection are passed into the constructor upon initialization , and the API consists of three functions : fit , which performs the selection and stores the identified ranking of examples , transform , which uses the stored ranking to select the subset of examples from the data set , and the fittransform function , which successively calls the fit and then the transform function on a data set .