Skip to main content
9 events
when toggle format what by license comment
Aug 14, 2020 at 5:42 comment added Bharathi Oh okay . So , do you have any other idea ?
Aug 13, 2020 at 16:07 comment added 10xAI I don't think, it has a predict method. so, you will have next error. Gridsearch is to predict, get a score, and decide the best.
Aug 13, 2020 at 12:25 comment added Bharathi Sadly , that doesn't work either . It gives me an error " _score() missing 1 required positional argument: 'y_true' " . Perhaps gridsearch can just not be applied to gensim's Word2vec ?
Aug 13, 2020 at 9:16 review Low quality posts
Aug 13, 2020 at 10:03
Aug 13, 2020 at 9:11 comment added Noah Weber Try it like this, with make_scorer
Aug 13, 2020 at 9:10 history edited Noah Weber CC BY-SA 4.0
added 22 characters in body
Aug 13, 2020 at 9:08 comment added Bharathi Tried it and getting the following error :" ValueError: scoring value <function accuracy_score at 0x000001FDA62A6558> looks like it is a metric function rather than a scorer. A scorer should require an estimator as its first parameter. Please use make_scorer to convert a metric to a scorer."
Aug 13, 2020 at 8:20 review Low quality posts
Aug 13, 2020 at 9:04
Aug 13, 2020 at 8:01 history answered Noah Weber CC BY-SA 4.0