Skip to main content

Others

Some Classifiers in scikit-learn

  • K-nearest neighbors
  • Support vector machines
  • Decision tree classifiers / Random Forests
  • Naive Bayes
  • Linear Discriminant Analysis
  • Logistic Regression

Examples of Classification Tasks

Classification tasks are any tasks that have you putting examples into two or more classes. Determining if an image is a cat or dog is a classification task, as is determining what the quality of a bottle of wine is based on features like acidity and alcohol content.

Depending on the classification task at hand, you will want to use different classifiers. For instance, a logistic regression model is best suited for binary classification tasks, even though multiple variable logistic regression models exist.

As you gain more experience with classifiers you will develop a better sense for when to use which classifier. However, a common practice is to instantiate multiple classifiers and compare their performance against one another, then select the classifier which performs the best.

https://stackabuse.com/overview-of-classification-methods-in-python-with-scikit-learn

https://scikit-learn.org/stable/auto_examples/classification/plot_classifier_comparison.html

Resources

https://www.dataquest.io/blog/sci-kit-learn-tutorial

https://www.freecodecamp.org/news/machine-learning-with-scikit-learn-full-course

https://www.freecodecamp.org/news/learn-scikit-learn