Skip to content

Commit

Permalink
intial annotation of developer and experimental apis
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxr committed Apr 2, 2014
1 parent 8b3045c commit 2b133d6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ package org.apache.spark.mllib.tree.impurity
trait Impurity extends Serializable {

/**
* <span class="badge badge-red" style="float: right;">DEVELOPER API - UNSTABLE</span>
*
* information calculation for binary classification
* @param c0 count of instances with label 0
* @param c1 count of instances with label 1
Expand All @@ -31,6 +33,8 @@ trait Impurity extends Serializable {
def calculate(c0 : Double, c1 : Double): Double

/**
* <span class="badge badge-red" style="float: right;">DEVELOPER API - UNSTABLE</span>
*
* information calculation for regression
* @param count number of instances
* @param sum sum of labels
Expand Down

0 comments on commit 2b133d6

Please sign in to comment.