Skip to content

Commit

Permalink
make parentModel of KMeansModel private
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-iskw committed Jul 1, 2015
1 parent 8559772 commit e9532e1
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,8 @@ private[clustering] trait KMeansParams
*/
@Experimental
class KMeansModel private[ml] (
override val uid: String,
val parentModel: MLlibKMeansModel
) extends Model[KMeansModel] with KMeansParams {
override val uid: String,
private val parentModel: MLlibKMeansModel) extends Model[KMeansModel] with KMeansParams {

override def copy(extra: ParamMap): KMeansModel = {
val copied = new KMeansModel(uid, parentModel)
Expand Down

0 comments on commit e9532e1

Please sign in to comment.