- java.lang.Object
-
- co.cask.cdap.etl.api.batch.SparkCompute<co.cask.cdap.api.data.format.StructuredRecord,co.cask.cdap.api.data.format.StructuredRecord>
-
-
-
Field Summary
-
Fields inherited from class co.cask.cdap.etl.api.batch.SparkCompute
PLUGIN_TYPE
-
Method Summary
Methods
| Modifier and Type |
Method and Description |
void |
initialize(org.apache.spark.SparkContext context,
String modelPath) |
double |
predict(org.apache.spark.mllib.linalg.Vector vector) |
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.