Skip to content

This repository contains the code for the first project for Data Mining classes at the Poznań University of Technology, created by the team Kung Fu Pandas.

Notifications You must be signed in to change notification settings

MichalRedm/DM-project1

Repository files navigation

DM-project1

This repository contains the code for the first project for Data Mining classes at the Poznań University of Technology. The code in this repository has been created by the team Kung Fu Pandas, consisting of:

The general purpose of the code in this repository is to preprocess the dataset to improve results attained by machine learning algorithms trained on this data. The dataset that we have chosen is Cars Dataset from 1970 to 2024, containing 10 attributes and over 90,000 records.

A more detailed description of our project can be found in our report.

Prequisities

To run the code from this repository, you need to have the following installed on your computer:

  • Python (version 3.10 or higher).

Additionally, to run code samples in the file samples.ipynb Jupyer Notebook is needed (the file can alternatively be opened in Google Colaboratory).

Setup

To download the respository to your local computer run the following command:

$ git clone https://github.com/MichalRedm/DM-project1.git

Then, you need to install all the Python dependencies:

$ pip install -r requirements.txt

Once this is done, you are ready to run the code.

Preprocessing the data

The file preprocess.py is responsible for processing the dataset. To generate a preprocessed dataset, run the following command:

$ python preprocess.py

The new dataset will be written to a file CarsDataProcessed.csv.

Testing the results

To test how well our preprocessing method works, test it against the baseline by running the code in grid_search.ipynb.

Code samples

To have some insight into how our function for data preprocessing operates, visit the file samples.ipynb.

About

This repository contains the code for the first project for Data Mining classes at the Poznań University of Technology, created by the team Kung Fu Pandas.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •