title: Too Many Weights in Multinomial logistic regression and the code is running for hours
body: <p>I have a DF(train_market) having 8523 rows and 12 Columns as shown <a href="https://i.stack.imgur.com/di5MR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/di5MR.png" alt="enter image description here"></a></p>
  
  <p>And I'm Doing multinomial logistic regression model to get the ITem_Outlet_Sales on the test_data.
  but the code to run the model is running from hours together</p>
  
  <pre><code> model &lt;- nnet(Item_Outlet_Sales~.,train_market,family="multinomial",size = 5574900,softmax=TRUE)
  </code></pre>
  
  <p>I tried others two shown below but still its running for hours, what changes should i do to get it done</p>
  
  <pre><code> model &lt;- multinom(Item_Outlet_Sales~.,train_market,family="multinomial")
   model &lt;- nnet(Item_Outlet_Sales~.,train_market,family="multinomial",size = 5574900,softmax=TRUE)
  </code></pre>
  
  <p>And i got the error for the 2nd Code as</p>
  
  <pre><code>Error in nnet.default(X, Y, w, mask = mask, size = 0, skip = TRUE, softmax = TRUE,  : 
   too many (5574828) weights
  </code></pre>
  
  <p>so kept size =5574900 in 3rd and tried,Which dint help.</p>