Coder Social home page Coder Social logo

ericmiranda7 / iris Goto Github PK

View Code? Open in Web Editor NEW

This project forked from takamin/iris

0.0 0.0 0.0 9 KB

Classify iris by linear regression with octave

Home Page: http://takamints.hatenablog.jp/entry/classify-iris-by-liner-regression

JavaScript 20.73% Shell 6.51% MATLAB 72.76%

iris's Introduction

Classify iris by linear regression with octave

This is my personal repository to learn the machine-learning, linear regression and octave. So, I do not guarantee that the program works correctly.

$ sh get-iris-csv # download iris.data and convert it to csv
Downloading iris.data and iris.names.

Converting iris.data CSV.

The class values in column 5:
0: Iris-setosa
1: Iris-versicolor
2: Iris-virginica

$ octave -q
octave:1> cd <path-to-this-repo>
cd <path-to-this-repo>
octave:2> iris
iris
learning_rate =  0.0050000
iteration =  100000
cost =  0.023792
cost =  0.023476
cost =  0.023328
cost =  0.023257
cost =  0.023223
cost =  0.023207
cost =  0.023200
cost =  0.023196
cost =  0.023194
cost =  0.023193
error_index =  30
error_index =  101
error_index =  118
error_index =  120
theta =

   0.206248  -0.111832  -0.045483   0.227252   0.610735

validationErrorRate =  0.026667
validationTotalCost =  0.023193
octave:3>

iris's People

Contributors

takamin 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.