Github user keypointt commented on the issue:
https://github.com/apache/spark/pull/14447
hi @mengxr , could you please tell me how to debug R wrapper? Thanks a lot
I tried to read documentation and google, but cannot figure it out myself.
From SparkR console, the error message is too vague as below, and I tried to
`tail -f` spark logs but no error messages, and also I tried to create a
`RWrapperSuite` but the class is private and cannot be accessed.
```
> model <- spark.mlp(irisDF, ~ Sepal_Length + Sepal_Width + Petal_Length +
Petal_Width, blockSize=128, initialWeights=seq(1, 9, by = 2), layers=3,
solver='LBFGS', seed=1234L, maxIter=100, tol=0.5, stepSize=1)
16/08/01 17:16:38 ERROR RBackendHandler: fit on
org.apache.spark.ml.r.MultilayerPerceptronClassifierWrapper failed
Error in invokeJava(isStatic = TRUE, className, methodName, ...) :
In addition: Warning message:
In if (is.na(object)) { :
the condition has length > 1 and only the first element will be used
```
---
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]