Example usage for org.apache.mahout.vectorizer VectorizerConfig getChunkSizeInMegabytes

List of usage examples for org.apache.mahout.vectorizer VectorizerConfig getChunkSizeInMegabytes

Introduction

In this page you can find the example usage for org.apache.mahout.vectorizer VectorizerConfig getChunkSizeInMegabytes.

Prototype

public int getChunkSizeInMegabytes() 

Source Link

Usage

From source file:com.elex.dmp.vectorizer.DictionaryVectorizer.java

License:Apache License

@Override
public void createVectors(Path input, Path output, VectorizerConfig config)
        throws IOException, ClassNotFoundException, InterruptedException {
    createTermFrequencyVectors(input, output, config.getTfDirName(), config.getConf(), config.getMinSupport(),
            config.getMaxNGramSize(), config.getMinLLRValue(), config.getNormPower(), config.isLogNormalize(),
            config.getNumReducers(), config.getChunkSizeInMegabytes(), config.isSequentialAccess(),
            config.isNamedVectors());//from   www.j  a  v  a  2  s  . c  o m
}