Questions tagged [association-rules]

The tag has no usage guidance.

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

Associative Classification in python

i am trying use data mining to extract rules and use them for classification purpose. is there any implementation to do associative classification in python? or is there away to apply extracted rules ...
0 votes
0 answers
8 views

How to measure correlation, implication between a set of predictiors and a target nominal variable

I'll try to be as clear as possible and i want to say that i'm sorry in advance if i'm not able to do so. I have a dataset of variables which are both nominal and continuous, and a target variable ...
0 votes
0 answers
11 views

Keyword suggestion rule learner question

I have a mock exam question as the following: Q: You have a set of documents D = {di}, where each document is assigned to an arbitrary number of keywords from a fixed set of keywords. There is no ...
0 votes
0 answers
25 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
121 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
0 answers
31 views

Find optimal feature combinations and ordering for a multi-class clasification problem

We have a multi-class classification problem where the training data looks as follows: name A B C brand Snickers Ltd company huge sales Snickers Acme Intl office stationary commercial Acme ...
0 votes
2 answers
57 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 ...
  • 89
1 vote
3 answers
81 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 ...
  • 89
0 votes
1 answer
35 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 ...
  • 89
0 votes
0 answers
34 views

Association rule mining for continuous variables

I'm trying to study the relationships between several numerical variables, eg. electricity generation between different stations at 30min intervals over several months. My data has the format I want ...
0 votes
0 answers
23 views

what python package, or algorithm can be used to find a pattern like "buy A, then not buy B", like the opposite of association rule?

we know association rule mining can find the patterns like "bread --> milk". It means if you buy bread, then you might buy milk with high probability. But, is there a python package, or ...
  • 207
1 vote
0 answers
21 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....
  • 11
1 vote
0 answers
107 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
82 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
50 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
1 vote
0 answers
22 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 ...
  • 947
1 vote
0 answers
13 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
186 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 ...
  • 101
1 vote
0 answers
266 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
124 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 ...
  • 824
1 vote
0 answers
87 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 ...
  • 111
2 votes
1 answer
50 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
53 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 ...
  • 131
1 vote
2 answers
161 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 ...
  • 55
1 vote
1 answer
194 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 ...
  • 55
2 votes
1 answer
541 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
179 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: ...
  • 169
1 vote
1 answer
63 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
32 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 ...
  • 111
1 vote
3 answers
112 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 ...
  • 61
1 vote
1 answer
66 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
1k views

Recommend another product only on purchase history of users available

I have data in the following format. ...
  • 153
-1 votes
3 answers
63 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
88 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
51 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)...
  • 11
1 vote
0 answers
127 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 ...
  • 111
1 vote
0 answers
45 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
476 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
32 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
219 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
152 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
29 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$.
  • 417
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.
  • 417
-1 votes
1 answer
80 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
201 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
125 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
788 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
135 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, ...
  • 103
2 votes
1 answer
194 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 ...
0 votes
1 answer
1k views

Run Apriori algorithm in python 2.7

I have a DataFrame in python by using pandas which has 3 columns and 80.000.000 rows. The Columns are: {event_id,device_id,category}.[] each device has many events and each event can have more than ...
  • 3