Skip to content

Commit

Permalink
Changed Predict class to be public DeveloperApi.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbradley committed Oct 13, 2014
1 parent f502e65 commit e116473
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,15 @@

package org.apache.spark.mllib.tree.model

import org.apache.spark.annotation.DeveloperApi

/**
* Predicted value for a node
* @param predict predicted value
* @param prob probability of the label (classification only)
*/
private[tree] class Predict(
@DeveloperApi
class Predict(
val predict: Double,
val prob: Double = 0.0) extends Serializable {

Expand Down

0 comments on commit e116473

Please sign in to comment.