Git Product home page Git Product logo

fresco's Introduction

FreSCo

Frequent Pattern Mining in Simplicial Complexes

Content

scripts/run.sh .......... script for running the algorithm
scripts/config.cfg ...... configuration file
data/ ....... datasets used in the paper
src/ ......... source files

Dataset Format

The input file must be a space separated list of integers, where each integer represents a vertex and each line represents a simplex in the complex. The algorithm does not assume that all the simplices in the complex are maximal.

Requirements

Java JRE v1.8.0

Usage

You can use FreSCo either by running the script run.sh included in this package or by running the following command:

java -cp FreSCo.jar:lib/* fsminer.Main dataFolder=<input_data> outputFolder=<output_data> dataFile=<file_name> minFreq=<frequency_threshold> allMatches=<whether_you_want_exact_frequencies> supportMeasure=mni harmful=false minSize=<min_dimension> maxSize=<max_size> limited=false timeout=6000 storeOccMap=false

Using the Script

The value of each parameter used by FreSCo must be set in the configuration file config.cfg:

General settings:

  • input_data: path to the folder containing the graph file.
  • output_data: path to the folder to store the results.
  • maxSize: max dimensionality of the simplets to mine.
  • allMatches: whether you want exact frequencies or minimum frequencies.
  • supportMeasure: 'mni' computes the MNI-based support, 'mis' computes the maximum-independent-set-based support.
  • harmful: if true and if supportMeasure is 'mis', it computes the overlap-graph-based support.
  • limited: whether you want to save memory during the computation or not.
  • timeout: maximum number of milliseconds you want to spend on the examination of a candidate match.
  • storeOccMap: whether you want to store the image sets of the vertices or not.

Dataset-related settings:

  • Dataset names: names of the files.
  • Default values: comma-separated list of default values and information about the datasets, i.e., default frequency threshold, default min dimension, and default max size.
  • Frequencies: comma-separated list of frequency thresholds.
  • MinSizes: comma-separated list of min dimensionality values.
  • Experimental flags: test to perform among (1) test multiple min dimensionality values with default frequency threshold, (2) test multiple frequency thresholds with default minSize.

Then, the arrays that store the names, the frequencies, the sample sizes, and the experimental flags of each dataset to test must be declared at the beginning of the script run.sh.

fresco's People

Contributors

lady-bluecopper avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

wsgan001 hoannhi

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.