r-spark / sparknlp

Other
32 stars 6 forks source link

NerDL doesn't use Lr, Po or dropout parameters #2

Closed dkincaid closed 5 years ago

dkincaid commented 5 years ago

Due to a bug in sparklyr (https://github.com/rstudio/sparklyr/issues/2151) we are unable to call any Scala methods that take a Float type as an argument. Thus Lr, Po and dropout parameters won't work until this is fixed.

ner-dl.R

dkincaid commented 5 years ago

Added Scala wrapper to convert from Double to Float for these parameters