Skip to content

Commit

Permalink
src/scikitlearn.jl: Remove out-of-date comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fundamental committed Oct 31, 2018
1 parent 7fb9ad9 commit a95d901
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/scikitlearn.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ end
ScikitLearnBase.predict_log_proba(gmm::GMM, X) = log(gmmposterior(gmm, X)[1])
ScikitLearnBase.predict_proba(gmm::GMM, X) = gmmposterior(gmm, X)[1]
ScikitLearnBase.predict(gmm::GMM, X) =
# This is just `argmax(axis=2)`. It's very verbose in Julia.
getindex.(argmax(ScikitLearnBase.predict_proba(gmm, X), dims=2), 2)

""" `density(gmm::GMM, X)` returns `log(P(X|μ, Σ))` """
Expand Down

0 comments on commit a95d901

Please sign in to comment.