Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
dtbit123
Partner - Contributor II
Partner - Contributor II

Forcast purchase by product features

Need to plan my purchase for winter 25.

lets say i have 500 products.

All of them have 6 features .

 

My training data is how much sold in 2022 2023 for each of these 6 features. 

 

2024 sales is my testing data. 

 

So i have 8 features column

And i have target column of sales 2024.

 

Do ml is helpful here?

Labels (3)
10 Replies
Ajay_Ananthnarayan

Hello @dtbit123 

Absolutely, Machine Learning can be very useful in the situation you have described for planning your Winter 25 purchases. 

You need to combine the data you have for the past years (historical data), clean and process it so that it is formatted correctly for Qlik AutoML. Define the target variable (sales) and the features. The historical sales data will be considered as input features to predict the outcome. 

Once you create the AutoML experiment, the AutoML will automatically test the data with different ML algorithms and identify the best model for prediction. 

Please follow the attached help documents and create a test experiment:

[1] https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/AutoML/home-automl.htm

[2] https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/AutoML/tutorial-creating...

I hope this is useful for you. 

dtbit123
Partner - Contributor II
Partner - Contributor II
Author

thank you for you answer .

 

here is un example data . Our product has 6 featurs and sum of quantity and sales of previous years. as it described.
we need to purchase products with the same featurs for next year. Our goal is maximize the sales. And to purchase products with these features that
will sold out , but to keep enough inventory for the all year.

so the goal is to purchase the exact amount of products for each features.

(we can purcahse 1 time a year).
so a-f are featres and the quantity and sales are time features so how do I put them for qlik as time features and not just as a number??

attach data for example. 

thanks, doron

Ajay_Ananthnarayan

Hello @dtbit123 

From the sample excel file, it seems like you have data with features (a-f) coupled with historical sales and quantity information for previous years. Although you cannot input features (a-f) as time features, you can load the data to Auto ML, structure your data to capture the historical aspect and use it for predictions. Please note that most ML algorithms require variables to be numeric. For categorical feature handling, Auto ML uses the concept of one hot encoding automatically. 

I would suggest you to add additional fields for your data model such as Sales growth rate YoY to estimate the demand. Please have a look at the attached video which shows a complete basic walk-through of Qlik AutoML and creating a simple predictive analytics application in Qlik Sense SaaS Enterprise.

link - https://www.youtube.com/watch?v=vwAt3aH4Hec



dtbit123
Partner - Contributor II
Partner - Contributor II
Author

i have 1 simle question:

lets say i coded the colors featurs so each color has number.

and i have the previous years 22,23 amount of sales. 

how does the ML see the differrent between the differnet these two numbers?

 

thanks,

doron

Ajay_Ananthnarayan

@dtbit123 You don't have to manually color code, that will be taken care of by one hot encoding. The Qlik Auto ML does it for you by default.

Just to give a simple example of how one hot encoding works in ML, please review the following example:

Let's say I have three fruits Apple, Orange, and Banana, essentially one hot encoding converts the categorical features into a vector-based value so that the machines can understand.

Apple Orange Banana
1          0           0
0         1            0
0         0           1

Here, 1 marks the presence of that category.

I would request you to follow the video and create a test ML experiment by following the sample example so that you can explore and understand the product.

dtbit123
Partner - Contributor II
Partner - Contributor II
Author

So if i understood the data set for training as in the excel example is fine?

Ajay_Ananthnarayan

@dtbit123 the raw data is a very small sample, but you can have a look at the training dataset as well as the apply dataset (test) here in this tutorial. https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/AutoML/tutorial-machine-...

dtbit123
Partner - Contributor II
Partner - Contributor II
Author

by meaning 

" The historical sales data will be considered as input features to predict the outcome. "

what do you mean? is the historical data will be same as other feature? 

or there any way to tell ml that this historical sales/quantity ?

thank

doron

dtbit123
Partner - Contributor II
Partner - Contributor II
Author

hi,

if someone can help here, it would be great! it is not unusual question 🙂