System.out.println("- Extracting basic features from training set");
ExampleSet basicTrainingExamples = trainingSegments.getBasicExamples();
trainingSegments = null;
FeatureGeneration generation = getFeatureGenerationImpl();
System.out.println("- Generating features");
FeatureSpecification spec = generation.generateFeatures(basicTrainingExamples);
FeatureExtraction extraction = getFeatureExtractionImpl();
System.out.println("- Extracting features from training set");
ExampleSet trainingSet = extraction.extractFeatures(basicTrainingExamples, spec);
basicTrainingExamples = null;