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

    Stratified Train/Test-split in scikit-learn Asked 11 years ago Modified 5 years, 1 month ago Viewed 342k times

  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. Find p-value (significance) in scikit-learn LinearRegression

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

  5. How to upgrade scikit-learn package in anaconda - Stack Overflow

    It should now display the current (and desired) version of the scikit-learn library. For me personally, I tried using the conda command to update the scikit-learn library and it acted as if it were installing …

  6. scikit-learn random state in splitting dataset - Stack Overflow

    By the way I have seen random_state=42 used in many official examples of scikit as well as elsewhere also. random_state as the name suggests, is used for initializing the internal random number …

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

    Feb 13, 2015 · 10 For checking the version of scikit-learn in shell script, if you have pip installed, you can try this command ... Hope it helps!

  8. How to compute precision, recall, accuracy and f1-score for the ...

    Jul 15, 2015 · Using 'weighted' in scikit-learn will weigh the f1-score by the support of the class: the more elements a class has, the more important the f1-score for this class in the computation. These are 3 …

  9. Adding scikit-learn (sklearn) prediction to pandas data frame

    Nov 8, 2015 · I am trying to add a sklearn prediction to a pandas dataframe, so that I can make a thorough evaluation of the prediction. The relavant piece of code is the following: clf = linear_model.

  10. Plot trees for a Random Forest in Python with Scikit-Learn

    Oct 20, 2016 · After you fit a random forest model in scikit-learn, you can visualize individual decision trees from a random forest. The code below first fits a random forest model.