market-basket-analysis Questions
1
I'm trying to implement Apriori Algorithm. For that, I need to generate itemsets of length k+1 from itemsets of length k (given as a dictionary L). The Apriori principle must be followed in generat...
Sponsor asked 22/2, 2021 at 15:3
2
Solved
With the following statement:
rules = association_rules(frequent_itemsets, metric="lift", min_threshold=1.2)
I get a data frame of rules in the format:
frozenset({'Co_Apples'})
But I need to...
Minutia asked 12/9, 2018 at 9:21
4
I am tracking multiple discrete time-series at multiple temporal resolutions, resulting in an SxRxB matrix where S is the number of time-series, R is the number of different resolutions and B is th...
Archbishopric asked 5/7, 2018 at 14:59
2
I try to use the LSTM model for the next basket recommendation. I would like to apply the same approach that this article : A Dynamic Recurrent Model for Next Basket Recommendation
In my case, I ...
Unwatched asked 13/6, 2017 at 20:20
3
I want to create a transaction object in basket format which I can call anytime for my analyses. The data contains comma separated items with 1001 transactions. The first 10 transactions look like ...
Cityscape asked 17/6, 2013 at 14:9
2
Solved
I have a table that looks (abbreviated) like:
| order_id | item_id | amount | qty | date |
|---------- |--------- |-------- |----- |------------ |
| 1 | 1 | 10 | 1 | 10-10-2014 |
| 1 | 2 | 20 | 2 ...
Derina asked 5/9, 2015 at 1:59
2
Solved
Ok, so I have searched a lot and want to run arules on sales data. I just need to properly get the data in the right format and set up with the correct "factors" or "variables" and in basket form.
...
Jewfish asked 7/10, 2015 at 16:16
2
Solved
R Basket analysis using arules package with unique order number but duplicate order combinations
Just learning R. I'm trying to do a basket analysis using the arules package (but I'm totally open ...
Hyetograph asked 13/5, 2013 at 5:26
1
© 2022 - 2024 — McMap. All rights reserved.