Class DecisionTreeModel.SaveLoadV1_0$.PredictData

Object
org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0$.PredictData
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product
Enclosing class:
DecisionTreeModel.SaveLoadV1_0$

public class DecisionTreeModel.SaveLoadV1_0$.PredictData extends Object implements scala.Product, Serializable
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    PredictData(double predict, double prob)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.PredictData
     
    static org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.PredictData
     
    double
     
    double
     
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
  • Constructor Details

    • PredictData

      public PredictData(double predict, double prob)
  • Method Details

    • apply

      public static org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.PredictData apply(Predict p)
    • apply

      public static org.apache.spark.mllib.tree.model.DecisionTreeModel.SaveLoadV1_0.PredictData apply(Row r)
    • predict

      public double predict()
    • prob

      public double prob()
    • toPredict

      public Predict toPredict()