public class GramMatrixExporterImpl extends WekaBagOfWordsExporterImpl implements GramMatrixExporter
Modifier and Type | Class and Description |
---|---|
static class |
GramMatrixExporterImpl.GramMatrixArffDecorator
Deprecated.
add gramIndex attribute to arff file
|
static class |
GramMatrixExporterImpl.GramMatrixType
Deprecated.
|
simpleJdbcTemplate, transactionManager, txNew
Constructor and Description |
---|
GramMatrixExporterImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Map<Long,Integer> |
exportGramMatrix(BufferedWriter writer,
KernelEvaluation kernelEvaluation,
GramMatrixExporterImpl.GramMatrixType matrixType,
Map<Long,String> instanceIDClassLabel,
Map<Long,Integer> instanceToIndexMap)
Deprecated.
|
void |
exportGramMatrix(String propertyFile)
Deprecated.
|
BagOfWordsExporter |
getBagOfWordsExporter()
Deprecated.
|
DataSource |
getDataSource()
Deprecated.
|
KernelEvaluationDao |
getKernelEvaluationDao()
Deprecated.
|
void |
setBagOfWordsExporter(WekaBagOfWordsExporter bagOfWordsExporter)
Deprecated.
|
void |
setDataSource(DataSource ds)
Deprecated.
|
void |
setKernelEvaluationDao(KernelEvaluationDao kernelEvaluationDao)
Deprecated.
|
exportBagOfWords, exportBagOfWords, exportBagOfWords, exportBagOfWords, getInstances, initializeInstances
addNominalWordToInstance, addNumericWordToInstance, getDataSource, getNominalInstanceWords, getNumericInstanceWords, getTransactionManager, loadData, loadProperties, setTransactionManager
public KernelEvaluationDao getKernelEvaluationDao()
public BagOfWordsExporter getBagOfWordsExporter()
public void setBagOfWordsExporter(WekaBagOfWordsExporter bagOfWordsExporter)
public void setKernelEvaluationDao(KernelEvaluationDao kernelEvaluationDao)
public void setDataSource(DataSource ds)
setDataSource
in class AbstractBagOfWordsExporter
public DataSource getDataSource()
public void exportGramMatrix(String propertyFile) throws IOException
exportGramMatrix
in interface GramMatrixExporter
IOException
protected Map<Long,Integer> exportGramMatrix(BufferedWriter writer, KernelEvaluation kernelEvaluation, GramMatrixExporterImpl.GramMatrixType matrixType, Map<Long,String> instanceIDClassLabel, Map<Long,Integer> instanceToIndexMap) throws IOException
IOException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.