About 50 results
Open links in new tab
  1. Difference between scikit-learn and sklearn (now deprecated)

    Regarding the difference sklearn vs. scikit-learn: The package "scikit-learn" is recommended to be installed using pip install scikit-learn but in your code imported using import sklearn. A bit confusing, …

  2. Stratified Train/Test-split in scikit-learn - Stack Overflow

    Stratified Train/Test-split in scikit-learn Asked 10 years, 11 months ago Modified 4 years, 11 months ago Viewed 341k times

  3. How to extract the decision rules from scikit-learn decision-tree?

    2 Here is a function, printing rules of a scikit-learn decision tree under python 3 and with offsets for conditional blocks to make the structure more readable:

  4. Random state (Pseudo-random number) in Scikit learn

    Jun 16, 2020 · I want to implement a machine learning algorithm in scikit learn, but I don't understand what this parameter random_state does? Why should I use it? I also could not understand what is a …

  5. How to save a trained model by scikit-learn? [duplicate]

    May 13, 2019 · Closed 4 years ago. I am trying to re-create the prediction of a trained model but I don't know how to save a model. For example, I want to save the trained Gaussian processing regressor …

  6. Installing an old version of scikit-learn - Stack Overflow

    Jan 29, 2020 · In my case, I was able to "hack" the modern scikit learn to load a pickle created with a much older version: sys.modules['sklearn.preprocessing.label'] = …

  7. scikit image - Import error No module named skimage - Stack Overflow

    I am building code on python using skimage. But I am getting import errors while using skimage.segmentation. Traceback (most recent call last): File "superpixel.py", line 5, in …

  8. ModuleNotFoundError: No module named 'sklearn' - Stack Overflow

    Sep 8, 2017 · I want to import scikit-learn, but there isn't any module apparently: ModuleNotFoundError: No module named 'sklearn' I am using Anaconda and Python 3.6.1. When I use the command: …

  9. VS Code: ModuleNotFoundError: No module named 'sklearn'

    Apr 5, 2021 · I am working in VS Code to run a Python script in conda environment named myenv where sklearn is already installed. However when I import it and run the script I get the following error: …

  10. Using Scikit-Learn OneHotEncoder with a Pandas DataFrame

    Sep 25, 2019 · There is a library related to scikit-learn named skrub that lets you encode columns using scikit-learn transformers with much more control on which columns get transformed how.