/mushrooms

Mushrooms data analises

Primary LanguageRubyGNU General Public License v3.0GPL-3.0

mushrooms :D

Mushrooms data analises.

Finds attribute with more information gain (IG) and show correlation of value in each attribute.

Database source

https://archive.ics.uci.edu/ml/datasets/Mushroom

Output

Here is main informations as group entropy and value of attribute with larger information gain.

Group Entropy: 0.9968

odor:

ALMOND:

  • Correlation: 0.00249

  • Edible: 100.0%

  • Poisonous: 0.0%

ANISE:

  • Correlation: 0.00249

  • Edible: 100.0%

  • Poisonous: 0.0%

NONE:

  • Correlation: 0.03176

  • Edible: 96.8%

  • Poisonous: 3.2%

PUNGENT:

  • Correlation: 0.99612

  • Edible: 0.0%

  • Poisonous: 100.0%

CREOSOTE:

  • Correlation: 0.99485

  • Edible: 0.0%

  • Poisonous: 100.0%

FOUL:

  • Correlation: 0.99954

  • Edible: 0.0%

  • Poisonous: 100.0%

FISHY:

  • Correlation: 0.99827

  • Edible: 0.0%

  • Poisonous: 100.0%

SPICY:

  • Correlation: 0.99827

  • Edible: 0.0%

  • Poisonous: 100.0%

MUSTY:

  • Correlation: 0.98

  • Edible: 0.0%

  • Poisonous: 100.0%

Information Gain 0.91