Giter VIP home page Giter VIP logo

pyrdmm's Introduction

Redescription model mining

This package brings redescription model mining to python.

Installation

Get some python packages

git clone https://github.com/Feelx234/pyRDMM.git
git clone https://github.com/flemmerich/pysubgroup.git

Create virtual environment

python -m venv env
source ./env/bin/activate
pip install -e pysubgroup/
pip install -e pyRDMM/
pip instal jupyter

Experiments on synthetic data

Running the actual experiments

To tun the experiments on synthetic data move into the scripts folder of pyRDMM.

cd ./pyRDMM/scripts/

You should now configure the run_experiments.py such that those experiments are executed. If you execute all the experiments be aware that running them will take about 20h. you can run those with the virtual environment activated by

python run_experiments.py 

Creating human readable visualizations

After all the experiments are finished the script export_eval_results.ipynb can be used to create plots and to export the results in a more human readable fashion.

Experiments on real world data

We performed two experiments on real world datasets. One on a housing dataset available at kaggle and a second experiment with survey data for the European Social Survey (ESS).

Experiments for the house price datasets

To run the house price experiments you will need to download the data manually from kaggle. The corresponding links are:

To then run the experiments for the house price data consider the script real_data_housing.ipynb in pyRDMM/scripts/. There all you need to do is adjust the folder in the second cell to point to the locations where the downloaded files are located.

Experiments for the European Social Survey (ESS) data

pyrdmm's People

Contributors

feelx234 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.