About 12,500,000 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 …

  2. How do I import scikit-learn in a jupyter notebook?

    Sep 17, 2019 · I created a fresh conda environment for using scikit-learn and used conda install <package> to install scikit-learn, jupyter, pandas, etc. for compatible dependencies.. I …

  3. what is the difference between 'transform' and 'fit_transform' in …

    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 …

  4. A progress bar for scikit-learn? - Stack Overflow

    Dec 13, 2015 · Is there any way to have a progress bar to the fit method in scikit-learn ? Is it possible to include a custom one with something like Pyprind ?

  5. fit () vs fit_predict () methods in sklearn KMeans

    Mar 25, 2021 · KMeans is just one of the many models that sklearn has, and many share the same API. The basic functions are fit, which teaches the model using examples, and predict, …

  6. 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 …

  7. Plot trees for a Random Forest in Python with Scikit-Learn

    Oct 20, 2016 · I want to plot a decision tree of a random forest. So, i create the following code: clf = RandomForestClassifier(n_estimators=100) import pydotplus import six from sklearn import …

  8. How to compute precision, recall, accuracy and f1-score for the ...

    Jul 15, 2015 · How to fix sklearn warnings? Just simply (as yangjie noticed) overwrite average parameter with one of these values: 'micro' (calculate metrics globally), 'macro' (calculate …

  9. python - How to find the importance of the features for a logistic ...

    Since scikit-learn 0.22, sklearn defines a sklearn.inspection module which implements permutation_importance, which can be used to find the most important features - higher value …

  10. ImportError: No module named model_selection - Stack Overflow

    Nov 20, 2016 · I am trying to use train_test_split function and write: from sklearn.model_selection import train_test_split and this causes ImportError: No module named model_selection Why? …