Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
i have one dataset attached to build a AutoML experiment its historical data and i dont have target column we need to derive
below is the ask : based on order pattern we need to predict .
" use historical order patterns to predict what a customer is most likely to buy next (Cross-sell/Up-sell)."
can someone guide me the steps and ideas ?
Hey my fellow MVP,
This is a classic recommendation problem, or a Market Basket. Since you do not have a target column yet, the solution is in how you prepare the data. You will need to work more on the data preparation to create a target column. If I can summarize in steps, I would say this:
1. Create your Target
You need to define a target by using your historical data. Split your data into two time periods. Use the first period (the past) to build your customer features, and use the second period (the future) to identify what they actually purchased. That future purchase becomes your Target Column.
Qlik Predict needs a specific outcome to learn from. You should transform your data so each row is a unique customer. Use a "Point-in-Time" split:
2. Engineering Features in Qlik
To give the model the best chance, calculate these attributes for each customer in your script:
3. Running the Experiment
Once your table is ready with the features and the Target Column, load it into Qlik Predict. Select your "Next Purchase" column as the target.
If the data is very simple, you can also use Market Basket Analysis (Association Rules) directly in Qlik using set analysis to identify items that are frequently bought together.
Count({<OrderID = P({<ProductName = {'$(vAnchorProduct)'}>} OrderID)>} Distinct OrderID)
Hey my fellow MVP,
This is a classic recommendation problem, or a Market Basket. Since you do not have a target column yet, the solution is in how you prepare the data. You will need to work more on the data preparation to create a target column. If I can summarize in steps, I would say this:
1. Create your Target
You need to define a target by using your historical data. Split your data into two time periods. Use the first period (the past) to build your customer features, and use the second period (the future) to identify what they actually purchased. That future purchase becomes your Target Column.
Qlik Predict needs a specific outcome to learn from. You should transform your data so each row is a unique customer. Use a "Point-in-Time" split:
2. Engineering Features in Qlik
To give the model the best chance, calculate these attributes for each customer in your script:
3. Running the Experiment
Once your table is ready with the features and the Target Column, load it into Qlik Predict. Select your "Next Purchase" column as the target.
If the data is very simple, you can also use Market Basket Analysis (Association Rules) directly in Qlik using set analysis to identify items that are frequently bought together.
Count({<OrderID = P({<ProductName = {'$(vAnchorProduct)'}>} OrderID)>} Distinct OrderID)