public class RWrapperUtils
extends Object
Constructor and Description |
---|
RWrapperUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
checkDataColumns(RFormula rFormula,
Dataset<?> data)
DataFrame column check.
|
static scala.Tuple2<String[],String[]> |
getFeaturesAndLabels(RFormulaModel rFormulaModel,
Dataset<?> data)
Get the feature names and original labels from the schema
of DataFrame transformed by RFormulaModel.
|
static void |
initializeForcefully(boolean isInterpreter,
boolean silent) |
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 void checkDataColumns(RFormula rFormula, Dataset<?> data)
rFormula
- RFormula instancedata
- Input datasetpublic static scala.Tuple2<String[],String[]> getFeaturesAndLabels(RFormulaModel rFormulaModel, Dataset<?> data)
rFormulaModel
- The RFormulaModel instance.data
- Input dataset.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)
public static void initializeForcefully(boolean isInterpreter, boolean silent)