Class SVMFromSparkExample
- java.lang.Object
-
- org.apache.ignite.examples.ml.inference.spark.modelparser.SVMFromSparkExample
-
public class SVMFromSparkExample extends java.lang.ObjectRun SVM model loaded from snappy.parquet file. The snappy.parquet file was generated by Spark MLLib model.write.overwrite().save(..) operator.You can change the test data used in this example and re-run it to explore this algorithm further.
-
-
Field Summary
Fields Modifier and Type Field Description static LearningEnvironmentenvLearning environment.static java.lang.StringSPARK_MDL_PATHPath to Spark SVM model.
-
Constructor Summary
Constructors Constructor Description SVMFromSparkExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Run example.
-
-
-
Field Detail
-
SPARK_MDL_PATH
public static final java.lang.String SPARK_MDL_PATH
Path to Spark SVM model.- See Also:
- Constant Field Values
-
env
public static final LearningEnvironment env
Learning environment.
-
-