Skip to content
Magenaut

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

classification

Save classifier to disk in scikit-learn

August 18, 2022 by Magenaut

How do I save a trained Naive Bayes classifier to disk and use it to predict data?

Categories Python, Q&A Tags classification, machine-learning, python, scikit-learn Leave a comment

How to get most informative features for scikit-learn classifiers?

August 18, 2022 by Magenaut

The classifiers in machine learning packages like liblinear and nltk offer a method show_most_informative_features(), which is really helpful for debugging features:

Categories Python, Q&A Tags classification, machine-learning, python, scikit-learn Leave a comment

Predict classes or class probabilities?

August 15, 2022 by Magenaut

I am currently using H2O for a classification problem dataset. I am testing it out with H2ORandomForestEstimator in a python 3.6 environment. I noticed the results of the predict method was giving values between 0 to 1(I am assuming this is the probability).

Categories Python, Q&A Tags classification, h2o, machine-learning, python, random-forest Leave a comment

Use scikit-learn to classify into multiple categories

August 15, 2022 by Magenaut

I’m trying to use one of scikit-learn’s supervised learning methods to classify pieces of text into one or more categories. The predict function of all the algorithms I tried just returns one match.

Categories Python, Q&A Tags classification, python, scikit-learn Leave a comment

Recent Comments

  • silverplugins217 on How to add placeholder for contact form7 for dropdown?
  • Shreyas Ikhar on How to add a custom CSS class to core blocks in Gutenberg editor?
  • Magenaut on How to call function on timer ASP.NET MVC
  • Ebaad Uddin on How to call function on timer ASP.NET MVC
  • michealSmith07 on Is there a way to dynamically refresh the less command?

Tags

.net adobe-illustrator adobe-photoshop ajax arrays asp.net asp.net-core asp.net-mvc bash c# css database django eloquent express html java javascript jquery json laravel laravel-4 laravel-5 laravel-8 linux list mongodb mongoose mysql node.js npm pandas php python python-3.x react-hooks react-native react-router reactjs redux regex sql string typescript wordpress
© 2023 Magenaut • Built with GeneratePress