Closed ngiann closed 8 years ago
Hey @ngiann, thank you for the bug report! This is my fault, I should have had a test to catch this. I just pushed a fix on master
. You can try it out with Pkg.checkout("ScikitLearn")
. Don't hesitate to ask again if you have any other issue.
Hello @cstjean, I appreciate the prompt reply. I am a newbie with calling Python, so I wasn't sure. Thanks a lot, it all works now.
First of all, many thanks for this excellent package. I am wondering if I could help with the following problem perhaps. I am running julia version 0.4.5 and, as far I can tell, I have got scikit-learn version 0.17.1 installed.
I have gone through the steps listed in the Quick Start Guide one by one. All the steps work fine and reproduce the results shown in the guide successfully, apart from this one step in section "Hyperparameter tuning". Specifically when I execute the statement:
fit!(gridsearch, X, y)
I get the error:
ERROR: MethodError:
_fit_and_scorehas no method matching _fit_and_score(::PyCall.PyObject, ::Array{Float64,2}, ::Array{ByteString,1}, ::Function, ::Array{Int64,1}, ::Array{Int64,1}, ::Int64, ::Dict{Any,Any}, ::Dict{Any,Any})
I cannot see how I can correct this error. Any ideas perhaps? Thanks.