Giter VIP home page Giter VIP logo

apriori-algorithm's Introduction

Apriori-Algorithm

  1. Create 10 items usually seen in Amazon, K-mart, or any other supermarkets (e.g. diapers, clothes, etc.).
  2. Create a database of 20 transactions each containing some of these items. The information can be stored in a file, or a DBMS (e.g. NJIT ORACLE or MySQL).
  3. Repeat (1) by creating 4 additional, different databases each containing 20 transactions. Using the Apriori algorithm, generate and print out all the association rules and the input transactions for each of the 5 transactional databases you created. The support and confidence must be user-specified parameters, so the output should show different rules with respect to different databases and different support/confidence. Make sure to show multiple support and confidence results. The items and transactions must be clear and easy to identify. Important Notes:
  1. The purpose of this project to help you understand the algorithm, therefore, it must be “your own” implementation of the algorithm. If you use any existing package for the algorithm from Python, R, Matlab, or Guava, etc..., you will lose points. For example: Some software has a one-liner function for this algorithm, do not use them for your implementation, but you can use them to verify your work!.
  2. Of course, you can use helper libraries, like pandas, numpy, etc to help you develop the algorithm.
  3. Do not share or copy code from your peers or other resources. Your task is to implement the algorithm from scratch.

apriori-algorithm's People

Contributors

sdavid501 avatar

Watchers

 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.