Body: <p>I have a time series forecasting problem which consist of date, item no and quantity columns. I have defined a function which takes input as data frame and forecasting period (Daily,Weekly,Monthly,Yearly) and in that function I have a for loop which runs according to the item no. in which 8-10 ML models are trained on each item no and its relevant data. There are like 40 item nos. for each item no. a pickle file is generated and all the accuracies are compared and best of all is selected for that item no. The normal approach is taking more than 3 days to train the models. I want train the models concurrently and save the pickle file.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-01T14:15:13.360Z
Comments.Text: What is the question?
Comments.UserDisplayName: foreverska
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-01T15:42:33.403Z
Comments.Text: @foreverska I want to reduce the time to train the model... can we train models at processor core level simultaneously. If it takes 15 mins to train one model and 1 hr to train four models. can we train four models on one core each and make it done in 15 mins simultaneously
Comments.UserDisplayName: Rohit
Tags: <machine-learning><sequence-modeling><forecasting>
Title: Executing Multiple ML Models simultaneously on multiple cores to reduce the model building time
UserDisplayName: Rohit
ThreadText: # Executing Multiple ML Models simultaneously on multiple cores to reduce the model building time
  
  (Asked by: username_0 on 2024-01-31)
  
  I have a time series forecasting problem which consist of date, item no and quantity columns. I have defined a function which takes input as data frame and forecasting period (Daily,Weekly,Monthly,Yearly) and in that function I have a for loop which runs according to the item no. in which 8-10 ML models are trained on each item no and its relevant data. There are like 40 item nos. for each item no. a pickle file is generated and all the accuracies are compared and best of all is selected for that item no. The normal approach is taking more than 3 days to train the models. I want train the models concurrently and save the pickle file.
  
  **Tags:** machine-learning, sequence-modeling, forecasting
  > **Comments:**
  > **username_1**: What is the question?  
  > **username_0**: @foreverska I want to reduce the time to train the model... can we train models at processor core level simultaneously. If it takes 15 mins to train one model and 1 hr to train four models. can we train four models on one core each and make it done in 15 mins simultaneously  
  
  ---
  
  ## 0 answers
  
  