def preprocessor_locallylinearembedding_modular(data,k):
	from shogun.Features import RealFeatures
	from shogun.Preprocessor import LocallyLinearEmbedding
	
	features = RealFeatures(data)
		
	preprocessor = LocallyLinearEmbedding()
	preprocessor.set_target_dim(1)
	preprocessor.apply_to_feature_matrix(features)

	return features
def preprocessor_locallylinearembedding_modular(data,k):
	from shogun.Features import RealFeatures
	from shogun.Preprocessor import LocallyLinearEmbedding
	
	features = RealFeatures(data)
		
	preprocessor = LocallyLinearEmbedding()
	preprocessor.set_target_dim(1)
	preprocessor.set_k(k)
	preprocessor.apply_to_feature_matrix(features)

	return features