Forum Discussion
R Model training takes forever in Fabric Notebook
- 7 months ago
Hi roshneematlani,
Currently there is no single official wiki page that explicitly calls out the limitation. But from the official Spark MLlib and SparkR documentation, we can see the set of supported GLM algorithms and parameters, and the bias reduced methods like Jeffreys/Firth are not part of that supported surface area. Please refer below documents:
https://spark.apache.org/docs/latest/ml-classification-regressionhttps://spark.apache.org/docs/latest/api/R/articles/sparkr-vignettes
Thanks and regards,
Anjan Kumar Chippa
Hi roshneematlani,
Yes you are correct, brglmFit with MPL_Jeffreys has no equivalent in Spark MLlib, and that is why the workload performs poorly in fabric sparkR. These models are strictly single node and run on the spark driver, because of that long running training disconnects in fabric.
There is no equivalent or better alternative inside fabric today.
If jeffreys prior bias reduction is required, the recommended approach is to train the model outside fabric using native R and then deploy the trained coefficients for scoring inside fabric.
Thanks and regards,
Anjan Kumar Chippa
Hi roshneematlani,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution I have provided for the issue worked? or let us know if you need any further assistance.
Thanks and regards,
Anjan Kumar Chippa
- roshneematlani7 months ago
Microsoft Employee
Do we have any official wiki or any other resource which states this limitation?
Thanks
Roshnee
- v-achippa7 months ago
Community Support
Hi roshneematlani,
Currently there is no single official wiki page that explicitly calls out the limitation. But from the official Spark MLlib and SparkR documentation, we can see the set of supported GLM algorithms and parameters, and the bias reduced methods like Jeffreys/Firth are not part of that supported surface area. Please refer below documents:
https://spark.apache.org/docs/latest/ml-classification-regressionhttps://spark.apache.org/docs/latest/api/R/articles/sparkr-vignettes
Thanks and regards,
Anjan Kumar Chippa
- v-achippa7 months ago
Community Support
Hi @roshneematlani,
We wanted to kindly follow up to check if the solution I have provided for the issue worked? or let us know if you need any further assistance.
Thanks and regards,
Anjan Kumar Chippa