Question
Hello I am having trouble with this question, I have completed most of the question but I cannot seem figure out how the last 2
Hello I am having trouble with this question, I have completed most of the question but I cannot seem figure out how the last 2 bullet points:
Implement Multistage (3 Passes) version of PCY, using one extra hash table. (add the results to the line chart) Implement Multihash version of PCY, using one extra hash table. (add the results to the line chart)
Since the question is very long and I have many classes/java files created I have only included the PCY code since it is the relevant file needed for the last 2 bullets.
/////////////////////////////////////////////////////////PCY Code///////////////////////////////////////////////////////////////////////
package project;
import java.io.*; import java.util.*; public final class PCY { //Variables private static int limit,maxSize = 131072;// set the size to 2^17 private static BitSet bit; //Setters public static void setBucketSize(int bSize) { maxSize = bSize; } public static void setLimit(int p ) { limit = p ; } //Link the hash maps public static LinkedHashMap
Description The main objective of this project is to find frequent itemsets by implementing two efficient algorithms: A-Priori and PCY. The goal is to find frequent pairs of elements. You do not need to find triples and larger itemsets. Dataset The retail dataset contains anonymized retail market basket data (88K baskets) from an anonymous retail store. The preprocessing step to map text labels into integers has already been done. Use Sublime Text, TextPad or Notepad++ or other software to open the file. Do not use Notepad. Experiments Perform the scalability study for finding frequent pairs of elements by dividing the dataset into different chunks and measure the time performance. Provide the line chart. Provide results for the following support thresholds: 1%, 5%, 10%. For example, if your chunk is 10% of the dataset, you have around 8,800 baskets. Therefore, if your support threshold is 5%, you should count the pairs that appear in at least 440 baskets. See three samples below for three different support thresholds. Implement Multistage (3 Passes) version of PCY, using one extra hash table. (add the results to the line chart) Implement Multihash version of PCY, using one extra hash table. (add the results to the line chart) O Description The main objective of this project is to find frequent itemsets by implementing two efficient algorithms: A-Priori and PCY. The goal is to find frequent pairs of elements. You do not need to find triples and larger itemsets. Dataset The retail dataset contains anonymized retail market basket data (88K baskets) from an anonymous retail store. The preprocessing step to map text labels into integers has already been done. Use Sublime Text, TextPad or Notepad++ or other software to open the file. Do not use Notepad. Experiments Perform the scalability study for finding frequent pairs of elements by dividing the dataset into different chunks and measure the time performance. Provide the line chart. Provide results for the following support thresholds: 1%, 5%, 10%. For example, if your chunk is 10% of the dataset, you have around 8,800 baskets. Therefore, if your support threshold is 5%, you should count the pairs that appear in at least 440 baskets. See three samples below for three different support thresholds. Implement Multistage (3 Passes) version of PCY, using one extra hash table. (add the results to the line chart) Implement Multihash version of PCY, using one extra hash table. (add the results to the line chart) O
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started