Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • $\begingroup$ Hi, thanks for the response. Upvoted. So I shouldn't be using random_state? I only use scikit-learn and classic machine learning models like Linear and Logistic, SVM, RF,Boosting... No deep learning. $\endgroup$ Commented Jan 12, 2020 at 11:56
  • $\begingroup$ So I don't have to worry about torch etc right? $\endgroup$ Commented Jan 12, 2020 at 11:57
  • $\begingroup$ This s a general answer, but yes for your specific case sklearn suffices. Question is do you have any dependencies, I dont know your whole code $\endgroup$ Commented Jan 12, 2020 at 11:57
  • $\begingroup$ updated my code. can you advise now? $\endgroup$ Commented Jan 12, 2020 at 11:59
  • 3
    $\begingroup$ This solves the problem but leaves the question about why the random_state argument of scikit-learn models doesn't ensure repeatability unanswered. $\endgroup$ Commented Jun 22, 2021 at 19:46