Skip to content

Latest commit

 

History

History
73 lines (54 loc) · 2.62 KB

File metadata and controls

73 lines (54 loc) · 2.62 KB

Data Mining Toolkit

Introduction

The Data Mining Toolkit is meant to be a practical desktop app for Windows that enables ML workflows based on algorithms provided by Scikit-Learn & mlxtend. This is a fork of the original submission for my thesis at UniWA.

The report is accessible on Polynoe. A short YouTube demo provides a basic overview.

Installation

  1. Using Python 3.11.9, create a virtual environment: py -3.11 -m venv venv

  2. Activate it: call venv\Scripts\activate

  3. Install dependencies:

pip install git+https://github.com/kivymd/KivyMD.git@5ff9d0de78260383fae0737716879781257155a8
pip install scikit-learn==1.6.1
pip install pandas==2.2.3
pip install matplotlib==3.9.2
pip install kivy-matplotlib-widget==0.13.0
pip install mlxtend==0.23.3
pip install xdialog==1.2.0.1
  1. Now run the app: python main.py

  2. (Optional) Create a batch file to activate & run immediately:

run.bat

@echo off
call venv\Scripts\activate.bat
cd DMToolkit\source
python main.py
cmd.exe /K

Change cd DMToolkit\source accordingly based on where you save the source code.

Development byproduct repos

During development I created Kivy and KivyMD scripts to test various functionality before implementing it into the app:

Important note regarding the backend

If your graphics are AMD-based, you may see a different, incorrect UI. This is probably a Kivy-related issue.

I used the exact same Python version (3.11.9) and requirements. After double checking the versions, it looks like my AMD device is unable to render the UI as it should.

On AMD:

[INFO   ] [GL          ] OpenGL version <b'4.6.0 Compatibility Profile Context 24.9.1.240813'>
[INFO   ] [GL          ] OpenGL vendor <b'ATI Technologies Inc.'>
[INFO   ] [GL          ] OpenGL renderer <b'AMD Radeon(TM) Graphics'>
[INFO   ] [GL          ] OpenGL parsed version: 4, 6
[INFO   ] [GL          ] Shading version <b'4.60'>
[INFO   ] [GL          ] Texture max size <16384>

On Nvidia:

[INFO   ] [GL          ] OpenGL version <b'4.6.0 NVIDIA 581.57'>
[INFO   ] [GL          ] OpenGL vendor <b'NVIDIA Corporation'>
[INFO   ] [GL          ] OpenGL renderer <b'NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2'>
[INFO   ] [GL          ] OpenGL parsed version: 4, 6
[INFO   ] [GL          ] Shading version <b'4.60 NVIDIA'>
[INFO   ] [GL          ] Texture max size <32768>