About 13,900,000 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. How to convert a Scikit-learn dataset to a Pandas dataset

    How do I convert data from a Scikit-learn Bunch object to a Pandas DataFrame? from sklearn.datasets import load_iris import pandas as pd data = load_iris () print (type (data)) data1 = pd.

  3. pandas dataframe columns scaling with sklearn - Stack Overflow

    Jul 9, 2014 · I have a pandas dataframe with mixed type columns, and I'd like to apply sklearn's min_max_scaler to some of the columns. Ideally, I'd like to do these transformations in place, but …

  4. python - How to find the importance of the features for a logistic ...

    Since scikit-learn 0.22, sklearn defines a sklearn.inspection module which implements permutation_importance, which can be used to find the most important features - higher value …

  5. sklearn plot confusion matrix with labels - Stack Overflow

    I want to plot a confusion matrix to visualize the classifer's performance, but it shows only the numbers of the labels, not the labels themselves: from sklearn.metrics import confusion_matrix imp...

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

  7. How to split data into 3 sets (train, validation and test)?

    I know that using train_test_split from sklearn.cross_validation, one can divide the data in two sets (train and test). However, I couldn't find any solution about splitting the data into three sets.

  8. Multiple classification models in a scikit pipeline python

    I am solving a binary classification problem over some text documents using Python and implementing the scikit-learn library, and I wish to try different models to compare and contrast results - ma...

  9. ImportError: cannot import name 'joblib' from 'sklearn.externals'

    May 19, 2020 · I am trying to load my saved model from s3 using joblib import pandas as pd import numpy as np import json import subprocess import sqlalchemy from sklearn.externals import joblib …

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

    Sep 24, 2015 · running sklearn from Anaconda distrib on a Win7 4 cores 8 GB system fitting a KMeans model on a 200.000 samples*200 values table. running with n-jobs = -1: (after adding the if …