Questions tagged [association-rules]
The association-rules tag has no usage guidance.
72
questions
0
votes
0
answers
29
views
Unable to create associations using Apriori association rule algorithm for my dataset where the support is 0.01, confidence=0.8 and maxlen=10
Here's the code that I'm using:
library(arules)
library(arulesViz)
library(tidyverse)
library(readxl)
library(knitr)
library(ggplot2)
library(lubridate)
library(plyr)
library(dplyr)
tr <- read....
0
votes
0
answers
15
views
Unsupervised rule extraction of categorical data
I have a dataset of network traffic with three features that I would like to extract rules from in order to apply firewall/flow control rules i.e. the permitted flows.
I am able to classify a ...
0
votes
0
answers
13
views
Gaining insights into commonly co-bought categories of products using association rules (frequent itemset mining)
Let's say I have a small database of supermarket transactions.
Each records consists of a tx with several bought products, each having a unique identifier (eg, 1,2,3,4,5 etc.). Running A-priori on ...
1
vote
0
answers
48
views
Mining association rules between time series
I have a pandas dataframe that represents a time series. My time series is segmented over the phase type that the robot is performing (i.e. I have a column with the phase type per timestamp and the ...
0
votes
0
answers
30
views
Finding a relation between three variables
I am new to data mining and have learnt about association rules mining, classification analysis, cluster analysis and outlier analysis. So, to find relationship between three variables, regression ...
1
vote
0
answers
10
views
Group or find associations and orderings for elements that appear in different samples (analyzing examples of input files for undocumented code)
I'm trying to understand and use a physics simulation code that was written decades ago. It uses input files that have their origins in stacks of punch cards as input. In other words each line is a ...
0
votes
1
answer
128
views
Possible NLP approaches to extract 'goals' from text
I am planning to take up an interesting NLP project. I want to extract 'goal' statements from lengthy reports. For example, the goals can be We would be reducing our carbon footprint by 50% by 2025 or ...
0
votes
0
answers
30
views
How can deep learning be applied to association rule mining?
Association rule mining is considered to be an old technique of AI. Rules are mined on statistical support. How can deep learning be applied to this? What are approaches for structured data (in a ...
0
votes
1
answer
330
views
What is the Zhang's rule?
I'd been doing some reading on Association Rule Mining and bumped into a Kaggle dataset where a competitor had applied Zhang's rule. I would like to know what it is. I tried to look for it online, and ...
0
votes
2
answers
66
views
Association Mining / rules are the statements appears to be true
I have a problem. I don't know how I cloud explain which of the three statements appears to be true and if my calculation below is invalid?`
The following table summarizes the results of a medical ...
1
vote
3
answers
89
views
Association Mining - is buying Independent?
I have a problem. I can't not solve this exerciese. What is the best way to solve this exerciese? What are the approaches for this kind of exerciese?
The following table summarizes transactions in a ...
0
votes
1
answer
74
views
Associationg Rules/ Mining is this association rule strong
I have a problem. I can't not solve this exerciese. What is the best way to solve this exerciese? What are the approaches for this kind of exerciese?
The following table summarizes transactions in a ...
1
vote
0
answers
28
views
How to generate more market basket association rules for products with smaller basket sizes?
I'm working with data where many customers only buy 1-3 products at a time, meaning that there aren't enough products being purchased together for the market basket algorithm to determine associations....
1
vote
0
answers
186
views
Association rules - Find 100% confidence rules [closed]
Suppose there are 100 items, numbered 1 to 100, and also 100 baskets, also numbered 1 to 100. Item i is in basket b if and only ...
1
vote
0
answers
93
views
Apriori algorithm with tags
In apriori algorithm, we can create association rules with respect to the frequencies of the corresponding data set. My question is, what if we have tags data in addition to the transaction data. For ...
0
votes
1
answer
75
views
Confusions about fp tree growth numerical-:
If fcam=3,Would conditional fp tree still be c=4 or what would it be?
My guess is that it should be f=3,c=4,a=3,m=3. Am I right? Or what else would it be? Please guide.
Also, in this below figure(same ...
1
vote
0
answers
24
views
How to figure out what elements are missing from a set, based on other sets?
I would like to solve a problem where I have a set of sets of possible values, but some elements of some sets are corrupted/deleted, so I had to figure out what is the most probable candidate ...
1
vote
0
answers
15
views
Association rules mining
Consider for a dataset with many transactions each with items sold. Now, consider that we are given minimum support level and confidence level and that we have constructed the tables L1 and L2 each ...
0
votes
1
answer
300
views
Create clusters based on specific keywords
I am working on raw text data. I am using clustering to put together common words in the documents. My requirement is to create clusters based on a specific list of words i.e I want to get a group of ...
1
vote
0
answers
440
views
Filtering redundant Association rules
After performing association rule mining, (using mlxtend library), I have gotten
a pandas dataframe containing all the association rules. This contains too many rules,
therefore we must reduce the ...
0
votes
1
answer
163
views
Association rules for classification
I'm working on a classification project. I have many rows, containing many binary attributes, some of which are often appearing together, exactly like what we can encounter in the Market Basket ...
1
vote
0
answers
138
views
Confusion about maximal and closed itemsets in association rules
So I'm studying association rules and Apriori algorithm for my data science class. There's a section about compactness (compact representation of frequent itemsets). I'm not sure whether I'm not ...
2
votes
1
answer
62
views
Association Rules
I'm using association rules for a project and noticed that there is a dearth of papers in the last 10-15 years on the topic although it seemed really popular 15-25 years ago. Is there any reason why?
1
vote
0
answers
67
views
How to infer which sequence of events are more likely to result in an event of interest?
Background
I have a sequence/series of events. Some sequences will end up with an event of interest $y$, while others won't.
$$S_1 = [a, b, c, d, ..., y]$$
$$S_2 = [a, b, b, e, ..., a]$$
$$...$$
$$S_n ...
1
vote
2
answers
222
views
Association rules in R / Subset rules based on feature
I tried using the apriori algorithm in the arules library for association rules mining in R. There's two thing I'd like to ask:
Why are the lhs and rhs of the rules in intervals? For example U get ...
1
vote
1
answer
339
views
Association Rules with Python (coded dataset)
I have this dataset which I really need to use association rules techniques on. The dataset has like 90 variables, many of which are ordinal. Thing is, the data is already coded using numbers instead ...
2
votes
1
answer
693
views
How do I predict a set of frequently bought items?
I have a dataset of retail transactions wherein different users buy certain items together. For example, a user A buys a toothpaste, a toothbrush and a floss at the same time, and a user B buys a ...
0
votes
1
answer
310
views
Apriori gives 0 rules
I am trying to use apriori() on this dataset.
After cleaning it, I made all attributes categorical with as.factor(). Then I uset these instruction:
...
1
vote
1
answer
81
views
Association rules: Find the recipe for a list of ingredients
Assume I have big database of recipes. For each recipe I have a list of ingredients.
Now I want to find all association rules in the form of ...
1
vote
0
answers
38
views
Upsell project based on sales records
in my company we are working on a upset project in which we are trying to solve the following problem:
What we propose to our customer that he/she may be interested in based on the fact that he/she ...
1
vote
3
answers
125
views
Association rule learning for multi-classification suggestions
The task is the following: given a training set of medical symptoms and an associated diagnosis, output a list of the most likely diagnosises for a combination of symptoms.
As of now, a solution ...
2
votes
1
answer
112
views
Association Rule Mining across two market baskets
I am quite familiar with Association Rule mining but I need to use it to associate ACROSS two market baskets instead of finding support WITHIN a market basket.
Imagine customers come to a Store A ...
-1
votes
1
answer
2k
views
Recommend another product only on purchase history of users available
I have data in the following format.
...
-1
votes
3
answers
64
views
Predict Data Linking
I've two different datasets A(x1, x2, x3...xn) and B(y1, y2, y3...yn). Each instance in A is linked with an instance in B i.e. only one unique pair exists.
...
2
votes
1
answer
140
views
How to create group IDs for people in longitudinal data
I have a large data set which contains individuals and the address where they live. I want to create a group ID based off shared addresses (the working idea: people who share the same address can be ...
1
vote
0
answers
53
views
rule generation in a big dataset
Given a dataset with 30 fields and 25000 instances,
1) what are your suggestions for novel methods of rule extraction?
2) Can I use association rule mining in addition to sequential rule mining?
3)...
1
vote
0
answers
138
views
Is the Apriori algorithm suitable for database tuples?
Problem description:
I need to use an association rule algorithm that lets me use database tuples and I think Apriori is a good option, but I am not sure.
Starting point:
I know the Apriori ...
1
vote
0
answers
48
views
Mining Association rules from a data warehouse and a transactional database [closed]
I wonder if it is possible to perform market basket analysis to extract the association rules from a data warehouse and a transactional database in the same time to predict the future purchases of a ...
1
vote
1
answer
521
views
How can causal inference be used with machine learning?
I am wondering how Causal inference is being used with machine learning and specially where in the data science project ? I have ...
1
vote
0
answers
35
views
What is confidence reflexivity in association rules?
I did not understand the meaning of reflexivity term in association rules. I could not find a basic explanation about it. All I found was just academical researches and they heavy for me. Can anybody ...
0
votes
1
answer
401
views
What algorithms can be used to derive matching rules between known matches in datasets?
Lets say I have two datasets with different column names except for a unique ID key
Table 1 CSV
...
2
votes
2
answers
169
views
Which data mining or machine learning algorithm would be appropriate for learning ordered frequent patterns?
I have a dataset as (var1, var2, out), where the ordered pair <var1, var2> gives out. ...
1
vote
1
answer
32
views
Any idea to what $\bar{X}$ refers to in association rules? Is it "not-$X$"?
Any idea to what $\bar{X}$ refers to in association rules? Is it "not-$X$"?
It's in the context of interestingness measure for rule $X \rightarrow Y$.
1
vote
1
answer
2k
views
What's immediate superset?
What's immediate superset?
Why is it called immediate?
They appear in the context of Apriori algorithm. Particularly the one enhanced with hashing.
-1
votes
1
answer
93
views
Using machine learning to optimize parameter scores [closed]
I have a dataset containing fraud and non fraudulent data. The system in place is a rule based engine with over 20 rules. If the total score is above a certain threshold the payment is classified as ...
1
vote
0
answers
211
views
Applying association rules for variable prediction in R
A have a data frame with shops with a number of independent variables (all categorical), I'm trying to find a decent model to predict a dependent variable that is ordered and categorical (ie volume of ...
1
vote
0
answers
147
views
How is FP-Tree used in FP-Growth maintained for large dataset
I was studying about Association Rule Learning and got to know about FP-Growth algorithm. I am wondering that how is FP-Tree maintained for a really large dataset, for example, that of Amazon and eBay....
2
votes
1
answer
791
views
If deep-learning learns features, aren't we saying it can learn association rules?
If deep-learning learns features, aren't we saying it can learn association rules ?
0
votes
1
answer
141
views
Modeling Grocery Store Transactions
I'm fiddling around with some data that represent grocery store transactions. The data are in the following form:
Each row represents a final transaction by a customer, with a column for user ID, ...
2
votes
1
answer
292
views
Correlation between products based on purchases placed around the same date
Association rule learning has a fair bit of material based around the correlation of products purchased on the same order/at the same time. However I'd like to discover if there is a method for ...