public class DataValidators
extends Object
Constructor and Description |
---|
DataValidators() |
Modifier and Type | Method and Description |
---|---|
static scala.Function1<RDD<LabeledPoint>,Object> |
binaryLabelValidator()
Function to check if labels used for classification are either zero or one.
|
static scala.Function1<RDD<LabeledPoint>,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}.
|
static void |
org$apache$spark$internal$Logging$$log__$eq(org.slf4j.Logger x$1) |
static org.slf4j.Logger |
org$apache$spark$internal$Logging$$log_() |
public static scala.Function1<RDD<LabeledPoint>,Object> binaryLabelValidator()
public static scala.Function1<RDD<LabeledPoint>,Object> multiLabelValidator(int k)
k
- (undocumented)public static org.slf4j.Logger org$apache$spark$internal$Logging$$log_()
public static void org$apache$spark$internal$Logging$$log__$eq(org.slf4j.Logger x$1)