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?

    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: def print_decision_tree(tree, …

  4. scikit image - Import error No module named skimage - Stack Overflow

    I am building code on python using skimage. But I am getting import errors while using skimage.segmentation. Traceback (most recent call last): File "superpixel.py", line 5, in …

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

    Jan 13, 2015 · Find p-value (significance) in scikit-learn LinearRegression Asked 11 years ago Modified 2 years, 3 months ago Viewed 444k times

  6. scikit-learn .predict() default threshold - Stack Overflow

    Scikit-learn classifiers generally choose the predicted class by taking the of scores/probabilities (see LogisticRegression and DecisionTreeClassifier). For , the is equal to using a 0.5 threshold on …

  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. Using Scikit-Learn OneHotEncoder with a Pandas DataFrame

    Sep 25, 2019 · There is a library related to scikit-learn named skrub that lets you encode columns using scikit-learn transformers with much more control on which columns get transformed how.

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

    May 13, 2019 · Closed 4 years ago. I am trying to re-create the prediction of a trained model but I don't know how to save a model. For example, I want to save the trained Gaussian processing regressor …

  10. How to use pickle to save sklearn model - Stack Overflow

    Feb 26, 2019 · 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 that carry large numpy arrays internally as is often …