Giter Site home page Giter Site logo

fisheriris_matlab's Introduction

Fisheriris_dataset

Introduction

The Iris flower data set is a multivariate data set introduced by the British statistician and biologist Ronald Fishe.The use of multiple measurements in taxonomic problems. It is sometimes called Anderson's Iris data set because Edgar Anderson collected the data to quantify the morphologic variation of Iris flowers of three related species. The data set consists of 50 samples from each of three species of Iris (Iris Setosa, Iris virginica, and Iris versicolor). Four features were measured from each sample: the length and the width of the sepals and petals, in centimeters.

This dataset became a typical test case for many statistical classification techniques in machine learning such as support vector machines

Content

The dataset contains a set of 150 records under 5 attributes - Petal Length, Petal Width, Sepal Length, Sepal width and Class(Species).

Approach

The approach we use here revolves around fitcsvm function provided in Matlab. But the problem lies in the fact that fitcsvm can only perform binary classification, whereas we have three class classification here. To solve that problem, we use one to all classification where we train two models, one to classify between Setosa and rest and another between Virginica and Iris versicolor. Our approch of dividing first between setosa and rest is justified by below given plot which show setosa can be easily separated from rest as dataset have a sufficient gap.

Files

accuracy.m - This function is to calculate the accuracy and arguments needed here are "predicted output" and "actual output." TrainTestSeparation.m - This function properly divide dataset into ratio r1:r2 provided as argument to the function. Proper division of dataset means each category have equal contribution to separation with proper shuffling. predict_values.m - Training and testing part take place here. iris.m - This is the main function where all the functions were combined to give a fruitful result.

Acknowledgements

This dataset is free and is publicly available at the UCI Machine Learning Repository.

fisheriris_matlab's People

Contributors

hulkido avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

raharkumar

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.