ExampleSet examples = extraction.extractFeatures(basicExamples, this.featureSpecification);
//Train the model
Training training = getTrainingImpl();
this.featureValues = examples.getInstances();
this.model = training.train(examples);
//Get the top features
this.topFeatures = getFeatureWeightingImpl().getTopFeatures(examples, this.model, NUM_TOP_FEATURES);
this.featureWeights = getFeatureWeightingImpl().getFeatureWeights(examples, this.model);
}