Skip to Content
Machine Learning in Java - Second Edition
book

Machine Learning in Java - Second Edition

by AshishSingh Bhatia, Bostjan Kaluza
November 2018
Intermediate to advanced
300 pages
7h 42m
English
Packt Publishing
Content preview from Machine Learning in Java - Second Edition

Data

For this task, we will take a look at the ZOO database. The database contains 101 data entries of animals described with 18 attributes, as shown in the following table:

animal

aquatic

fins

hair

predator

legs

feathers

toothed

tail

eggs

backbone

domestic

milk

breathes

cat size

airborne

venomous

type

 

An example entry in the dataset is a lion, with the following attributes:

  • animal: lion
  • hair: true
  • feathers: false
  • eggs: false
  • milk: true
  • airborne: false
  • aquatic: false
  • predator: true
  • toothed: true
  • backbone: true
  • breathes: true
  • venomous: false
  • fins: false
  • legs: 4
  • tail: true
  • domestic: false
  • catsize: true
  • type: mammal

Our task will be to build a model to predict the outcome variable, animal ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Java Machine Learning

Mastering Java Machine Learning

Uday Kamath, Krishna Choppella
Java: Data Science Made Easy

Java: Data Science Made Easy

Richard M. Reese, Jennifer L. Reese, Alexey Grigorev

Publisher Resources

ISBN: 9781788474399Supplemental Content