About 8,890,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. Get confidence interval from sklearn linear regression in python

    Apr 18, 2020 · If you're looking to compute the confidence interval of the regression parameters, one way is to manually compute it using the results of LinearRegression from scikit-learn and …

  3. How is the R2 value in Scikit learn calculated? - Stack Overflow

    The R^2 in scikit learn is essentially the same as what is described in the wikipedia article on the coefficient of determination (grep for "the most general definition").

  4. python - Pycharm: No module named sklearn - Stack Overflow

    But although scikit-learn (which contains sklearn, that was initially confusing) seems fully installed on my system, including "import sklearn" working outside of PyCharm, I could not get the …

  5. How to use pandas DataFrames with sklearn? - Stack Overflow

    To check the accuracy I used scikit-learn and SVM. Following this tutorial I made this script: import pandas as pd from sklearn.model_selection import train_test_split from sklearn import …

  6. Passing categorical data to Sklearn Decision Tree

    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.

  7. Adding Dropping Column instance into a Pipeline - Stack Overflow

    Jul 16, 2021 · That is a very elegant solution. Just note that in the current version of scikit-learn==1.4.2 you need to pass explicitly remainder='passthrough' for this to work.

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

    Scikit-learn provides two modules for Stratified Splitting: StratifiedKFold : This module is useful as a direct k-fold cross-validation operator: as in it will set up n_folds training/testing sets such …

  9. python - No module named 'keras.wrappers' - Stack Overflow

    Sep 14, 2023 · Rename reference and grid parameter. Note the prefix "model__" instead of using: from keras.wrappers.scikit_learn import KerasRegressor use: from scikeras.wrappers ...

  10. How to upgrade scikit-learn package in anaconda - Stack Overflow

    Anaconda comes with the conda package manager which is designed to handle these kinds of upgrades. Start by updating conda itself to get the most recent package lists: conda update …