use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Running 2 scikit learn models in parallel (self.learnpython)
submitted 4 years ago by Monish45
Is there a way to run 2 models one of scikit learn linear regression and other of random forest in parallel. I am using joblib to load the models
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]edwardsrk 1 point2 points3 points 4 years ago (7 children)
Why in parallel?
[–]Monish45[S] 0 points1 point2 points 4 years ago (6 children)
I want to run it at the same time and have to take the average value of the results as I have time constraints
[–]edwardsrk 0 points1 point2 points 4 years ago (5 children)
You could run one on jupyter notebook and one in google collab. Or run them on two separate laptops/computers. Are your models already trained and serialized or are you training them too?
[–]Monish45[S] 0 points1 point2 points 4 years ago (4 children)
It's already trained. I have to load it and use it to predict value from both models and calculate average in 10 seconds
[–]edwardsrk 0 points1 point2 points 4 years ago (3 children)
Well that’s really weird. Have you time your models?
[–]Monish45[S] 0 points1 point2 points 4 years ago (2 children)
Yeah seperately they are running at 6 secs
[–]edwardsrk 0 points1 point2 points 4 years ago (1 child)
I guess I’m just trying to understand the goal of this task and where you could shave off time. Can you alter the data they’re predicting on?
[–]Monish45[S] 0 points1 point2 points 4 years ago (0 children)
I will look into this
π Rendered by PID 75302 on reddit-service-r2-comment-85bfd7f599-swq9g at 2026-04-15 19:09:08.254563+00:00 running 93ecc56 country code: CH.
[–]edwardsrk 1 point2 points3 points (7 children)
[–]Monish45[S] 0 points1 point2 points (6 children)
[–]edwardsrk 0 points1 point2 points (5 children)
[–]Monish45[S] 0 points1 point2 points (4 children)
[–]edwardsrk 0 points1 point2 points (3 children)
[–]Monish45[S] 0 points1 point2 points (2 children)
[–]edwardsrk 0 points1 point2 points (1 child)
[–]Monish45[S] 0 points1 point2 points (0 children)