Description Usage Arguments Value
This function is created to calculate the top market segments base on minumum covariance of the profit made on each segments
1 2 3 4 |
x |
it is the data frame to calculate the market segments |
c |
it is the column such as sales, quantity, profit etc which is required to aggregate based on date |
d |
it is the date column for time series |
m |
it is the no of months that needs to be seperated for validation purpose |
v |
it is the profit column or can be any column based on which covariance is to be calculated |
n |
it is the top n segments that is require for predicting sales and quantity for that segments |
this will return a list of top segments, the train and test time series
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.