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

Get Machine Learning in Java - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.