<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: R Model training takes forever in Fabric Notebook in Data Science</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4990887#M1069</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1290021" target="_blank"&gt;@roshneematlani&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We wanted to kindly follow up to&amp;nbsp;check if the solution I have provided for the issue worked?&amp;nbsp;or let us know if you need any further assistance.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
    <pubDate>Mon, 02 Feb 2026 15:43:21 GMT</pubDate>
    <dc:creator>v-achippa</dc:creator>
    <dc:date>2026-02-02T15:43:21Z</dc:date>
    <item>
      <title>R Model training takes forever in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4919672#M1056</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use GLM Model in R in databricks which usually takes 3-4 hrs for model training. I am trying to replicate same in the Fabric notebook in SparkR, and it is taking forver to run. Everytime session gets disconnected. Is it the known issue that sparkR in fabric does not support GLM Models or is v v slow? I tried increasing the capacity of Fabric Subscription but it is not helping in any way. Any suggestions on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2026 19:10:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4919672#M1056</guid>
      <dc:creator>roshneematlani</dc:creator>
      <dc:date>2026-01-16T19:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: R Model training takes forever in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4920580#M1057</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1290021"&gt;@roshneematlani&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is not a known issue with GLM support in Fabric. While SparkR is supported in fabric, GLM training via glm() in SparkR is driver bound and is not distributed. Increasing fabric capacity only adds executor resources, which does not improve SparkR GLM performance.&lt;/P&gt;
&lt;P&gt;In fabric notebooks long running SparkR jobs can be very slow and may hit notebook session or driver limits, that causes the disconnections you are seeing. This behaviour differs from databricks, where SparkR clusters allow larger and more persistent drivers.&lt;/P&gt;
&lt;P&gt;For large datasets or multi-hour training, the recommend way is to use Spark MLlib GLM (via sparklyr or PySpark), which is fully distributed and supported in fabric. SparkR is best for the smaller or exploratory workloads.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2026 08:44:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4920580#M1057</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2026-01-19T08:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: R Model training takes forever in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4921203#M1059</link>
      <description>&lt;P&gt;My current model is as follows-&lt;BR /&gt;&lt;BR /&gt;fit &amp;lt;- glm( formula = y~ x1+ x2+ x3+ x4 + x5 + x6 + x7 + x8 + x9 + x10, data = train_df, family = binomial, weights = weights, method = "brglmFit", type = 'MPL_Jeffreys', a = 0.1, control = list( maxit = 5000, trace = TRUE, slowit = 0.1 ) )&lt;BR /&gt;&lt;BR /&gt;and based on my research- using&lt;BR /&gt;method = "brglmFit"&lt;BR /&gt;type = "MPL_Jeffreys"&lt;BR /&gt;in fabric sparkR is very slow and equivalent is&amp;nbsp;&lt;STRONG&gt;NOT available in Spark MLlib.&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Any other alternative for fabric?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2026 20:00:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4921203#M1059</guid>
      <dc:creator>roshneematlani</dc:creator>
      <dc:date>2026-01-19T20:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: R Model training takes forever in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4923048#M1061</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1290021"&gt;@roshneematlani&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;There is no equivalent or better alternative inside fabric today.&lt;/P&gt;
&lt;P&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 05:18:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4923048#M1061</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2026-01-22T05:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: R Model training takes forever in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4932295#M1064</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1290021"&gt;@roshneematlani&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to&amp;nbsp;check if the solution I have provided for the issue worked?&amp;nbsp;or let us know if you need any further assistance.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 12:58:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4932295#M1064</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2026-01-27T12:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: R Model training takes forever in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4935941#M1065</link>
      <description>&lt;P&gt;Do we have any official wiki or any other resource which states this limitation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Roshnee&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 16:36:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4935941#M1065</guid>
      <dc:creator>roshneematlani</dc:creator>
      <dc:date>2026-01-27T16:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: R Model training takes forever in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4942373#M1066</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1290021"&gt;@roshneematlani&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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:&lt;BR /&gt;&lt;A href="https://spark.apache.org/docs/latest/ml-classification-regression" target="_blank"&gt;https://spark.apache.org/docs/latest/ml-classification-regression&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://spark.apache.org/docs/latest/api/R/articles/sparkr-vignettes" target="_blank"&gt;https://spark.apache.org/docs/latest/api/R/articles/sparkr-vignettes&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 07:52:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4942373#M1066</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2026-01-28T07:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: R Model training takes forever in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4990887#M1069</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1290021" target="_blank"&gt;@roshneematlani&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We wanted to kindly follow up to&amp;nbsp;check if the solution I have provided for the issue worked?&amp;nbsp;or let us know if you need any further assistance.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 15:43:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/4990887#M1069</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2026-02-02T15:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: R Model training takes forever in Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/5040378#M1092</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;PRE&gt;Train brglmFit model &lt;STRONG&gt;locally&lt;/STRONG&gt; (CPU/GPU)&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;PRE&gt;Save model coefficients&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;PRE&gt;Load them into:&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&lt;PRE&gt;Django backend&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;PRE&gt;Or inference-only service&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;Fabric is then used for:&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&lt;PRE&gt;Data ingestion&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;PRE&gt;Feature prep&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;PRE&gt;Analytics&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 16 Feb 2026 14:27:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Science/R-Model-training-takes-forever-in-Fabric-Notebook/m-p/5040378#M1092</guid>
      <dc:creator>Ravella_Vikhil</dc:creator>
      <dc:date>2026-02-16T14:27:48Z</dc:date>
    </item>
  </channel>
</rss>

