r-spark / sparknlp

Other
31 stars 6 forks source link

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

Closed dkincaid closed 4 years ago

dkincaid commented 4 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 4 years ago

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