GithubHelp home page GithubHelp logo

associationrulegeneration's Introduction

Association Rule Generation

This program is only developed for Data Mining course homework.

We will proposed a basic idea for creating Association rules corressponding to Apriori Algorithm.

The proposed program is just developed in order to practice the basic knowledge of data mining. there are still some conflicts if an amount of data is so huge!

Environment Requirement

  • Programing - c++ (MinGW.org GCC-6.3.0-1)
  • OS - Linux(bash), Windows10

How to complie the program ?

  • Linux(Recommend) If you use linux to compile the program, just type make all in the terminal
    $make all
    
  • Windows If use Window, please follow this command below
    $ g++ main.cpp -o main
    

Let run the program !

Type the following commands for both cases.

  • Linux
    $ ./main <input_file> <min_support> <min_conf>
    
  • Windows
    $ main.exe <input_file> <min_support> <min_conf> 
    
    Note that For both minimum support and minimum confidence, please put an integer number!. For example, If the minimum support is 2 and minimum confidence is 60%, type ..
    $ ./main input.txt 2 60
    

Sample output

If the rule generation is smoothly conducted, the output terminal should be below demonstrated.

Finally, the reult on screen will be writen in the .txt output file. The title will be named as:

$ .txt output file : Resut_<name of input file>.txt

associationrulegeneration's People

Contributors

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