Skip to content

maslick/iriska

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=iriska=

  • contains an Iris flower classification model
  • uses Klassy weka wrapper

See this and this article for more details

Installation

  • Import iriska.jar into your project
  • Add Klassy as dependency
repositories {
    jcenter()
}
...
dependencies {    
    compile('com.maslick.ai:klassy:0.1.8')
}

Usage

Iris model = new Iris(new ContextLoader());
Flower flower = Flower.builder()
        .setSepalLength(5.57091678078844)
        .setPetalWidth(3.09644861465126)
        .setPetalLength(1.23725924762744)
        .setPetalWidth(0.113236009159561)
        .build();

String klass = model.classify(flower); // = setosa

Releases

No releases published

Packages

No packages published

Languages