Skip to content

Commit

Permalink
graduate Rating and setAlpha in ALS
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxr committed Feb 5, 2015
1 parent b854d28 commit 9b8eed3
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ import org.apache.spark.rdd.RDD
import org.apache.spark.storage.StorageLevel

/**
* :: Experimental ::
* A more compact class to represent a rating than Tuple3[Int, Int, Double].
*/
@Experimental
case class Rating(user: Int, product: Int, rating: Double)

/**
Expand Down Expand Up @@ -135,10 +133,8 @@ class ALS private (
}

/**
* :: Experimental ::
* Sets the constant used in computing confidence in implicit ALS. Default: 1.0.
*/
@Experimental
def setAlpha(alpha: Double): this.type = {
this.alpha = alpha
this
Expand Down

0 comments on commit 9b8eed3

Please sign in to comment.