Skip to content
This repository was archived by the owner on Feb 28, 2019. It is now read-only.

A classifier that uses the scikit-learn library to predict whether the given measurements belong to a polar bear or a gray wolf.

Notifications You must be signed in to change notification settings

hernanrazo/scikit-learn-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Scikit-learn-classifier

A classifier that uses the scikit-learn library to predict whether the given animal measurements belong to a polar bear or gray wolf. The given measurements are height (m), length (m), and weight (kg).

This specific example uses the decision tree, support vector classification, perceptron, and k nearest neighbor classification algorithms. Each classifier takes two input arrays, the measurements and the labels. The measurements are the dimensions of either a polar bear or a gray wolf. The labels are either ‘polar bear’ or ‘gray wolf’ depending on which of the two the previous measurements belong to. The program then makes a new prediction for each classifier based on new data.

Data taken from:

http://www.wolf.org/wolf-info/basic-wolf-info/wolf-faqs/
https://www.livescience.com/27436-polar-bear-facts.html

Helpful links:

https://www.youtube.com/watch?v=T5pRlIbr6gg
https://github.com/llSourcell/gender_classification_challenge
http://scikit-learn.org/stable/supervised_learning.html

About

A classifier that uses the scikit-learn library to predict whether the given measurements belong to a polar bear or a gray wolf.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages