Class DecisionTreeFromSparkExample


  • public class DecisionTreeFromSparkExample
    extends java.lang.Object
    Run Decision Tree 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.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Run example.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SPARK_MDL_PATH

        public static final java.lang.String SPARK_MDL_PATH
        Path to Spark DT model.
    • Constructor Detail

      • DecisionTreeFromSparkExample

        public DecisionTreeFromSparkExample()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.FileNotFoundException
        Run example.
        Throws:
        java.io.FileNotFoundException