Skip to content

A beginner's implementation of a classification decision tree algorithm from scratch using python

Notifications You must be signed in to change notification settings

nicolejhui/mushroom_decision_tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mushroom Decision Tree

This project was created as an assignment for the Anson L. Clark Summer Research Program at the University of Texas at Dallas

Introduction

Prior to starting the program, the only computer science knowledge I had was how to print "Hello World!" I spent the first week cramming python basics, learning how to code palindromes and how functions worked. The second week we were assigned a PhD-student level assignment. As a beginner, the assignment was intimidating, but I managed to not only finish, but also create a GitHub repository and share it on GitHub. It took two months (with a 3 week break after the first month) but I still did it. If I can learn to use python, so can you!

Assignment

alt text

The goal was to implement a decision tree algorithim in python from scratch to classify mushrooms as either edible or poisonous by calculating information gain for each attribute to determine the best attribute to split on.

About

A beginner's implementation of a classification decision tree algorithm from scratch using python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages