Constructor and Description |
---|
DataValidators() |
Modifier and Type | Method and Description |
---|---|
static scala.Function1<RDD<LabeledPoint>,java.lang.Object> |
binaryLabelValidator()
Function to check if labels used for classification are either zero or one.
|
static scala.Function1<RDD<LabeledPoint>,java.lang.Object> |
multiLabelValidator(int k)
Function to check if labels used for k class multi-label classification are
in the range of {0, 1, ..., k - 1}.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public static scala.Function1<RDD<LabeledPoint>,java.lang.Object> binaryLabelValidator()
public static scala.Function1<RDD<LabeledPoint>,java.lang.Object> multiLabelValidator(int k)
k
- (undocumented)