About 12,100,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 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 …

  3. python - Pycharm: No module named sklearn - Stack Overflow

    But although scikit-learn (which contains sklearn, that was initially confusing) seems fully installed on my system, including "import sklearn" working outside of PyCharm, I could not get the "import sklearn" to …

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

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

  5. How do I import KerasClassifier now? - Stack Overflow

    Sep 8, 2023 · How to import KerasClassifier for use with Gridsearch? The following from tensorflow.keras.layers.wrappers.scikit_learn import KerasClassifier Used to work, but now returns: …

  6. How to use pandas DataFrames with sklearn? - Stack Overflow

    Like mentioned in the comments below your question your features and your label are persumably strings. However, sklearn requires them to be numeric (sklearn is normally used with numpy arrays). …

  7. Passing categorical data to Sklearn Decision Tree

    Scikit-Learn itself provides very good classes to handle categorical data. Instead of writing your custom function, you should use LabelEncoder which is specially designed for this purpose.

  8. How is the R2 value in Scikit learn calculated? - Stack Overflow

    The R^2 in scikit learn is essentially the same as what is described in the wikipedia article on the coefficient of determination (grep for "the most general definition"). It is 1 - residual sum of square / …

  9. What are the parameters for sklearn's score function?

    Scikit-learns model.score (X,y) calculation works on co-efficient of determination i.e R^2 is a simple function that takes model.score= (X_test,y_test). It doesn't require y_predicted value to be supplied …

  10. 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: