public enum RDDTrainingApproach extends java.lang.Enum<RDDTrainingApproach>
JavaRDD<DataSet>
or JavaRDD<MultiDataSet>
.
Export: first export the RDD to disk (temporary directory) and train from that.
Direct: aka 'legacy mode': train directly from the RDD. This has higher memory requirements and lower performance
compared to the Export approach. It does not export the data to disk first, hence uses less space.Modifier and Type | Method and Description |
---|---|
static RDDTrainingApproach |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RDDTrainingApproach[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RDDTrainingApproach Export
public static final RDDTrainingApproach Direct
public static RDDTrainingApproach[] values()
for (RDDTrainingApproach c : RDDTrainingApproach.values()) System.out.println(c);
public static RDDTrainingApproach valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null