About 7,680,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 …

  2. A progress bar for scikit-learn? - Stack Overflow

    Dec 13, 2015 · Is there any way to have a progress bar to the fit method in scikit-learn ? Is it possible to include a custom one with something like Pyprind ?

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

  4. How to save a trained model by scikit-learn? - Stack Overflow

    May 13, 2019 · 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 model …

  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. How to seed the random number generator for scikit-learn?

    I'm not sure if it will solve your determinism problem, but this isn't the right way to use a fixed seed with scikit-learn. Instantiate a prng=numpy.random.RandomState(RANDOM_SEED) instance, …

  7. How to fit a polynomial curve to data using scikit-learn?

    Problem context Using scikit-learn with Python, I'm trying to fit a quadratic polynomial curve to a set of data, so that the model would be of the form y = a2x^2 + a1x + a0 and the an …

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

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

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

  10. Python scikit learn MLPClassifier "hidden_layer_sizes"

    Feb 12, 2016 · In the docs: hidden_layer_sizes : tuple, length = n_layers - 2, default (100,) means : hidden_layer_sizes is a tuple of size (n_layers -2) n_layers means no of layers we want as …