Questions tagged [association-rules]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
22 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 ...
0
votes
1answer
36 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 ...
1
vote
1answer
42 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
0answers
8 views

How to validate Association Role Mining

I have used apriori to mine roles on a training set and the result is similar to the below I have been looking around for a kind of validation or measure of such ...
-1
votes
0answers
15 views

how to interprate if LHS is missing in association mining?

what I did? step1. ap_route=list(apriori(list(route),min_support=0.009)) step2. converted ap_route to pandas dataframe and output is like below step3: I want to find the top 5 frequently ...
0
votes
1answer
28 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: ...
0
votes
0answers
8 views

Association Rules on big dataset with lots of categorical data

I am trying to analyze, as an exercice, this dataset. Is it ok to use association rules on it? I am trying to use apriori() algorithm. Do you have any advice about it? I am still a beginner and ...
1
vote
1answer
19 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 ...
0
votes
0answers
3 views

How to implement Association Rules on a different clusters of data points

I have a Hotel Dataset and different attributes are given such as days of booking, last booke, cancelled, charges paid, online/offline booking etc etc. What I want to do is to cluster the data first ...
0
votes
0answers
22 views

Association Rules with Restricted Itemsets

I want to investigate which items of an itemset frequently occur together using association rule learning. My problem differs from the standard example because the itemset is restricted as follows: ...
0
votes
0answers
15 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 ...
0
votes
0answers
16 views

Identifying frequent item sets for root cause analysis

I am planning to use the apriori or fp tree for root cause analysis of issues. I know the event which indicates the system reboot. I picked the last 5 minutes data prior to the system reboot. For ...
1
vote
3answers
96 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 ...
0
votes
1answer
28 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 ...
0
votes
0answers
8 views

Association rules with exogenous variables

Does a model which can use exogenous variables exist for association rules? What I want to know is if it is possible to have an association rules model which, with the help of exogenous variables, ...
0
votes
0answers
56 views

Fastest frequent itemset library in R or python

I am trying to map a problem with frequent itemset mining. I have only 60 transactions in total but most of them are big. Like the smallest transaction have 30 items and the largest transaction has ...
0
votes
0answers
43 views

Structured data classification based on rules

In my scenario i have a structured data that represent each an object of possibly a big objects collection. Each object, as said, is structured so there is no need to further manipulation to extract ...
0
votes
0answers
19 views

Association, classification and decision rules - terminology?

Association rules as well as classification rules, both need to have a conjunction of values of the input attribute in their precondition. In the conclusion the association rules can have arbitrary ...
-1
votes
1answer
83 views

Recommend another product only on purchase history of users available

I have data in the following format. ...
0
votes
0answers
11 views

Sample the transaction set with close lift or/and confidence estimate with original set[association rules]

In frequency set mining, for large sets, we can use sample to reduce the calculation while not miss too much for the support using formula: ...
0
votes
3answers
52 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. ...
0
votes
0answers
6 views

How to assign optimal min_sup value in apriori algorithm

Have processed product sales data after data transformation(map 0&1's respective product and transaction) through Apriori alogorithm.Output associatiob rules have some product mapings between ...
0
votes
0answers
18 views

How do different fraud detection methods compare with each other?

I am trying to do a comparison of methods of fraud detection and show the improvement of using some methods over others. Specifically, I'm trying to obtain statistics about the average accuracy rate ...
0
votes
0answers
14 views

Prepping data for association rules mining

I have access to transactional data from an pharmacy claims database. I can easily create the data in the typical format that is a column for transaction id and a separate column for product i.e. <...
0
votes
0answers
14 views

Is a transaction with 1 item important in apriori?

Im doing association analysis. I have alot of transactions with only 1 item Are they important or should I remove them? because transactions of 1 item doesnt really let you know , if item 1 bought ...
2
votes
0answers
32 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
37 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
88 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
35 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
308 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
25 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
127 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 ...
1
vote
0answers
43 views

How to reduce the number of rules in decision tree with Support and Confidence

The following is a set of rules in decison tree. How to reduce the number of rules in the set with Support and Confidence? If Ascites = 'Yes' then if Class = 'Live' then if Spiders = 'Yes' then if ...
2
votes
1answer
56 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
621 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
49 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
153 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
91 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....
1
vote
0answers
73 views

Categorical data with order and blanks, is frequent dataset or k-modes a better option?

I have a dataset that's purely categorical: for each item it's ranked across a set of attributes, whether it's easy, moderate or difficult. But there are blanks if the item doesn't have the ...
2
votes
1answer
779 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
108 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
166 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
37 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
79 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 ...
8
votes
3answers
23k 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
168 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
365 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
361 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 ...