GithubHelp home page GithubHelp logo

giulioz / speedy-panda Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 0.0 1.54 MB

โšก๏ธ ๐Ÿ“Š A fast multi-threaded implementation of the PaNDa+ algorithm for mining Top-K Binary patterns in transactional data.

CMake 5.93% C++ 94.07%
data-mining frequent-itemset-mining high-performance-computing simd parallel

speedy-panda's Introduction

speedy-panda

Tests and Build

A fast implementation of the PaNDa+ algorithm for mining Top-K Binary patterns in transactional data (C. Lucchese, S. Orlando, R. Perego โ€“ A Unifying Framework for Mining Approximate Top-K Binary Patterns).

Building

mkdir build
cd build
cmake ..
make

Usage

./speedy-panda [filename] {OPTIONS}

  Finds approximate patterns in datasets with noise.

OPTIONS:

    -h, --help                        Display this help menu
    -k[8]                             Max number of patterns
    -w[0.8]                           Pattern complexity weight
    -x[1.0]                           Row tollerance ratio
    -y[1.0]                           Column tollerance ratio
    filename                          The dataset to process

Example

Perform Top-K Binary pattern mining with 8 threads on the file accidents_stripped2.dat, looking for 8 patterns with a pattern complexity weight of 0.5, row tollerance ratio of 0.4 and column tollerance ratio of 0.4.

OMP_NUM_THREADS=8 ./speedy-panda ../dataset/accidents_stripped2.dat -w 0.5 -k 5 -x 0.4 -y 0.4

Patterns:
12 16 17 18 21 27 29 31 43  (60833)
8 14 15 22 24 25 28 41 59  (48565)
1 17 28 38 43 63  (43529)
10 17 22 25 43 307  (22971)
23 30 35 41  (25569)

________________________________________________________
Executed in  148.52 secs   fish           external
   usr time  1159.12 secs  136.00 micros  1159.12 secs
   sys time    7.57 secs  913.00 micros    7.57 secs

speedy-panda's People

Contributors

giulioz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.