Skip to content

Commit

Permalink
Fit on 1 line
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-iskw committed Jul 16, 2015
1 parent e186be1 commit 2ec80bc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ class KMeansModel private[ml] (
validateAndTransformSchema(schema)
}

private[clustering]
def predict(features: Vector): Int = parentModel.predict(features)
private[clustering] def predict(features: Vector): Int = parentModel.predict(features)

def clusterCenters: Array[Vector] = parentModel.clusterCenters
}
Expand Down

0 comments on commit 2ec80bc

Please sign in to comment.