Questions tagged [market-basket-analysis]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
48 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 ...
noor h's user avatar
  • 103
0 votes
1 answer
330 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 ...
Anonymous Person's user avatar
1 vote
0 answers
28 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....
tarana's user avatar
  • 11
1 vote
0 answers
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 ...
Fredrik's user avatar
  • 987
0 votes
2 answers
1k 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 ...
Pushkaraj Joshi's user avatar
1 vote
0 answers
50 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 ...
JA-pythonista's user avatar
2 votes
1 answer
112 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 ...
HakunaMaData's user avatar
0 votes
1 answer
35 views

Find changes in variables into two states

I have a dataframe like this: ...
Nathalie's user avatar
  • 147
1 vote
0 answers
48 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 ...
Geek Girl's user avatar
0 votes
1 answer
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. ...
gsamaras's user avatar
  • 291
0 votes
1 answer
227 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 ...
8Ball's user avatar
  • 1
0 votes
1 answer
4k 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 ...
deshawn's user avatar
1 vote
0 answers
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 ...
JollyRoger's user avatar
1 vote
1 answer
807 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 ...
Vyacheslav Obrezkov's user avatar
0 votes
1 answer
632 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 ...
Della's user avatar
  • 315
0 votes
2 answers
4k views

Market-basket: calculating support/confidence/lift/rules

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 ...
zsad512's user avatar
  • 131
0 votes
3 answers
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 ...
Surya Gururajan's user avatar
2 votes
1 answer
292 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 ...
Lucas Taulealea's user avatar
0 votes
1 answer
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.
Vikram's user avatar
  • 11
0 votes
2 answers
409 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 ...
SaCvP's user avatar
  • 173
1 vote
2 answers
2k views

Market Basket Analysis - Data Modelling

Imagine that I've the following dataset: ...
SaCvP's user avatar
  • 173
0 votes
1 answer
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: ...
SaCvP's user avatar
  • 173
1 vote
1 answer
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 ...
IronicMuffin's user avatar
4 votes
2 answers
3k views

Perform classification on market basket analysis

I have the following problem that I don't know how to solve: I have the data for different market baskets with a corresponding class. So for example I know: Student - {beer, milk, water} ...
tristndev's user avatar
  • 141