public class TableTrainingSpec extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
TableTrainingSpec.DataSample
The Class DataSample.
|
static class |
TableTrainingSpec.GetLabeledPoint
The Class GetLabeledPoint.
|
static class |
TableTrainingSpec.TableTrainingSpecBuilder
The Class TableTrainingSpecBuilder.
|
static class |
TableTrainingSpec.TestingFilter
The Class TestingFilter.
|
static class |
TableTrainingSpec.TrainingFilter
The Class TrainingFilter.
|
Constructor and Description |
---|
TableTrainingSpec() |
Modifier and Type | Method and Description |
---|---|
void |
createRDDs(org.apache.spark.api.java.JavaSparkContext sparkContext)
Creates the rd ds.
|
org.apache.hadoop.hive.conf.HiveConf |
getConf()
The conf.
|
String |
getDatabase()
The database.
|
List<String> |
getFeatureColumns()
The feature columns.
|
String |
getLabelColumn()
The label column.
|
String |
getPartitionFilter()
The partition filter.
|
String |
getTable()
The table.
|
org.apache.spark.rdd.RDD<org.apache.spark.mllib.regression.LabeledPoint> |
getTestingRDD()
The testing rdd.
|
org.apache.spark.rdd.RDD<org.apache.spark.mllib.regression.LabeledPoint> |
getTrainingRDD()
The training rdd.
|
static TableTrainingSpec.TableTrainingSpecBuilder |
newBuilder()
New builder.
|
String |
toString() |
public static TableTrainingSpec.TableTrainingSpecBuilder newBuilder()
public void createRDDs(org.apache.spark.api.java.JavaSparkContext sparkContext) throws LensException
sparkContext
- the spark contextLensException
- the lens exception@Generated(value="lombok") public String toString()
@Generated(value="lombok") public org.apache.spark.rdd.RDD<org.apache.spark.mllib.regression.LabeledPoint> getTrainingRDD()
@Generated(value="lombok") public org.apache.spark.rdd.RDD<org.apache.spark.mllib.regression.LabeledPoint> getTestingRDD()
@Generated(value="lombok") public String getDatabase()
@Generated(value="lombok") public String getTable()
@Generated(value="lombok") public String getPartitionFilter()
@Generated(value="lombok") public List<String> getFeatureColumns()
@Generated(value="lombok") public String getLabelColumn()
@Generated(value="lombok") public org.apache.hadoop.hive.conf.HiveConf getConf()
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.