<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[HUUB - Medium]]></title>
        <description><![CDATA[Tech startup focused on disrupting the Supply Chain Industry. - Medium]]></description>
        <link>https://medium.com/thehuub?source=rss----8da6e893aaf5---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>HUUB - Medium</title>
            <link>https://medium.com/thehuub?source=rss----8da6e893aaf5---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 15 Nov 2026 12:45:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/thehuub" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Best Forecasting Model For Sales Demand [Part I]]]></title>
            <link>https://medium.com/thehuub/the-best-forecasting-model-for-sales-demand-part-i-6f425cf0e344?source=rss----8da6e893aaf5---4</link>
            <guid isPermaLink="false">https://medium.com/p/6f425cf0e344</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[retail]]></category>
            <category><![CDATA[sales]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[forecasting]]></category>
            <dc:creator><![CDATA[Luís Roque]]></dc:creator>
            <pubDate>Thu, 21 Mar 2019 20:40:42 GMT</pubDate>
            <atom:updated>2019-03-25T09:42:29.386Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p4AwaCx2Kz_XeXJ-6n3vkw.png" /></figure><p>Consumers taste and consumption patterns are ever-changing which makes fashion products life cycle very short. And so, retail and fashion markets are very <strong>volatile and hard to predict.</strong></p><p>HUUB’s business relies on<strong> being able to predict sales behaviours</strong> and thus the behaviour of our brands consumer. Indeed, stock optimization, prediction of quantities and optimization of orders are key to reduce costs, which will then reduce the bullwhip effect and improve not only our business but our brand’s as well.</p><p>As described by Lenort and Besta (2013), there are many <strong>potential beneﬁts of using forecasting models on fashion companies:</strong></p><ul><li>Possible reduction of the difﬁculties of the supplier production;</li><li>Effectiveness improvement of the sourcing strategy of the retailer;</li><li>The reduction of lost sales and markdowns and, so, the increase of proﬁt margins.</li></ul><p><strong>Due to these short life cycles, historical data of the disaggregated product structure is ephemeral</strong>, hence the importance of forecasting different levels of aggregation. <strong>The strong seasonality also arises as one of the important behaviours to model</strong>.</p><p>The sales data generated by companies is thus highly dimensional, meaning that it is possible to aggregate and disaggregate it by a signiﬁcant number of dimensions, e.g product structure, geography, etc.</p><p>Time series data in the retail world is particularly rich in dimensionality, and these dimensions can be aggregated in groups or hierarchies. Valuable information is nested in these complex structures, which helps to predict the aggregated time series data.</p><p>Aggregated time series data results in a few data points to learn from, which reduces the ability to apply more complex models. We used univariate statistical methods to build solid individual forecasts and reconciliate them optimally, using a grouped time series based on the product structure. The forecast for the most aggregated time series would capture nested information in the grouping structure and the optimal reconciliation methods applied would show more consistency in the forecast.</p><p><strong>1.Data Preprocessing</strong></p><p>Different approaches can be taken to pre-process time series data in order to stationarize, normalize, detrend and deseasonalize data. Pre-processing is an important stage as it has been shown that forecasting models perform better on pre-processed data (Makridakis, Spiliotis, and Assimakopoulos, 2018).</p><p>The Box-Cox transformation is used to modify the distributional shape of a set of data to stabilize variance and make the data more normal distribution-like so that tests and conﬁdence limits that require normality can be appropriately used. It is deﬁned by:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/331/1*hZK_n52urI_omKxDYs82Qw.png" /><figcaption>Adhikari and Agrawal, 2013</figcaption></figure><p>where λ is the transformation power parameter and y is a list of strictly positive numbers. Hence, the Box-Cox transformation can only be applied to positive data. A Box-Cox transformation with λ = 0 is equivalent to a simple logarithmic transformation.</p><p><strong>2.Model Description</strong></p><p>The Autoregressive Integrated Moving Average (ARIMA) or Box Jenkins methodology is one of the most popular and frequently used stochastic time series models.</p><p>The Seasonal Autoregressive Integrated Moving Average (SARIMA) model is the generalization of the ARIMA model for seasonality. In this model, the seasonality is removed by seasonally differentiating the series.</p><p>In other words, by computing the difference between one observation and the corresponding observation from the previous year (or season):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/141/1*LtPTkLJf64_3-u8wvqQ7eQ.png" /></figure><p>For a monthly time series, s = 12, for a quarterly time series s = 4, etc.</p><p>Mathematically, a SARIMA (p,d,q)×(P, D, Q)s model is formulated as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*95w6dQ_0y_tuSXGRIKIouw.png" /></figure><p>where P, D, Q are the seasonal orders of the auto-regressive, integrated and moving average parts of the model, respectively, and s is the seasonal period.</p><p><strong>3.Optimal Forecast Reconciliation</strong></p><p>Univariate Time Series data rely only on time to express patterns. <strong>When there is aggregated data available, there are potential covariance patterns nested in the hierarchy</strong>.</p><p>Fliedner (2001) summarizes guidelines on using the more traditional hierarchical forecasting approaches, top-down, bottom-up and a combination of both, the middle-out approach.</p><p>The method proposed by Hyndman, Ahmed, Athanasopoulos, and Shang (2011) consists in <strong>optimally combining and reconciling all forecasts at all levels of the hierarchy</strong>. To combine the independent forecasts, a linear regression is used to guarantee that the revised forecasts are as close as possible to the independent forecasts while maintaining coherency.</p><p>The independent forecasts are reconciled based on:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/339/1*FgpWrYdCzFCi-OtMOItYWg.png" /></figure><p>where ˆ yT(h) is a matrix of h-step-ahead independent forecasts for all series, stacked in the same order as the original data, S is a summing matrix,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*31iIEz9amq9G4hu_chjyHg.png" /></figure><p>is the unknown mean of the most disaggregated series at the bottom level, and εh represents the reconciliation errors. The authors also proved that the resulting forecasts are unbiased, which is not the case in the top-down approach.</p><p>From the traditional hierarchical forecasting approaches, we selected the bottom-up approach to give us a reference. We tested it against different methods that consist of optimally combining and reconciling all forecasts at all levels of the hierarchy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/1*IAxwexYunLT3_P3LH_SWzw.png" /></figure><p>We need to estimate Wh, the forecast error variance of the h-step-ahead base forecasts. As it is challenging to estimate Wh, Wickramasuriya, Athanasopoulos, and Hyndman (2018) proposed five different approximations for estimating this parameter, some of which we implemented in our work.</p><ol><li>The Ordinary Least Squares (OLS) provides substantial computational savings. The disadvantage, however, is that this specification does not account for the differences in scale between the levels of the structure.</li><li>The WLS (Weighted Least Squares) scales the base forecasts using the variance of the residuals.</li><li>MinT (Minimum Trace) assumes that the error covariance matrices are proportional to each other, and we directly estimate the full one-step covariance matrix based on the sample covariance.</li></ol><p><strong>4.Dataset</strong></p><p>From a portfolio of brands under HUUB’s monitoring, we selected two to explore their sales behaviour, leveraging the grouping properties of their product structure. The time series of all HUUB brands have been analyzed in order to explore their sales behaviour. Only brands with more than two years of data and consistent sales on a weekly basis were considered for forecasting analysis.</p><p>For an initial study, we selected only the eCommerce sales channel of two representative brands. The aim of this data reduction is to narrow the scope of the problem since the purpose is to have a ﬁrst approach and a strong baseline for the future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*WOdnh5t_emyIuyNszDIsMA.png" /><figcaption>Image 1 — Time series proﬁle of HUUB eCommerce selected brands.</figcaption></figure><p>The image above plots the selected eCommerce brands data series. The data is aggregated in weeks and ranges from the 11-12–2016 (Sunday) to 19–01–2019 (Saturday).</p><p><strong>5.Grouped Time Series</strong></p><p>Grouped time series are built based on a structure that disaggregates based on factors that can be both nested and crossed. When there is aggregated data available, there are potential covariance patterns nested in the hierarchy that we can leverage in the most aggregated series.</p><p>The structure used for this grouped time series starts at the top level with the time series that sums up all series at lower levels with different attributes. It is disaggregated by brand, brand 1, and brand 2, in a hierarchical structure.</p><p>We considered ﬁve different attributes:</p><ul><li>Gender (Male, Female or Unisex);</li><li>Age group (Baby, Kid, Baby Kid, Teen or Adult);</li><li>Product type (Clothing, Footwear, Accessories, Homewear, Beachwear, Swimwear, Swim accessories, Compound, Stationery, Underwear, Nightwear or Sports);</li><li>Season of the product (Seasonal or Permanent).</li></ul><p>Image 2 shows one of the alternatives to represent the group structure. It generates a total of 128 time series to be reconciled. When grouping time series, the complexity increases quickly, which requires signiﬁcantly more computation resources to solve the problem.</p><p>For each of the time series, we applied the best possible model to forecast that individual series using the auto.arima() function from the R Forecast package (Hyndman and Khandakar, 2008; Hyndman, Athanasopoulos, Bergmeir, Caceres, Chhay, O’Hara-Wild, Petropoulos, Razbash, Wang, and Yasmeen, 2018)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*LbZQHd4reqSQVMsPhnSG8w.png" /><figcaption>A representation of one of the ﬁve level grouped structures: (Global), the global time series; brand 1 (brand 1); brand 1 crossed with gender male (1M); brand 1 crossed with gender male and seasonal items (1MS); brand 1 crossed with gender male, seasonal items and age group baby (IMSB); and, ﬁnally, brand 1 crossed with gender male, seasonal items, age group baby and product type clothing (IMSBC).</figcaption></figure><h3>Results</h3><p>Based on the mathematical expression for the SARIMA function, we can deduce some parameters restrictions according to the size of the time series window.</p><p>The more general restrictions for the SARIMA model as a function of the time series length are:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*Rd6kPSDm2ALGAG1Qew0QSQ.png" /></figure><p>Our time series has a length of T = 110 data points (weeks) and a seasonal period of 52 weeks. We want to test forecasting of 4 weeks, so we divide the time series into 106 data points for ﬁnding the best SARIMA parameters and coefﬁcients, the training series, and 4 data points to test the forecast retrieved by that model, the testing series.</p><p>The length of the training series limits our SARIMA parameters in the following way:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*fVbSvcBVUP_rAcYyUgsAYg.png" /></figure><p><strong>Brand 1</strong></p><p>The sales of brand 1 vary a lot with time, which reﬂects in a time series with high variance (see Image 1). This suggests that a Box-Cox transformation can make it more stationary.</p><p>A quantile quantile (Q-Q) plot shows the distribution of the data against the expected normal distribution, hence it is an effective diagnosis to determine whether a sample is drawn from a normal distribution. Image 3 shows the Q-Q plot of the Box-Cox transformed data with lambda=”auto” as well as the Q-Q plot of a simple logarithmic function, λ = 0.</p><p><strong>The more data points fall in a straight line, the more normally distributed they are</strong>. If they deviate from a straight line in any systematic way, this suggests that the data is not drawn from a normal distribution. Image 3 thus indicates that the logarithmic transformation effectively approximates the data to a normal distribution more than the Box-Cox transformation with lambda=”auto”. A λ = 0 Box-Cox transformation was therefore applied to the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/0*oPg49vRDYucSwLxj.png" /><figcaption>Image 3 — (Left:) Q-Q plot of brand 1 Box-Cox transformed time series with λ = ”auto”; (Right:) Q-Q plot of brand 1 Box-Cox transformed time series with λ = 0, equivalent to a logarithmic transformation. It is clear that the latter series is closer to a normal distribution, hence it is a better transformation.</figcaption></figure><p>Figure 4 presents the brand 1 time series after Box-Cox transformation. This series displays a clear seasonal pattern with a cyclic proﬁle with a yearly, or half-yearly, period. A seasonal differentiating with a lag of 52 weeks (1 year) or 26 weeks (half-year) should, thus, improve the time series.</p><p>Indeed, the time series standard deviation decreases from 1.053 to 1.020 and to 1.028, after applying a 52-weeks and a 26-weeks difference, respectively, which improves the series in both cases. A ﬁrst difference of the series increases the standard deviation and a unit root test also returns no ﬁrst differencing, it is thus not expected to improve the modeling of the series.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*uqrS22g33h7an7msPzrkEg.png" /><figcaption>Image 4 — Brand 1 time series after Box-Cox transformation with λ =0.</figcaption></figure><p>The analysis of the ACF and PACF of the yearly differenced series indicate that a SARIMA (0,0,1)(0,1,0)52 model is a good candidate to reduce the data autocorrelations. This and other SARIMA models were tested and this was the model with the lowest AICc and BIC criteria.</p><p>A more complex model, SARIMA (6,0,0)(0,1,0)52, was favoured by the AIC criteria, however, according to the restrictions in Shang and Haberman (2017), this model exceeds the threshold limited by the size of the training series.</p><p>Moreover, particularly when the sample size is small, the AIC criteria favours higher order (more complex) models as a result of overfitting the data. The AICc is a correction of the AIC and more realistic criteria for smaller sample sizes, along with the BIC criteria. For these reasons, and since simpler models tend to be a better choice for accurately forecasting the general behaviour of time series, we chose (0,0,1)(0,1,0)52.</p><p>Brand 1 had a major peak of sales in the ﬁrst quarter of 2017 which did not repeat in 2018 and which was almost 10 times above the average of the subsequent peaks (see Image 1). This sales peak was due to strong campaigning for an online collection launching. It was a one-time event and the peak affects the SARIMA models, increasing its prediction for the same period of subsequent years. We performed the same analysis having this outlier peak removed and its values interpolated. The time series forecasting RMSE was reduced by 22%.</p><p>However, to maintain the method’s automation capacity, we chose not to implement any outlier removal. Instead, external variables will be used to handle this type of event in a subsequent article.</p><p><strong>Brand 2</strong></p><p>The time series for brand 2 has a seasonal proﬁle, which is also clear in the ACF and PACF at lag 52 (see Image 5). Since the series shows variations which change with time, a transformation can improve the series. Similarly to brand 1, the Box-Cox transformation with λ = 0 improved the normalization of the time series over lambda = ”auto”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*9EheVjRGwtVUGFiYJjBJow.png" /><figcaption>Image 5 — Brand 2 original time series and respective ACF and PACF</figcaption></figure><p>Since brand 2 displays a clear seasonal proﬁle, it is not stationary and a seasonal difference can improve the series. Even though the standard deviation of the series increases from 0.64 to 0.68 after seasonal differencing, the series becomes more normalized.</p><p>The series is also more stationary after a ﬁrst difference and the standard deviation decreases to 0.54. A second difference would increase signiﬁcantly the standard deviation, so no more differencing was applied to the series. The ACF and PACF of the differenced series show a signiﬁcant negative lag1 of ≈−0.3, which suggests a mild over-differencing.</p><p>This can be counterbalanced with one order of a moving average model applied to the series, which indicates that SARIMA (0,1,1)(0,1,0)52 is a good candidate model for the data.</p><p>Other models, including different differencing orders, were also tested and the AICc criteria, which favours a simpler model, was used to compare them. Based on that, SARIMA (0,1,1)(0,1,0)52 model was chosen out of all models.</p><h3>Results for individual forecasts using the best fit models in the higher levels of the hierarchy</h3><p><strong>Global time series</strong></p><p>A global time series is formed by the sum of brand 1 and brand 2 time series. The same pre-processing and analysis performed on brand 1 and brand 2 time series were applied to the global time series, in the same 4 weeks period range.</p><p>As expected, the global time series also exhibits a seasonal proﬁle, with a cyclic behaviour and signiﬁcant autocorrelations at lag 52. This entails a seasonal differencing, hence D = 1. The standard deviation of the time series increases when applying a ﬁrst difference and the unit root test determined that the time series is stationary so needs no ﬁrst differencing, both advocating for d = 0. The model that presented lower AICc criteria was SARIMA (0,0,1)(0,1,0)52. The ﬁtting and forecast of the global time series by this model are shown in Image 6.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*MkeDyGRaZAv2QCOqTPb-GA.png" /><figcaption>Image 6-Global time series (black) with SARIMA(0,1,1)(0,1,0)52 model ﬁtting (blue) and 4-weeks forecasting (red).</figcaption></figure><p>The baseline models performance summary is presented in Table I</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*aaQVOwE9u_ejyer0KISc_g.png" /><figcaption>Table I — Baseline SARIMA models for brand 1, brand 2 and the global time series. The time period of forecast was 4 weeks.</figcaption></figure><p><strong>Models were chosen based on the AICc resulting in the best fit </strong>on the training data. This also guarantees that we choose the simplest possible models.</p><p>High Ljung-Box (LB) p-value indicates a reasonable resemblance of residuals with white noise, further approving the models.</p><p>The RMSE was used to understand forecasting accuracy within a 4 weeks horizon, <strong>but it was not the main criteria used to select the models </strong>as it could lead to overfitting of the training data.</p><p><strong>Grouped Time Series Forecast Reconciliation</strong></p><p>The best individual forecasts were used as input for the reconciliation process. Independent (base) forecasts, used as baseline, bottom-up and the three approaches considered as the optimal reconciliation methods: OLS, WLS, and MinT.</p><p>Table II shows the performance metrics in the out-of-sample data: independent (base) forecasts, used as baseline, bottom-up and the three approaches considered as the optimal reconciliation methods.</p><p>All approaches were tested using a horizon h of 4 weeks, which was identiﬁed by HUUB as the most relevant period range to be forecasted, given the weekly data granularity.</p><p>The results are presented for the three most aggregated time series, despite the fact that the grouped time series yielded results for all the possible combinations. This is also a major advantage for the business, allowing to drill down to more granular dimensions, with the reassurance that the forecasts are consistent across these dimensions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/1*Hrq_JIC34SF3WPByyQqUIw.png" /><figcaption>Table II: Models performance in the out-of-sample data of the baseline forecasts, bottom-up and the approaches considered as the optimal reconciliation methods: OLS, WLS, and MinT. The best performing models according to the RMSE are highlighted in bold.</figcaption></figure><p>Overall, the results show that the best performing method for each series can leverage nested information in the group structure and add consistency to the outcome. This is supported by the RMSE of WLS in brand 1, which <strong>has a very signiﬁcant improvement when compared to the baseline.</strong></p><p>In terms of brand 2, WLS results were very close to the baseline, which can be explained by the simpler grouping structure for this brand, i.e. it is essentially concentrated in one product type, one gender, one age group, one season.</p><p>For the global time series, the baseline model performed slightly better than the reconciled best model, with an RMSE 5% lower than WLS. This could be due to this time series having a less irregular profile where a SARIMA model can perform better.</p><p>Overall, <strong>the RMSE indicates that WLS is a robust method for the forecasting of seasonal time series</strong>, outperforming the very ineffective bottom-up, but also the simpler OLS and the new MinT approach.</p><h3>So, what’s the best model to use?</h3><p>This work explored the <strong>optimal forecasts method for grouped time series to forecast the weekly sales of two fashion brands</strong> under HUUB’s monitoring. The data were disaggregated according to five selected attributes: brand, gender, whether the item is seasonal or permanent, age group and product type. This disaggregation resulted in a grouped structure with 128 individual time series.</p><p>These series were individually ﬁt by the best SARIMA model found by the <em>auto.arima() function</em> and were then reconciled following the optimal forecasts method. We’ve explored three different cases of the optimal forecasts methods: OLS, WLS, and MinT, as well as the simple Bottom-up approach.</p><p>The forecast performance of the three most aggregate series was evaluated and compared to the forecasts obtained by baseline SARIMA models. Each of these baseline SARIMA models was found by manually analysing the time series ACF, PACF and through stationarity and differentiating tests to determine the best model parameters and coefﬁcients.</p><p>The comparison of the performance of the optimal forecasts method and the baseline SARIMA models showed that <strong>WLS was the most robust forecasting method.</strong></p><h3>What’s next?</h3><p>Our research intentionally focused on <strong>univariate time series models</strong>, providing a strong baseline and framework to build more complex forecasting models.</p><p>Preliminary work with a higher-level disaggregation with more attributes has shown a signiﬁcant improvement of the RMSE of the global time series forecast. We will present these findings in the next article.</p><p>One possibility worth of exploiting is the use of <strong>hybrid models</strong>, that combine statistics and machine learning, already proven to generate better results than statistical ones (Makridakis, Spiliotis, and Assimakopoulos, 2018). Another aspect that our work will further explore is the use of <strong>multivariate models</strong> since they can add signiﬁcant information on the volatile and unexpected behaviour observed in the data.</p><p><strong>Our research is a strong baseline and framework to build more complex forecasting models and a first approach to leverage the hierarchy of retail data.</strong></p><p><em>Cite us on your work using our code: </em><a href="https://arxiv.org/abs/1903.09478"><em>arXiv:1903.09478</em></a><em> [stat.ML]</em></p><p><em>Check the complete set of references in the article. Want to read the complete version? </em><a href="https://knowledge.thehuub.co/research-download"><em>Click here to download it</em></a><em>!</em></p><p><em>HUUB is disrupting the fashion supply chain and continuously evolving brands! Find out more </em><a href="https://www.thehuub.co/"><em>here</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f425cf0e344" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thehuub/the-best-forecasting-model-for-sales-demand-part-i-6f425cf0e344">The Best Forecasting Model For Sales Demand [Part I]</a> was originally published in <a href="https://medium.com/thehuub">HUUB</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Between the future and the present, lies the pragmatism]]></title>
            <link>https://medium.com/thehuub/between-the-future-and-the-present-lies-the-pragmatism-9698f732fc6f?source=rss----8da6e893aaf5---4</link>
            <guid isPermaLink="false">https://medium.com/p/9698f732fc6f</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[supply-chain]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Rui Machado]]></dc:creator>
            <pubDate>Fri, 10 Nov 2017 09:33:46 GMT</pubDate>
            <atom:updated>2017-11-10T09:33:46.246Z</atom:updated>
            <content:encoded><![CDATA[<p>Business and Artificial Intelligence are very trendy terms these days, managers want it, IT companies are selling it like hell and users are loving the promises coming from machine learning models. However most of the early and massive adopters of these technologies are lacking the pragmatic approach these topics require to go from academic research lines to enterprise real-world solutions. We must keep an eye on all trendy technologies and continuously evaluate its adoption to our solutions portfolio.</p><p>Focusing purely on results, without considering this kind of approach, might lead to an amazing product that, in the end, will fail at first try. It creates the distrust feeling in users that makes an amazing technology deployment to be postponed for years.</p><p>Although we like to try everything, this is exactly what we want to avoid. On one hand, at <a href="http://thehuub.co/">HUUB</a>, we are focused on supporting our people with amazing technologies that will extend their capabilities, instead of replacing them. On the other hand, we don´t fall into the disconnection issue of building something that uses state of the art technologies but fails to prove that it adds value for our co-workers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*hqdtMbMRKRvMKQdQ2zdkVA.jpeg" /></figure><h3>An HUUBnormal pragmatism is the key for artificial intelligence with value</h3><p>Just like your eyes get used to a bad eyesight so do companies to their performance when they rely on gut feeling and we all know what happens if you close your eyes while driving your car. We like to think artificial intelligence as the missing glasses in both strategic and tactical decision levels and once on, everything will start being much clearer. As we like to put money where our mouth is, take the following examples in consideration:</p><p><strong>Email classification. </strong>Our Account Management team spends most of their day communicating with our brands for multiple reasons: going from returns handling to stock issues. As it is our goal to have a much more active role in giving insights to the brands managers, we had to do something. With this mindset, we created a <a href="https://nlp.stanford.edu/IR-book/html/htmledition/the-text-classification-problem-1.html">text classification algorithm</a> based on a set of historical email conversations. Our model then learns to classify future emails according to a set of topics. This allowed us to have full visibility over the most frequent problems that a given brand has and guide our operational and strategic focus to fix them. <em>In the end, the goal is met, to relieve and leverage our account management team.</em></p><p><strong>Order to box. </strong>We love to work with retail brands, but this comes with very specific issues that have to be fixed in order to become competitive in the <a href="https://en.wikipedia.org/wiki/Supply_chain_management">Supply Chain Management</a> industry. Take this as an example, a given brand attends a fair and sells its trendy apparel to multiple boutiques. It will start producing the items and three months later <a href="http://thehuub.co/">HUUB</a> will be shipping them, splitting the items at the reception moment. So far so good, but how do we know how many boxes need to be prepared to accommodate the items bought by each boutique? Imagine the time and money lost preparing the wrong set of boxes and then moving all items to a new set. To solve this probelm, we created a <a href="http://analyticstraining.com/2017/popular-regression-algorithms-ml/">volume estimation algorithm</a> that, based on regular item features like category, fabric, supplier and size, calculates its volume and outputs the optimal pack set for a specific order. This allowed us to save <em>around 20% of preparation times and 15% in shipping costs</em>, depending on the service.</p><p><strong>Operational planning. </strong>When you manage multiple Supply Chains from multiple customers with suppliers in all corners of the globe, different service level agreements and more than 65 destination markets, having business rules planning operations is not an option. With just a few brands, a team of analysts might be enough, but with more than 30 it becomes humanly impossible to understand all contexts and prioritize operations. Our approach was to look at all pieces of the <a href="https://en.wikipedia.org/wiki/Supply_chain_management">Supply Chain Management</a> processes and create an abstract mathematical model that fits all possible variables and constraints of the planning process. After building the abstraction, <em>we were able to customize the model using the business rules of all our brands and output on a daily basis the most optimal plan for the following two weeks</em>. This allowed us to save costs with not optimal activities and at the same time prepare the company for to scale.</p><blockquote>We are focused on people and on the support of our business growth. We leverage the combination of math, statistics, machine learning and <a href="https://en.wikipedia.org/wiki/Convolutional_neural_network">deep convolutional neural networks</a>, as our weapons to tackle the obstacles that we face on our path.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*28bZLtrToxmPLVotHxqDKQ.jpeg" /></figure><h3><strong>Well, we also like to push the limits…</strong></h3><p>At <a href="http://thehuub.co/">HUUB</a>, we take food very seriously. Being part of a startup, we are not lucky enough to count on a canteen. So you either bring your own food or you need to eat outside of our facilities.</p><p>The routine is the following, around mid-day, we start our active discussion on what to eat, where to eat and who wants to join the horde of nomad eaters of our company. Not having too many co-workers makes this as easy as standing up and shouting out loud who wants to go. <em>But this is too easy for an artificial intelligence backed industry 4.0 company.</em></p><p>What if we could build an integrated system? One that, based on the daily menu of a restaurant, generates a <a href="https://slack.com/">slack</a>-based poll and, at a given time, automatically calls the restaurant to reserve the required food and tables? Well, we did it. <em>And guess what, every day we save 20 min of all our nomad eaters.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/1*8wssXWvGrGZ4MYOZ7xcOsg.png" /></figure><h3>Based on our historical data, I think you should use the key…</h3><p>Thinking analytics is nowadays a multiple dimension problem, companies must think descriptive to understand its figures and keep track of the company performance. Even so, with the recent innovations that democratized machine learning and artificial intelligence, companies should start thinking about prescriptive and optimization.</p><blockquote>HUUB is bringing this mindset to the Supply Chain Management industry. It is increasingly demanding more and more agility to answer consumers expectations. So, in a nutshell, we offer solutions that generate insights and optimize processes that have been stuck in manual operations for too many years.</blockquote><p>By the way, we are offering tickets to join us on this amazing trip, revolutionizing, with pragmatism, the data analytics world! Do you have what it takes? Check our <a href="http://thehuub.co/jobs">jobs</a>.</p><p>Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9698f732fc6f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thehuub/between-the-future-and-the-present-lies-the-pragmatism-9698f732fc6f">Between the future and the present, lies the pragmatism</a> was originally published in <a href="https://medium.com/thehuub">HUUB</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Marketing is living in a Flatland]]></title>
            <link>https://medium.com/thehuub/marketing-is-a-living-in-a-flatland-c2ffde4c2b05?source=rss----8da6e893aaf5---4</link>
            <guid isPermaLink="false">https://medium.com/p/c2ffde4c2b05</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[growth]]></category>
            <category><![CDATA[sales]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Tiago Paiva]]></dc:creator>
            <pubDate>Mon, 23 Oct 2017 17:36:52 GMT</pubDate>
            <atom:updated>2017-10-25T09:10:31.664Z</atom:updated>
            <content:encoded><![CDATA[<p>Please notice, this article is in a language that only marketers and people who live in a three-dimensional world comprehend.</p><p>We’re about to start a journey through space and time. Let’s imagine that we represent the evolution of Marketing in temporal and space dimensions. We realize that nowadays Marketing is living in a Flatland for most companies, meaning that it’s stuck in an inferior dimension.</p><p><strong>So, let’s plan a rescue mission and bring marketing to our three-dimensional world:</strong></p><p>For starters, let’s use imagination and represent this journey through design. Wherever you are, whatever you’re doing, I’d like you to imagine Marketing as a geometric figure passing through time and evolving from zero to three dimensions.</p><p><strong>1.</strong> <strong>The term ‘marketing’ — Zero dimension — PointLand:</strong></p><p>According to etymologists, the term ‘marketing’ first appeared in dictionaries in the sixteenth century where it was referred to the process of buying and selling goods/products in a market. During this time, there was no awareness of the one dimension word (the contemporary definition) and marketing was just a representation of a process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*QECujJhVHPQ0yvl9X0ud4w.png" /><figcaption>Marketing represented in PointLand</figcaption></figure><p><strong>2.</strong> <strong>Contemporary definition — One dimension — LineLand:</strong></p><p>The contemporary definition of Marketing first appeared in 1897 as a process of moving goods from producer to consumer with an emphasis on sales and advertising, where Marketing was based in on observation skills. This was a big leap forward in the marketing evolution, almost like what happened when Thomas Edison invented the light bulb and the world stopped living in the darkness.</p><p>At this moment it was recognize that the capacity to influence someone was directly related to psychological behavioral analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/1*K0tytYeyoh3lUadaZ_-5ow.png" /></figure><p>This was also the moment where creativity came out of the box to make the difference, when it was realized that to be able to influence someone, you should create the right and distinctive message. Like what was made in the tobacco industry in 1946 with the marketing campaign of Camel: “More doctors smoke camels than any other cigarette!”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*O2x-Hk_xWS5b5zP6AhMnCw.png" /><figcaption>Marketing represented in LineLand</figcaption></figure><p><strong>3.</strong> <strong>Marketing (old way) — two-dimensional — Flatland:</strong></p><p>Welcome to the Flatland, the dimension where Marketing appears as a square and it’s supported by 4 main pillars, two of them travelled from the previous dimension, Psychological Behavior analysis and Creativity, and two new ones: Data Analytics and Knowledge.</p><p>In this dimension we reach that moment where we realize that science needs mathematical proof to become a scientific fact and without knowledge, you’re just a guy with good soft skills that haven’t found the right path.</p><p>Most of the companies that we know live in this dimension. For a long time, this square was the state of the art in terms of Marketing Strategy, but a revolution came and it seems that very few companies were ready to embrace it. Today companies are stuck in this dimension, where concepts and execution standards worth more than A/B testing. Where behavior analysis is made based on very small data sets (in a world where data it’s at arm’s [and smart] length). Creative people just have one shot to became viral and Analysts don’t use creativity to find KPIs (Key performance Indicators) that matter. Instead they are just focused on vanity metrics such as App Downloads and Facebook likes.</p><p>Marketing society is living in a big bubble, which in an extremely ironic way has no creativity to see the three-dimensional world. I know this is not easy, it’s like trying to imagine ourselves living in a four-dimensional world.</p><p>Nevertheless, the portal from the Flatland to the next dimension is open. It’s time to pack our things and travel through time and space.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*2yN2McE29oExuipjL7BBSw.png" /></figure><p><strong>4. The Marketing of today (new way) – Three-dimensional - Spaceland:</strong></p><p>This portal was opened after a big-bang explosion, I call it the Digital Revolution. It’s urgent to apply depth to the square and consequently evolve marketing from a square to a cube. I believe that the factor that will allow us to achieve this depth is Digital Maturity. Digital maturity is about adapting the organization to compete effectively in an increasingly digital environment, which goes far beyond implementing new technologies at a high pace. To get there you need to align the company’s strategy, its workforce, culture, technology, and structure to meet the digital expectations of customers, employees, and partners. Digital maturity is, therefore, a continuous and ongoing process of adaptation to a changing digital landscape.</p><p>We are talking about a living organism. The four pillars are in constant evolution and interaction with each other. Companies from today can’t reach this perspective because they are still living in the Flatland.</p><p>Artificial intelligence (AI) came to serve Marketing. We see it in several platforms available in the market, which allow companies to optimize their strategies and enhance their abilities. Say you wanted to decide which costumers to contact first in your outbound Strategy, why should you target them just based on your gut feeling or on your target definition? See for instance the Einstein platform from Sales Force.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*Pkfnqkpz2lf4X4LDw-JQqA.png" /><figcaption>SalesForce Platform</figcaption></figure><p>Einstein uses all the data that you were gathering along this years and the one you will gain along the way and learns from it. Then applies knowledge to deliver predictions and recommendations based on your unique business preposition.</p><p>When analyzing the <a href="https://www.optimail.io/">https://www.optimail.io/</a> platform, you’ll see that it helps you build your campaigns and work on the outputs so they can learn, adapt and improve. We are in a presence of a email marketing platform on steroids.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*W4CS1Pn1UcMxftSTesBZJw.png" /><figcaption>Optimail Platform</figcaption></figure><p>Nowadays, when we talk about psychological behavior analysis we need to think in big data, not the simple ´observation model’. As a matter of fact, the principle is the same, to study patterns in consumer behavior, but this time using larger datasets. By using this approach companies are allowed to move to more accurate prediction models. The beauty of this approach is that the more information it receives, the better it gets at producing results. We, as humans, are inherently flawed in our ability to predict accurately. How do you think Facebook can predict and select the type of content you will be more interested in engaged?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*lkbdlAy-b3VP_3dItWDmOQ.png" /><figcaption>Facebook — Campaign Manager</figcaption></figure><p>Achieving this knowledge about our channels, our campaigns and our targets enables us to start automating our processes. There are already platforms that allow you to setup and customized some of your marketing campaigns, see for instance <a href="http://www.activecampaign.com/?utm_medium=cpc&amp;utm_source=google-brand&amp;utm_campaign=ALL_search_brand&amp;utm_term=%5bactive_campaign%5d&amp;utm_content=search_ad&amp;gclid=EAIaIQobChMI6trW1beQ1gIVqTLTCh1Ywg7nEAAYASAAEgLdXPD_BwE">http://www.activecampaign.com/</a>. Their powerful automation platform is very user-friendly and easy to use, it’s where you should start the automation experiences.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*I8NFw-7jcTcTEps-KY_aBg.png" /><figcaption>Active Campaign</figcaption></figure><p>Nowadays, achieving digital maturity is critical for every company to succeed. This means: follow the innovation, follow the technological evolution, test everything you can and learn from everything to achieve something greater.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*edQFGtnRV3gfGSCE6xOyiQ.png" /><figcaption>Marketing represented in SpaceLand</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*ipCmoLYeRVTBx_LXbZ8z7Q.png" /><figcaption>Digital Maturity — SpaceLand — Square Marketing</figcaption></figure><p>To conclude I would like to bring some questions to debate.</p><p>Shouldn’t we already be trying to envision Marketing in a fourth dimensional world? It’s even possible to design Marketing like a hypercube?</p><p>I believe we can and we are working on it. Join us on our journey.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2ffde4c2b05" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thehuub/marketing-is-a-living-in-a-flatland-c2ffde4c2b05">Marketing is living in a Flatland</a> was originally published in <a href="https://medium.com/thehuub">HUUB</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Startup story: the Allegory of the Rock]]></title>
            <link>https://medium.com/thehuub/the-allegory-of-the-rock-fcbc2e91b058?source=rss----8da6e893aaf5---4</link>
            <guid isPermaLink="false">https://medium.com/p/fcbc2e91b058</guid>
            <category><![CDATA[management]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[strategy]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Luís Roque]]></dc:creator>
            <pubDate>Fri, 25 Aug 2017 12:23:24 GMT</pubDate>
            <atom:updated>2021-08-09T09:25:42.807Z</atom:updated>
            <content:encoded><![CDATA[<p>There are times in a startup life where you should take a step back towards a new perspective. <strong>Your perception of reality is somehow diluted in the daily noise.</strong></p><p>So, we often draw, create short stories or just picture hypothetical scenarios.</p><p><strong>Picture this one.</strong></p><p>Your startup is a r<strong>ock rolling in a field</strong>, the<strong> speed represents the company’s growth rate</strong> and the <strong>size its valuation</strong>. The growth of the diameter of the rock is achieved by the collisions with other rocks along the way. This process can also create erosion.</p><p>The <strong>push from founders, investors and employees are the only forces applied to the system that moves the rock forward</strong>, accelerating as per Newton’s Second Law. Nevertheless, we have to remember <strong>inertia and friction</strong>. Inertia is the pain to make things move in the beginning. Friction represents all growth obstacles, namely your <strong>churn rate</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R9Oq3HIwwkCkMrHrHWNsCQ.jpeg" /><figcaption>Mindset @ HUUB’s meeting room while defining the startup’s Strategy</figcaption></figure><p>Therefore, you have to consider 3 main variables to work with:</p><ol><li><strong>Management</strong> is the sum of the magnitude of the projection of all forces applied in the strategy’s direction. Then, it can be broken down in two perspectives: direction and magnitude. If you guarantee that <strong>everybody is onboard with your startup’s strategy</strong>, you achieve direction and efficiency. The magnitude of the summed forces comes from <strong>peoples’ motivation.</strong></li><li><strong>Strategy</strong> gives the <strong>direction that each individual has to take when pushing</strong>. If someone is highly motivated but pushes in a 45º direction relative to the defined strategy, it causes a deviation. To solve it, you have two options: reroute the direction of this force (using point 1) or, if you are unable to do it, balance this force with perpendicular ones that, summed up, have the same magnitude (using point 1 with other teams/people).</li><li><strong>Legacy</strong> is the outsider, barely recognized as important and easily forgotten. As presented before, the rock is losing small pieces of itself along the way (the erosion process). These will be carried on everyone’s back, increasing the friction as a consequence and subsequently reducing the rock’s speed. The best possible example is today’s tech world, where microservices’ architectures help to reduce dependencies. <strong>This decoupling represents the power to decide which small rocks you leave behind and what you will develop next.</strong></li></ol><p>Like a triangle in a Cartesian coordinate system, you cannot change one vertex’s coordinates without affecting all the angles.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fcbc2e91b058" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thehuub/the-allegory-of-the-rock-fcbc2e91b058">A Startup story: the Allegory of the Rock</a> was originally published in <a href="https://medium.com/thehuub">HUUB</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>