GithubHelp home page GithubHelp logo

parkernisbet / animal-attribute-clustering Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 62 KB

A quick comparison of two (K-Means and hierarchical/agglomerative) clustering methods for text-based animal species classification.

Jupyter Notebook 100.00%
clustering-methods animals-with-attributes hierarchical-clustering kmeans-clustering python3 jupyter-notebooks text-classificaiton inertia-optimization

animal-attribute-clustering's Introduction

Animal Attribute Clustering

A quick comparison of two clustering methods for text-based animal species classification. This dataset relies on a class / attribute table for grouping together various animal species, pulled from here. With no performance metrics to speak of, my commentary within the .ipynb file is mostly on the quality of the output of each clustering method. Both methods were logical enough in terms of placing together mostly similar animal species, with only a few slightly suspect pairings in the K-Means clusters (more on this inside the .ipynb file). The hierarchical cluster, by way of generated dendrogram visualization, one-upped by providing a bit more insight as to what animals were more closely related.

The K-Means method was given an arbitrary value of k = 10 to start, and then tested from 1 to 10 to find the optimal k value (right around 4). When directly comparing the two clustering methods at k = 3, the only notable difference was K-Means instead classifiying "beavers" in a group entirely different from the "aquatic" animals cluster.

animal-attribute-clustering's People

Contributors

parkernisbet avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.