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. ModuleNotFoundError: No module named 'sklearn' - Stack Overflow

    Sep 8, 2017 · ModuleNotFoundError: No module named 'sklearn' I am using Anaconda and Python 3.6.1. When I use the command: conda install scikit-learn, should this not just work? Where does …

  3. sklearn plot confusion matrix with labels - Stack Overflow

    I want to plot a confusion matrix to visualize the classifer's performance, but it shows only the numbers of the labels, not the labels themselves: from sklearn.metrics import confusion_matrix imp...

  4. ImportError: No module named sklearn (Python) - Stack Overflow

    Apr 4, 2016 · I wanna use scikit-learn. I have typed pip install -U scikit-learn pip3 install sklearn to install it; but when i type $ Python >>> import sklearn it returns ImportError: No module na...

  5. python - ImportError in importing from sklearn: cannot import name ...

    Mar 7, 2013 · I had problems importing SKLEARN after installing a new 64bit version of Python 3.4 from python.org. Turns out that it was the SCIPY module that was broken, and alos failed when I tried to …

  6. python - How to use sklearn fit_transform with pandas and return ...

    Mar 1, 2016 · Edit 2: Came across the sklearn-pandas package. It's focused on making scikit-learn easier to use with pandas. sklearn-pandas is especially useful when you need to apply more than …

  7. pandas dataframe columns scaling with sklearn - Stack Overflow

    Jul 9, 2014 · I have a pandas dataframe with mixed type columns, and I'd like to apply sklearn's min_max_scaler to some of the columns. Ideally, I'd like to do these transformations in place, but …

  8. How to use pickle to save sklearn model - Stack Overflow

    Feb 26, 2019 · I want to dump and load my Sklearn trained model using Pickle. How to do that?

  9. what is the difference between 'transform' and 'fit_transform' in sklearn

    May 24, 2014 · In the sklearn-python toolbox, there are two functions transform and fit_transform about sklearn.decomposition.RandomizedPCA. The description of two functions are as follows But what is …

  10. 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: …