public class CSVFeatureLogger extends FeatureLogger
FeatureLogger.FeatureFormat
Modifier and Type | Field and Description |
---|---|
static char |
DEFAULT_FEATURE_SEPARATOR |
static char |
DEFAULT_KEY_VALUE_SEPARATOR |
featureFormat
Constructor and Description |
---|
CSVFeatureLogger(String fvCacheName,
FeatureLogger.FeatureFormat f) |
CSVFeatureLogger(String fvCacheName,
FeatureLogger.FeatureFormat f,
char keyValueSep,
char featureSep) |
Modifier and Type | Method and Description |
---|---|
String |
makeFeatureVector(LTRScoringQuery.FeatureInfo[] featuresInfo) |
getFeatureVector, log
public static final char DEFAULT_KEY_VALUE_SEPARATOR
public static final char DEFAULT_FEATURE_SEPARATOR
public CSVFeatureLogger(String fvCacheName, FeatureLogger.FeatureFormat f)
public CSVFeatureLogger(String fvCacheName, FeatureLogger.FeatureFormat f, char keyValueSep, char featureSep)
public String makeFeatureVector(LTRScoringQuery.FeatureInfo[] featuresInfo)
makeFeatureVector
in class FeatureLogger
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.