About 2,150,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. Passing categorical data to Sklearn Decision Tree - Stack Overflow

    Scikit-Learn itself provides very good classes to handle categorical data. Instead of writing your custom function, you should use LabelEncoder which is specially designed for this purpose. …

  3. python - Skimage: how to show image - Stack Overflow

    I am novice at skimage and I try to show the image in my ipython notebook:\ from skimage import data, io coins = data.coins () io.imshow (coins) But I see only the following string: <matplotlib....

  4. Find p-value (significance) in scikit-learn LinearRegression

    Jan 13, 2015 · Find p-value (significance) in scikit-learn LinearRegression Asked 10 years, 5 months ago Modified 1 year, 8 months ago Viewed 439k times

  5. How do I import KerasClassifier now? - Stack Overflow

    Sep 8, 2023 · How to import KerasClassifier for use with Gridsearch? The following from tensorflow.keras.layers.wrappers.scikit_learn import KerasClassifier Used to work, but now …

  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 &gt;&gt;&gt; import sklearn it returns ImportError: No …

  7. Installing a specific version of sklearn - Stack Overflow

    9 As Alex stated, you need use to the full name of the module, uppercase is indifferent in this case. Both pip install scikit-learn==0.21.3 or pip install Scikit-learn==0.21.3 will work as I just …

  8. What are the parameters for sklearn's score function?

    Scikit-learns model.score (X,y) calculation works on co-efficient of determination i.e R^2 is a simple function that takes model.score= (X_test,y_test). It doesn't require y_predicted value to …

  9. PCA on sklearn - how to interpret pca.components_

    Recommended: Intro to ML with Python by Andreas C. Müller & Sarah Guido. (Andreas is a core sklearn developer.) The section on PCA gives a very clear walkthrough.

  10. How to extract feature importances from an Sklearn pipeline

    Aug 5, 2016 · I've built a pipeline in Scikit-Learn with two steps: one to construct features, and the second is a RandomForestClassifier. While I can save that pipeline, look at various steps and …

Refresh