About 51 results
Open links in new tab
  1. Difference between scikit-learn and sklearn (now deprecated)

    Dec 5, 2022 · 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 …

  2. '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 …

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

  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. Parameter "stratify" from method "train_test_split" (scikit Learn)

    I am trying to use train_test_split from package scikit Learn, but I am having trouble with parameter stratify. Hereafter is the code: from sklearn import cross_validation, datasets X = …

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

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

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

  10. Python- How to import DecisionTree Classifier from sklearn.tree

    Feb 12, 2022 · Python- How to import DecisionTree Classifier from sklearn.tree Asked 3 years, 10 months ago Modified 1 year, 1 month ago Viewed 5k times