Skip to main content

Questions tagged [association-rules]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Looking for a suitable way to find groups of events

I have an excel file in which I have three columns. The first one is the name of an event, the second one is the moment the event starts and the third one is the time at which an event ends. Let's say ...
slow_learner's user avatar
0 votes
0 answers
24 views

Building an algorithm to use Bayes conditional probability in conjunction with association rules to build predictive models?

Association rules are a data mining technique used to identify interesting relationships between variables in large datasets. These rules take the form "if-then" statements, where the ...
roybatty's user avatar
0 votes
0 answers
20 views

Confidence vs order in data mining

Is there the relation between confidence and order of association rule when I am applying Apriori algorithm? Or is it dependent on the dataset? Disclaimer: This is based on a homework question. The ...
tumchaaditya's user avatar
0 votes
0 answers
17 views

What statistical methods can I use to determine the popularity of item combinations taken from two groups?

Let's say I have two tables, listing projects with the programming languages and frameworks they use: ...
Anais's user avatar
  • 1
1 vote
2 answers
257 views

Market Basket Analysis - Interpretation of mirrored association rules

I have performed Market Basket Analysis on sales data, that comes from non-sequential receipts. I've read into the meaning of the different metrics, but there is one thing I don't understand. When ...
Iarwain's user avatar
  • 65
2 votes
0 answers
23 views

Is there any relationship between confidence ratio in association rule and Bayesian rule?

I am currently studying Association Rule and somehow I thought about if there is any relationship between confidence ratio in Association Rule and Bayesian Rule. My knowledge in Bayesian Rule is not ...
xabzakabecd's user avatar
  • 3,525
0 votes
1 answer
501 views

Is lift for Association Rules the same in both direction?

I am just discovering Association Rules, but am a little confused, particularly with the interpretation of the results. My main question is - is the Lift for two items always the same in both ...
phuceh's user avatar
  • 1
0 votes
1 answer
60 views

Streamlining / Optimizing conditional Rules in a rule engine using ML techniques

The problem is defined as follows : We are dealing with a Rule engine used to classify a credit risk as 'Good', 'Medium' or 'bad'. Say the rule engine which has say 10 rules. These rules are ...
Pb89's user avatar
  • 345
0 votes
0 answers
103 views

Product cannibalization - Would affinity analysis help?

We send an email to our customers to advertise 3-4 products every day. Supposing that today's email is advertising three products (product A, product B, product C), the customer is given four options: ...
Arbe Roni's user avatar
1 vote
1 answer
166 views

What is the threshold for "frequent" in the Apriori algorithm?

I'm reading about the Apriori algorithm using the textbook Introduction to Machine Learning (Ethem Alpaydin) and had a question. I've noticed that the textbook and many other resources I find online ...
Sean's user avatar
  • 4,087
2 votes
1 answer
196 views

Makes sense to do a Market Basket Analysis with transactions grouped by month (or week)?

Most of the articles on the internet shows the Market Basket Analysis using data from supermarket (i.e. clients uses to buy a lot of items in one day in a supermarket), so I think makes sense to group ...
igorkf's user avatar
  • 377
2 votes
1 answer
28 views

Need some help simplifying an expression

The expression is: $=\sum_{i=1}^{M}[(\frac{1}{L})^N\frac{1}{M+1}] $
user avatar
1 vote
0 answers
28 views

How to encode categorical data when 1+ categories are more relevant than others?

Suppose to have a questionnaire that asks 2 questions: "What is your top 3 favorite food?" "What drink do you like?" I need to find association between the 1st answer given and ...
wtfzambo's user avatar
  • 143
0 votes
1 answer
97 views

Association rules for congressional votes with missing values

Using the UCI dataset here: http://archive.ics.uci.edu/ml/datasets/Congressional+Voting+Records Each congressperson votes yay, nay or present (basically abstains) on 16 issues. My teacher wants us to ...
mLstudent33's user avatar
2 votes
1 answer
77 views

Using scatterplot before running a controlled experiment to test causality

This question is an extension of awesome thread Does causation imply correlation?. As an example, let's say that I am running an online experiment on Stackoverflow to see whether asking more ...
watchtower's user avatar
1 vote
0 answers
114 views

Clustering binary data : feature selection vs Apriori

My data set is a 999 rows x 964 columns Panda DataFrame. Each row is a user. My data is binary : 0 for absent and 1 for present. I would like to fit the users ...
Islacine's user avatar
1 vote
1 answer
63 views

can computers play word association games?

Suppose I give you these 6 English words: circle, low, Brian, sentence, support, wild and ask you to find a 7th word that is associated with all of them. You probably already know which one it is. ...
user6376297's user avatar
0 votes
0 answers
54 views

Interpreting association rules

I'm using mlxtend to find association rules in a dataset of products that customer bought over the span of a month. You can see an example of how it is used here. The dataset has around 1000 types of ...
Haffi112's user avatar
  • 215
1 vote
0 answers
91 views

Are there any assumptions about row/column margins in a chi2 test?

I just learned that most tests of associations on 2x2 tables have assumptions about row and column margins being fixed or not. Is there any similar assumption when it comes to chi2 tests? Can I do ...
Poza's user avatar
  • 125
1 vote
2 answers
1k views

How to binarize data for FP Growth in Weka?

I have a CSV file where all comlumns contains numerical values except for the quality column which contains nominal values. I want to use FP Growth Weka algorithm ...
Yos's user avatar
  • 83
0 votes
1 answer
203 views

Association rule lift ratio converging to 0.5, is it not independent?

As far as I know, lift is a measure used in association rules to see whether there is a positive association between two items(instances?) I've done a simple (possibly wrong) simulation with lift ...
Jason's user avatar
  • 5
0 votes
1 answer
48 views

Indirect clustering / association finding

I'm looking for recommendations of techniques that allow me to cluster or find associated items, through an indirect layer. Imagine a hypothetical database of information about patients, including ...
disruptiveglow's user avatar
2 votes
1 answer
45 views

Test if P(A) and P(A|b) are statistically different

I am using Apriori to find association rules, where each instance is a vector of True/False value, indicating whether an item is bought or not. Suppose that we obtain a rule b=>a with confidence c, ...
Efu's user avatar
  • 21
1 vote
1 answer
139 views

In association rule mining, is it okay to disregard single item purchases?

I'm doing a market basket analysis of items purchases in particular stores. Each dataset contains over 5 million transactions. I'm currently processing this in R, but it seems my computer can't handle ...
meraxes's user avatar
  • 739
2 votes
1 answer
207 views

Which is the state of the art regarding methods for Association rule learning?

I have a set of data about which I would like as a first step, discover some interesting or frequent relationships. For this I know that there are several algorithms, like association or sequence ...
tumbleweed's user avatar
1 vote
0 answers
578 views

Association rules between many continuous variables

I have a large dataset and I'm trying to mining association rules between the variables. My problem is that I have 160 variables among which I have to look for the association rules and also I have ...
Lorenzo Benassi's user avatar
1 vote
2 answers
57 views

Rule between Inputs and Outputs

I have a set of 5 binary inputs and for each there are a set of 5 binary outputs. I would like to know what technique one could use to find the rule between them..? I've used Machine Learning in then ...
PaulB.'s user avatar
  • 835
4 votes
0 answers
4k views

Intuitive meaning behind support, confidence, lift and conviction

I'm learning about association rules and came across the common interestingness measures support, confidence, lift and conviction. I'm interested in the intuition behind your decision-making process ...
PlsWork's user avatar
  • 161
2 votes
1 answer
1k views

Association Rules by Apriori Algorithm - How to read them?

Let's consider mining of the association rules for basket analysis at a petrol station. It is obvious that most people buy petrol, some of them something extra. The following implications are valid: ...
Karel Macek's user avatar
  • 2,856
2 votes
0 answers
357 views

What do Association Rules add beyond "standard" conditional probability?

I'm hoping that people will indulge me a beginner question, but I was recently learning about association rule learning from a lecture on Information Retrieval. (For reference, the video I was ...
EJoshuaS - Stand with Ukraine's user avatar
2 votes
1 answer
470 views

How to check cross validation scores for market basket analysis?

If I have a large set of transactions where in each I buy a set of goods and I want to do market basket analysis using either A-priori or FP Growth or any other data mining method, you typically get ...
data_science_math's user avatar
3 votes
1 answer
2k views

What is the confidence for rule for $\emptyset \implies A $?

I'm looking at a question for association rule mining and this comes up: What is the confidence for $\emptyset \implies A $? What is the confidence for $ A \implies \emptyset $? Given: $$\...
Thang Do's user avatar
  • 133
0 votes
2 answers
90 views

Basic combinatorics for rule learning

This is supposed to be a rather rudimentary combinatorics problem, however, I can't seem to wrap my head around it. The Problem There are 40 distinct items, one person can pick (up to) 3 items. To ...
daveknave's user avatar
1 vote
1 answer
2k views

R Arules Market Basket Analysis Redundant Rules Approaches [closed]

Using R and arules. I see several opinions on how to remove redundant rules which give different answers. If this is my example dataset: ...
Jarad's user avatar
  • 345
1 vote
0 answers
55 views

Can inferencing come from incomplete rule sets?

I have some data for medical diagnosis, consisting of some rules about relationship of diseases and their symptoms, for example disease D1 frequently has symptom S1 ...
Dandelion's user avatar
0 votes
1 answer
344 views

Interest measure for frequent itemsets in databases of different size

Consider a market basket analysis: Among a certain number of transactions two items sometimes occur together. For simplicity let's assume they always occur together, but not in all transactions. Now ...
AutoMiner's user avatar
2 votes
0 answers
235 views

Covariates in a case control study

I am doing a retrospective analysis on a study has has cases and controls. I am looking to see if there is an association with death, using exact logistic regression. I am confused on whether I need ...
Lucy's user avatar
  • 209
0 votes
1 answer
2k views

How does term association work in text mining

Before performing word association, we create a term document matrix after removing punctuations, capitals, etc. How does the association algorithm work? Since we have removed the markers to identify ...
nk379's user avatar
  • 113
2 votes
1 answer
658 views

Why are all my lift values the same?

I'm trying to measure association in my basket based on transactions. Let's imagine I have 5 products. Then, I calculate the number of client who bought product A and B, A and C, B and C and so on. ...
Hola at me's user avatar
0 votes
1 answer
1k views

Weka PART algorithm output

I am using Weka PART on my data set, and it is providing the rules below: ...
Pranay's user avatar
  • 1
3 votes
1 answer
565 views

Need explanation for a form of the Chi-Squared test that differs from the standard definition

I'm doing association analysis and I'm using a Chi-Squared test on a 2x2 contingency table. The usual definition of the Chi-Squared test is given e.g. here and here, the term in the denominator is ...
Khris's user avatar
  • 153
0 votes
1 answer
663 views

What is the relationship between "significant difference" and "correlation"?

I'm working on my graduation research; one of the hypotheses I have is that there is a significant variation between male and female employees in their level of performance. The t-test provided a p-...
Ruba's user avatar
  • 1
1 vote
1 answer
164 views

clustering based on web pages viewed together

Let us say I know the number of pages users generally looked at in the same session over a period of time. I can obtain data like this: ...
cs0815's user avatar
  • 2,245
2 votes
0 answers
825 views

Market Basket Analysis: How to deal with item sets with high Confidence, Lift, and ChiSquare but very low Support?

I am doing a market basket analysis with a very large set of items, that is over 200000 individual items, with the majority of them occurring very rarely. For this reason my analysis only focuses on ...
Khris's user avatar
  • 153
1 vote
0 answers
29 views

Can I infer all subsets as frequent from a projection of WiFIsViz?

I am trying to understand what I can infer from a WiFIsViz diagram, where WiFIsViz means Effective Visualization of Frequent Itemsets. Here is a projection of the subsets ...
user2738698's user avatar
2 votes
0 answers
47 views

Leads and Ideas on Learning from disconnected data

Problem of learning patterns from disconnected data. I have two independent discrete variables, D1 and D2, with information similar to tables in the images. I do NOT have the broken down data for A+...
MonsieurBeilto's user avatar
3 votes
1 answer
136 views

R Association rules - is my understanding correct?

I'm a developer and I've being playing around with R association rules to create a recommendation system. My stats understanding is a little basic. So I've created a set of rules with varying levels ...
MininallyExceptional's user avatar
4 votes
1 answer
258 views

How do I express this hypothesis using symbols?

I'm just making this up to understand the rules... Claim: People wearing roller blades can get to places in lesser time than those who don't. (Assuming on foot) Now, I'd like to express this using ...
itsols's user avatar
  • 819
1 vote
0 answers
62 views

Using Bray-Curtis distance for association rules

may be some one has this Experience: I would like to find cannbalization in a transactions. I have read this nice essay P.29-30 it says that we could use Bray-Curtis distance to find cannibalization, ...
Kaja's user avatar
  • 205
1 vote
1 answer
108 views

"Official" formulae for association rules?

Since I haven't found a good-enough package in Python for association rules learning, I am manually coding up my own. However, I have seen conflicting information about exactly what the formulae for ...
boot-scootin's user avatar