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

  3. How to extract the decision rules from scikit-learn decision-tree?

    2 Here is a function, printing rules of a scikit-learn decision tree under python 3 and with offsets for conditional blocks to make the structure more readable:

  4. 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 = iris.data...

  5. Scikit-learn: How to obtain True Positive, True Negative, False ...

    Jul 10, 2015 · Scikit-learn: How to obtain True Positive, True Negative, False Positive and False Negative Asked 10 years, 7 months ago Modified 1 year, 8 months ago Viewed 286k times

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

    Sep 8, 2021 · Find p-value (significance) in scikit-learn LinearRegression Asked 11 years, 1 month ago Modified 2 years, 3 months ago Viewed 444k times

  7. What are all the formats to save machine learning model in scikit-learn ...

    Apr 9, 2020 · What are other formats to save the model for Scikit-learn, Keras, Tensorflow, and Mxnet? Also what info I am missing about each of the above-discussed formats?

  8. XGBoost: How to use a DMatrix with scikit-learn interface .fit

    Jun 18, 2023 · The problem is, I need a scikit-learn model so that it works with the rest of my program. Is there a way to use a DMatrix with the scikit-learn interface in XGBoost, or any workarounds to avoid …

  9. ModuleNotFoundError: No module named 'sklearn' - Stack Overflow

    Sep 8, 2017 · I want to import scikit-learn, but there isn't any module apparently: ModuleNotFoundError: No module named 'sklearn' I am using Anaconda and Python 3.6.1. When I use the command: …

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

    Feb 13, 2015 · # The scikit-learn version is 0.15.2. Note that not all Python packages are guaranteed to have a __version__ attribute, so for some others it may fail, but for nltk and scikit-learn at least it will …