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

  3. 'super' object has no attribute '__sklearn_tags__'

    Dec 18, 2024 · 'super' object has no attribute '__sklearn_tags__'. This occurs when I invoke the fit method on the RandomizedSearchCV object. I suspect it could be related to compatibility issues …

  4. 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, which uses the …

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

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

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

    X, Xt, userInfo, userInfo_train = sklearn.cross_validation.train_test_split(X, userInfo) However, I'd like to stratify my training dataset. How do I do that? I've been looking into the StratifiedKFold method, but …

  8. python - fit method in sklearn - Stack Overflow

    from sklearn.decomposition import TruncatedSVD model = TruncatedSVD() svd_1 = model.fit(X1) svd_2 = svd_1.fit(X2) What is happening to svd_1? In other words, svd_1 has already been fitted and I fit it …

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

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

    Sep 8, 2021 · How can I find the p-value (significance) of each coefficient? lm = sklearn.linear_model.LinearRegression () lm.fit (x,y)