Questions tagged [association-rules]

The tag has no usage guidance.

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

FP-Growth and Association Rules

I have recently worked through this video and created a dummy dataset, Fp-tree and conditional database. I have two questions regarding the outputs: Are these example outputs correct given the inputs?...
1
vote
0answers
16 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 ...
0
votes
0answers
26 views

How to use genetic algorithm to generate association rules from a transaction dataset using Python?

Please help! I really need to use GA to obtain association rules. My dataset looks like this: ...
1
vote
0answers
12 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
0answers
8 views

Two problems with the Association Rules widget

I am using the heart disease prediction dataset from UCI but analyzing it with association rules. The target class is set as "diameter narrowing" which means the presence or absence of ...
0
votes
1answer
32 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 ...
0
votes
0answers
14 views

How to pick the most optimal set of association rules?

I'm currently running association rules on a dataset that has about 22000 rows, but there is no obvious threshold that the support value must have. So, I ran the rules three times with the following ...
1
vote
0answers
46 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
0answers
15 views

How many items does apriori algorithm consider while working on data set of say 100 product?

For finding supermarket product association rules it is said that apriori is suited to identify frequent itemsets. From here then we can mine association rules. Given 100 products, and their ...
0
votes
1answer
44 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
0answers
62 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
1answer
38 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
0answers
39 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
2answers
106 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
1answer
71 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
1answer
282 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
1answer
66 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
1answer
43 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
0answers
22 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
3answers
104 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 ...
1
vote
1answer
46 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
1answer
622 views

Recommend another product only on purchase history of users available

I have data in the following format. ...
-1
votes
3answers
60 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
0answers
59 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
0answers
47 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
0answers
108 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
0answers
36 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
1answer
398 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
0answers
28 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
1answer
161 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
1answer
83 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
1answer
26 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
1answer
1k 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
1answer
70 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
0answers
177 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
0answers
107 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
1answer
786 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
1answer
123 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
1answer
168 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
1answer
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 ...
2
votes
0answers
40 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 or disease D2 rarely has symptom S1....
0
votes
1answer
82 views

Feature Selection Algorithm for Attributes with Logical Relationships (like “AND”)

I'm looking at datasets where the the attributes and the target class have a logical relationsships. All attributes and the target class are binary. Here's an example: Neither ...
9
votes
3answers
27k views

Best frequent itemset package in python

Could anyone please recommend a good frequent itemset package in python? I only need to find frequent itemset, no need of finding the association rules. Thanks!
1
vote
1answer
177 views

Association Rule Learning for Home Electricity or Water Data?

My university has a building on campus where electrical usage and water usage is monitored down to the second. Many electrical loads and water usageis tracked and stored in a database. In the water ...
1
vote
0answers
369 views

Mapping xml tags by Rule Learning/Generation Algorithms

I'm trying to map tags/attributes from xml files from different sources. I've found a paper called Semantic Mapping of XML Tags using Inductive Machine Learning. Among various things, it also talks ...
2
votes
1answer
401 views

Remove Outliers - Market Basket Analysis

I'm having some thoughts on whether I should remove the outliers. I'm trying to find the tags that are commonly used together. Imagine that I have the following dataset. The first column is the Tag_ID ...
0
votes
1answer
210 views

Matrix based Visualization Meaning - Assocation Rules

I didn't found any good resource that explains me very well what type of information I can extract from a Matrix based Visualization like this: I do't uderstand what RHS and LHS represents Anyone ...
3
votes
1answer
581 views

Association Rules - Data Mining - Train and Test approach?

Does it make sense to use the train, test, and validation model using the Association Rules ...
0
votes
2answers
395 views

Create data visualization for unstructured data - Basket Market Analysis

I have this dataset (just a sample): product1,product2,product3 product1,product4 product1,product2 product4,product3,product1,product2 The products are grouped ...
10
votes
4answers
6k views

Visualizing items frequently purchased together

I have a dataset in following structure inserted in a CSV file: Banana Water Rice Rice Water Bread Banana Juice Each row indicates a collection of items ...