Ciao ho il seguente dataset:
Animal Hair Teeth Eye Feather Feet Eat Milk Fly Swim
Tiger Y Pointed Forward N Claw Meat Y N Y
Cheetah Y Pointed Forward N Claw Meat Y N Y
Giraffe Y Blunt Side N Hoof Grass Y N N
Zebra Y Blunt Side N Hoof Grass Y N N
Ostrich N N Side Y Claw Grain N N N
Penguin N N Side Y Web Fish N N Y
Albatross N N Side Y Claw Grain N Y Y
Eagle N N Forward Y Claw Meat N Y N
Viper N Pointed Forward N N Meat N N N
Mi devo creare delle classi di equivalenza, cioè per la classe hair ho:{1,2,3,4},{5,6,7,8,9}, per la classe Teeth ho{1,2}{3,4}{5,6,7,8}{9} e così via.
Mi servirebbe proprio il codice , il seguente dataset lo devo caricare...
Non ho mai usato java per cui vi chiedo aiuto.
|