old_contents: from tools.load import LoadMatrix
  
  lm=LoadMatrix()
  data = lm.load_numbers('../data/fm_train_real.dat')
  
  parameter_list = [[data]]
  
  def preprocessor_landmarisomap_modular(data):
  	from shogun.Features import RealFeatures
  	from shogun.Preprocessor import LandmarkIsomap
  	
  	features = RealFeatures(data)
  		
  	preprocessor = LandmarkIsomap()
  	preprocessor.set_target_dim(1)
  	preprocessor.apply_to_feature_matrix(features)
  
  	return features
  
  
  if __name__=='__main__':
  	print 'LandmarkIsomap'
  	preprocessor_landmarkisomap_modular(*parameter_list[0])
  
  
new_contents: from tools.load import LoadMatrix
  
  lm=LoadMatrix()
  data = lm.load_numbers('../data/fm_train_real.dat')
  
  parameter_list = [[data]]
  
  def preprocessor_landmarkisomap_modular(data):
  	from shogun.Features import RealFeatures
  	from shogun.Preprocessor import LandmarkIsomap
  	
  	features = RealFeatures(data)
  		
  	preprocessor = LandmarkIsomap()
  	preprocessor.set_target_dim(1)
  	preprocessor.apply_to_feature_matrix(features)
  
  	return features
  
  
  if __name__=='__main__':
  	print 'LandmarkIsomap'
  	preprocessor_landmarkisomap_modular(*parameter_list[0])
  
  
subject: Modify - LandmarkIsomap example