Share Your Experience: Take the 2024 Developer Survey

Market basket analysis - a distinct concept in data mining involving the analysis of items frequently purchased together.

25 questions
Filter by
Sorted by
Tagged with
123 views

### What type of technique can be used to solve this question?

Apology for the ambiguous title, I do not know the term. I have data of some products which a few variables: origin, weight, brand. For example: Product A = "China, 100g, Brand X" Product ...
• 1,085
54 views

### Customer Analysis - How to handle unbalanced data?

I'm taking a data analysis course and decided to work on a customer analysis project. In the data, I have three countries: USA (539 unique users) BRA(385 unique users) TUR (129 unique users) I'm ...
• 103
376 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 ...
1 vote
35 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
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,007
2k views

### How to present Market Basket Analysis Results?

I am working on a Retail Company's in-store transactions for 3 months. I have performed the Market Basket Analysis on the same and I'm getting hundreds if not thousands of association rules. I am ...
1 vote
52 views

### How to find the position of a company given other companies in a Pandas DataFrame with Python

So I have a Pandas DataFrame. I am doing some data analysis with Python with some sets of ...
131 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 ...
• 151
38 views

### Find changes in variables into two states

I have a dataframe like this: ...
• 147
1 vote
49 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 ...
60 views

### How should I tackle this real-life hypermarket problem?

I registered myself in the payback program of the hypermarket I am going to. For every 2$I get 1 point. I buy the same products every week (Feta 2.19\$, Milk 0.99\$, ...). I visit only in weekdays. ...
• 291
252 views

### Issue with using Sparse Data Frame in Mlxtend Apriori function

I am running python 2.7 in anaconda and have installed mlxtend. Based on the latest version of mlxtend, the aprioir class supports sparse dataframe as its input. I have over 500k products that I want ...
• 11
5k views

### 100 items 100 baskets divisor association analysis problem

I have the following exercise question: 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 if i divides b with no ...
1 vote
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 ...
• 121
1 vote
811 views

### Very low accuracy of new data compared to validation data

I'm trying to train the neural network to predict the movement of a particular security on the market. I teach on historical data collected for the year. At the entrance of the neural network ...
635 views

### Is web analytics similar to data science? [closed]

I just finished PhD and initially wished to work on data science and deep learning. However, after some rounds of interviews, I have been offered a job of web analytics and business intelligence at a ...
• 335
4k views

How can I calculate support/confidence/lift on a dataset in order to find frequent itemsets and determine association rules, in python? What would be the most effective method for predicting and ...
• 131
2k views

### Identifying Customers who are more likely to purchase a given product category- Which model to use?

I'm pretty new to data science. I am working on a model to identify customers who are more likely to purchase a given product category. I did try market basket using arules package from R. I also ...
327 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 ...
1k views

### Difference between business and financial and data analyst

Can anyone please tell me whats the difference between Business analyst Financial analyst Data analyst And what should one need to learn in order to achieve either of these profile.
• 11
410 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 ...
• 173
1 vote
2k views

### Market Basket Analysis - Data Modelling

Imagine that I've the following dataset: ...
• 173
2k views

### Items in a transaction must be unique but got WrappedArray

I'm trying to do a algorithm in Spark Mllib. I'm trying to do a Market Basket Analysis. And I've as a data set this: ...
• 173
1 vote
2k views

### Does the count of items in a transaction matter to apriori?

When preparing my data for funneling into the Microsoft Association Rules algorithm, I was not sure if I should group by data by Transaction and Item, or have a record for every instance of an item in ...
• 113