Skip to content

Commit

Permalink
Make predict private
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-iskw committed Jul 1, 2015
1 parent 93aa2ff commit c2df35d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ class KMeansModel private[ml] (
validateAndTransformSchema(schema)
}

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

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

0 comments on commit c2df35d

Please sign in to comment.