About 13,400,000 results
Open links in new tab
  1. 'super' object has no attribute '__sklearn_tags__'

    Dec 18, 2024 · I suspect it could be related to compatibility issues between Scikit-learn and XGBoost or Python version. I am using Python 3.12, and both Scikit-learn and XGBoost are …

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

    May 13, 2019 · From scikit-learn documentation: In the specific case of scikit-learn, it may be better to use joblib’s replacement of pickle (dump & load), which is more efficient on objects …

  3. parallel processing - Python scikit learn n_jobs - Stack Overflow

    Sep 24, 2015 · Scikit-Learn n_jobs Multiprocessing Locked To One Core. 2. parallelization with n_jobs in scikit-learn ...

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

  5. Installing a specific version of sklearn - Stack Overflow

    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 tested it …

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

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

    Oct 20, 2016 · To access the single decision tree from the random forest in scikit-learn use estimators_ attribute: rf = RandomForestClassifier() # first decision tree rf.estimators_[0] Then …

  8. how to check which version of nltk, scikit learn installed?

    Feb 13, 2015 · pip3 list | findstr scikit scikit-learn 0.22.1 If you are on Anaconda try. conda list scikit scikit-learn 0.22.1 py37h6288b17_0 And this can be used to find out the version of any …

  9. Make regression model with categorical data with Scikit-Learn

    You are asking a general question about regression, not just regarding SciKit, so I'll try to answer in general terms. You are right about yes/no variables, you can encode them as binary …

  10. In sklearn regression, is there a command to return residuals for all ...

    Mar 11, 2019 · In sklearn to get predictions use .predict(x). modelname.fit(xtrain, ytrain) prediction = modelname.predict(x_test) residual = (y_test - prediction)