Github user srowen commented on the issue:
https://github.com/apache/spark/pull/18797
The only number that is <= Double.PositiveInfinity is Double.NaN, because
it has no ordering at all with respect to anything. So init must be NaN somehow.
It's called from LBFGS in Breeze, where the value is `if(state.iter == 0.0)
1.0/norm(dir) else 1.0`, that should only happen if norm(dir) is NaN, which
should only happen if the dir vector has a NaN element. And then so on, but I'm
not seeing how the arguments from the Spark code cause this. The initial params
are all 0.
It might still be a Breeze issue that's just now uncovered, but, haven't
proven that yet.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]