Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Data Mining Course Project - Classification Trees, Bagging, and Random Forests

Project Description

This repository hosts the implementation of classification trees, bagging, and random forests as part of the "Data Mining" course at Utrecht University. The goal of this project is to develop functions from scratch to grow a classification tree and predict class labels for given attributes. (see assignment1.pdf for more description)

Features

  • main.py: The Python script containing the core algorithms for tree growing and prediction.
  • dataset/: Folder containing the dataset used for training and testing the models.

How to Run

Make sure you have Python installed on your system and then run:

python main.py

Project Structure

The code is organized into functions as follows:

  • tree_grow: Function to grow a classification tree.
  • tree_pred: Function to predict class labels using the tree.
  • tree_grow_b: Function for bagging implementation.
  • tree_pred_b: Function to predict labels using bagged trees.

Contact

Acknowledgments

Special thanks to the "Data Mining" course instructors and colleagues at Utrecht University for their guidance and valuable input throughout this project.

About

Python implementation of machine learning algorithms for decision tree growth and prediction, with an emphasis on classification, bagging, and random forest techniques applied to software bug data analysis.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages