Article

October 13, 2026

Application of LightGBM for Sales Forecasting in Fashion Industry Collections

Application of Lightgbm for Sales Forecasting in Fashion Industry Collections

Matheus de Andrade Beni; Anna Carolina Martins

DOI: 10.22167/2675-6528-202603283

Article derived from a Course Conclusion Work (TCC), with content based on the student’s original work and adapted to the editorial format of the E&S Magazine with the support of the ResumeAI tool, an artificial intelligence solution developed by Instituto Pecege for textual synthesis and organization.

Summary

Sales forecasting in the fashion industry presented a challenge due to sales volatility, short product life cycles, and the absence of historical data. The effectiveness of the LightGBM algorithm in forecasting sales of new products in fashion collections was evaluated using data from an ERP system. The research was characterized as an applied case study, with a quantitative approach, following the CRISP-DM methodology. The database gathered records with Product-Collection-Color granularity, containing categorical, numerical, and temporal variables, as well as attributes derived from feature engineering. The model was trained with the Tweedie Regression objective function, hyperparameter optimization via LightGBMTunerCV, and temporal validation on historical series, in addition to Out-of-Time partitioning evaluation in two experimental scenarios: Cold Start and Warm Start. In the initial analysis, the incorporation of brand history reduced the MAE from 28.93 to 13.91 units. In a complementary analysis with an independent test, the reduction remained significant, from 27.37 to 15.00 units, and was statistically significant (p < 0.001). However, the warm start performance did not differ significantly from the simple average, whose MAE was 14.71 units (p = 0.405). The results confirmed the importance of brand history but did not demonstrate the superiority of LightGBM over the simple rule by MAE. Variable importance analysis indicated a predominance of seasonal and economic factors, especially launch month and product cost. It was concluded that LightGBM showed potential as a decision support tool in the fashion sector, although the future incorporation of behavioral, climatic, and visual data could expand its predictive capability.

Keywords: machine learning; erp data; gradient boosting; artificial intelligence; sales forecasting.

1. Introduction

The fashion industry is globally recognized as one of the most dynamic and competitive economic sectors, moving a market of three trillion dollars and representing two percent of the world’s Gross Domestic Product (Akram et al., 2022). In Brazil, the segment also demonstrates expressiveness, with total sales of 124.5 billion reais in 2018 (Bessa, 2021). However, this sector operates under a persistent challenge: sales forecasting.

The challenges inherent in sales forecasting in fashion are characterized by high volatility and demand uncertainty (Bessa, 2021). This volatility is influenced by a variety of exogenous factors, such as fashion trends, weather conditions, promotions, and macroeconomic variables (Bessa, 2021; Flessas and Ribeiro, 2015). Additionally, the industry is marked by the short product life cycle, especially for more fashionable items, resulting in a low volume of historical data available for forecasting (Bessa, 2021).

The difficulty in accurately forecasting sales in the fashion industry leads to a series of operational and financial inefficiencies (Bessa, 2021). Inaccurate forecasts can lead to increased inventory levels, generating storage and obsolescence costs, as well as higher numbers of markdowns and promotions that reduce financial margins. They can also cause stockouts, resulting in lost sales and customer dissatisfaction, and exacerbating the bullwhip effect in the supply chain (Batista, 2017; Bessa, 2021).

Historically, sales forecasting in fashion was based on traditional statistical methods, such as the Box-Jenkins methodology and exponential smoothing (Batista, 2017; Bessa, 2021; Swaminathan and Venkitasubramony, 2024). However, these methods often prove insufficient, as they require large datasets and demonstrate limitations in discovering complex and non-linear patterns, which are essential elements in the fashion industry (Bessa, 2021; Schirripa, 2023; Swaminathan and Venkitasubramony, 2024).

The introduction of new products represents a unique challenge, known as the Cold Start problem, due to the absence of historical sales data (Bessa, 2021). In this scenario, forecasting relies on the analysis of product features and attributes, seeking common patterns between new and old items (Bessa, 2021). Therefore, strategies based on Machine Learning and Artificial Intelligence have emerged, proving capable of handling data complexity and non-linearity (Schirripa, 2023; Swaminathan and Venkitasubramony, 2024).

Gradient boosting algorithms, such as LightGBM, have stood out as powerful tools for capturing the particularities of consumer behavior and industry trends. They surpass traditional methods in speed and memory efficiency, crucial factors in the fashion environment, characterized by high variety and data volume. LightGBM’s robustness justifies its choice as a feature-based predictive model, given its ability to efficiently handle categorical data, large volumes of information, and non-linear relationships, allowing for high-accuracy prediction of the probability of ordering a product and overcoming the Cold Start challenge (Bessa, 2021; Schirripa, 2023).

Despite the advances, there is still a gap in the academic literature, especially at the national level, in studies that deeply evaluate the performance of machine learning algorithms in sales forecasting for new fashion collection items (Bessa, 2021). The relevance of this study lies in the fact that the development of accurate models allows companies to reduce inventory investment, minimize loss due to obsolescence, increase contribution margins, and achieve a more efficient supply chain. In view of these challenges and the identified gap, the main objective of this work is to evaluate the effectiveness of the LightGBM algorithm in forecasting the sales quantity of new products in a fashion collection.

2. Material and Methods

The present research was characterized as an applied case study, with a predominantly quantitative approach. The objective was to develop a solution for the problem of sales forecasting in the fashion industry, through the application of data science and machine learning tools. For the development of the predictive model, the CRISP-DM (Cross Industry Standard Process for Data Mining) methodology was used, which systematizes the stages in a non-linear and iterative process (Chapman, P. et al. 2000).

The CRISP-DM methodology comprises six main phases: business understanding, data understanding, data preparation, modeling, evaluation, and deployment. This flexible and adaptable structure allowed for revisions and returns between phases, favoring continuous project improvement and the achievement of applicable solutions with greater efficiency (Chapman, P. et al. 2000).

The data used in this work were collected through SQL queries in an enterprise resource planning (ERP) system database. This system is used by several companies in the apparel and fashion sector. To ensure the confidentiality of the companies involved, the dataset was duly anonymized.

The database was structured with Product-Collection-Color granularity, where each record represented the consolidated result of sales of a specific item within a collection and color. The target variable defined for forecasting was `total_lifecycle_sales`, which corresponds to the total quantity of units sold of a product, summing all its sizes, during its complete lifecycle.

In the business understanding phase, the sales forecasting problem for new products, which do not have a sales history at the time of forecasting, was defined. Data understanding involved the collection and exploration of 14 initial variables, including the target variable and a set of features, categorized as numerical, categorical, temporal, and mixed.

The data preparation stage included the removal of non-adherent variables from the ERP, data cleansing and processing, with the removal of rows with a null target variable and imputation of missing data in predictive features. Feature engineering was performed to structure new variables and refine existing ones.

Categorical variables were processed with LightGBM’s native encoding, which allows the algorithm to identify categorical columns to optimize internal splits. This approach avoids the increase in dimensionality and excessive sparsity, common in methods like One-Hot Encoding (Ke, G. et al. 2017).

For the `category` variable, it was constructed from the original `family` and `group` variables. Classes with a frequency lower than ten records were consolidated into a residual category named ‘OTHER’, resulting in 19 categories. The `color` variable underwent normalization to standardize inconsistent spellings and a secondary color variable was created to handle composite colors, grouping the least frequent ones into ‘Other’ (Kuhn, M., Johnson, K. 2013).

The `id_cliente_erp` variable was kept without aggregation, due to the distinct characteristics of each company. The `categoria_marca` variable was created, segmenting brands by market positioning (Premium, Niche, and Popular), and the `estacao_colecao` variable to capture seasonality.

The temporal dimension was handled using the date of the first sale for chronological ordering of the items. This variable was decomposed into two cyclical variables, `mes_lancamento_sin` and `mes_lancamento_cos`, to capture the periodicity of the months, and the year information was removed to ensure the timeless applicability of the model.

The `composition` variable was refined to consider only the composition of the main piece, creating individualized numerical variables for each textile fiber with its proportion. Fibers with low representativeness, such as Lyocell, Polyurethane, and Linen, were consolidated into ‘Other Fibers’ to mitigate sparsity (Kuhn, M., Johnson, K. 2013).

Records without information on textile composition were excluded to preserve the integrity of the forecasts. For the variables `preco_cheio`, `custo_produto`, and `markup`, individualized imputation techniques were applied per company and product category, using the historical average sales price from the ERP and the median of the margin factor.

Pearson correlation analysis identified high multicollinearity between `Product Cost` and `Full Price`. The decision was made to exclude the `Full Price` variable from the database to align the model with operational reality and preserve interpretability (Hastie, T. et al. 2009; Kuhn, M., Johnson, K. 2013). The presence of outliers in the financial variables was observed, but decision tree-based algorithms are robust to these extreme values (Hastie, T. et al. 2009).

In the modeling phase, the LightGBM algorithm was implemented to predict the `total_lifetime_sales` variable. Hyperparameter optimization was performed using the automated “stepwise” approach of LightGBMTunerCV, a component of the Optuna framework (Akiba, T. et al. 2019). The adjusted parameters included `feature_fraction`, `num_leaves`, `bagging_fraction`, `bagging_freq`, `lambda_l1`, and `lambda_l2`.

The Tweedie Regression loss function was adopted, suitable for non-negative variables with a mass at zero and continuous positive values, characteristic of sales in the textile sector (Jørgensen, B. 1997). The robustness of the optimization was ensured by Expanding Window Time Series Cross-Validation (Time Series Split with five partitions), preserving the chronological order of the releases.

The performance evaluation used chronological “Out-of-Time” (OOT) partitioning, separating the past (training) from the unseen future (testing). Two experimental scenarios were configured: Cold Start, to evaluate predictive capability in simultaneous launches and new brands, and Warm Start, to simulate incremental learning with the brand’s own history.

The evaluation metrics employed were the Root Mean Squared Error (RMSE), the Mean Absolute Error (MAE), and the coefficient of determination (R²). Performance differences were assessed using the Wilcoxon non-parametric test, with 95% confidence intervals estimated by paired bootstrap with 20,000 resamples. Bias was analyzed by the mean error, and an exploratory economic approximation was performed by multiplying the aggregated difference of absolute errors by the average unit cost of the products.

All data processing, from exploratory analysis to modeling and evaluation, was conducted in the Python programming language. Libraries such as Pandas for data manipulation, Numpy for numerical operations, Scikit-learn for data splitting and metric calculation, LightGBM for algorithm implementation, Optuna for hyperparameter optimization, and Matplotlib and Seaborn for data visualization were used.

3. Results and Discussion

The exploratory analysis of the data, obtained from an ERP system, revealed the inherent heterogeneity in the databases of different companies. To standardize and optimize product representation, the variable “category” was constructed from the original variables “family” and “group”. This approach allowed grouping items such as blouses, pants, and jackets, which had distinct registration structures across companies. The distribution of this new variable showed a long-tail pattern, where a significant portion of the 23 classes (21.7%) held fewer than ten observations, which could introduce noise and favor model overfitting (Zheng and Casari, 2018).

To mitigate the long-tail problem in the “category” variable, classes with a frequency lower than ten records, totaling five, were consolidated into a residual category named ‘OTHER’. This restructuring resulted in 19 final categories, optimizing the data dimensionality for model training. Similarly, the “color” variable required a normalization process to correct filling inconsistencies, unifying distinct spellings such as “.BLACK”, “BLACK”, and “BLACK” into a single standard. Furthermore, for composite colors, such as “BLACK AND WHITE”, a secondary color variable was created, decomposing the item into main color (“BLACK”) and secondary color (“WHITE”).

This strategy of decomposing and normalizing the “color” variable was crucial to avoid excessive fragmentation of categories, a problem that can lead to low statistical representativeness and increase modeling complexity, harming the generalization ability of predictive algorithms (Kuhn and Johnson, 2013). The analysis of the distribution of the main_color and secondary_color variables, focusing on the ten most frequent colors and grouping the rest into “Others”, confirmed the high variability of the product palette in fashion retail, justifying the need for these interventions in data preprocessing.

The diagnosis of the Main Color variable revealed 117 distinct classes, of which 63 (53.8%) had fewer than ten registered products in the history. The Secondary Color exhibited analogous behavior, with 61.4% of its 83 classes representing exceptions of low representativeness. In response to this asymmetry, the same grouping strategy was applied into an “Others” category, resulting in 55 classes for main_color and 33 for secondary_color. This consolidation was essential to ensure model robustness and prevent rare classes from introducing excessive noise in the training.

The id_cliente_erp variable showed a strong imbalance, with most records belonging to the company ‘Tiger’. However, no aggregation was performed for this variable, as the operational characteristics of each company are unique, and aggregation could hide crucial information for model evaluation in specific client scenarios. Similarly, the nome_marca variable also presented imbalance, with the Tiger company operating with more than one brand (TIG and JANA).

Despite the imbalance, the decision was made to keep the classes of the “nome_marca” variable, considering the particularities of each brand. LightGBM, by its nature, natively handles categorical variables, seeking efficient divisions between categories during tree construction, which minimizes the need for prior manual groupings (Ke et al., 2017). From this variable, “categoria_marca” was created, segmenting brands by market positioning (Premium, Niche, and Popular), a classification provided by industry experts. This semantic feature aims to improve the prediction of new products in “Cold Start” scenarios, where untrained brands can have their market positioning defined.

The collection seasonality variable was created to provide the model with semantic seasonality information, ensuring the correct categorization of each collection into Spring-Summer or Autumn-Winter. The original “collection” variable was excluded to prevent the model from “memorizing” the sales history of specific campaigns, which would be useless for predicting new releases. The date of the first sale was used for chronological ordering of items, and subsequently decomposed into cyclic variables mes_lancamento_sin and mes_lancamento_cos, allowing the model to capture the periodicity of months continuously and interpret December and January as close periods.

The removal of year information was equally necessary, preventing the model from creating static decision rules tied to past years, which would compromise its generalization ability for future campaigns. This architecture forces the model to base its predictions on universal product characteristics (textile composition, price) and cyclical consumption behavior (season and launch months), ensuring its timeless applicability. The “composition” variable also underwent refinement, with the creation of individualized numerical variables for each textile fiber and its respective proportion, allowing the model to identify specific patterns related to the raw material.

Sparsity analysis of the fiber variables revealed that Lyocell, Polyurethane, and Linen showed almost zero isolated statistical representativeness, with over 99% of values equal to zero. Predictors with high sparsity can impair model performance (Kuhn and Johnson, 2013). To preserve the integrity of the database, instead of removing these columns, the quantities of Lyocell, Polyurethane, and Linen were consolidated into a new derived variable, ‘Other Fibers’, replacing three high-sparsity attributes with a single consolidated grouping. Products without information on textile composition were excluded to avoid distortions and ensure the integrity of the predictions.

For the full price, product cost, and markup variables, it was essential to apply imputation techniques to fill in missing data, as not all products in initial development have a finalized cost analysis in the ERP. The imputation strategy was individualized by company and product category, respecting the commercial rules and pricing strategies of each client. The historical average selling price served as an aid to impute the full price, calculating an adjustment factor between the full price and the average selling price, and applying the median of this factor by category and company.

The markup was calculated for products with available price and cost values, and for the other records, the average markup observed in the respective category and company was used. The cost price was then obtained by dividing the full price (imputed or original) by the category’s markup. The analysis of the distribution of continuous numerical variables revealed a critical redundancy between Product Cost and Full Price (r = 0.94). Although decision tree-based algorithms, such as LightGBM, are robust to multicollinearity, the presence of highly correlated predictors can reduce interpretability (Kuhn and Johnson, 2013).

To align the model with the industry’s operational reality, where cost and markup are defined before the final price, the decision was made to exclude the Full Price variable from the database, preserving the profit margin information and the model’s explainability. The presence of outliers in the Cost and Markup variables was identified, but it did not significantly impact LightGBM’s learning, as these methods perform partitioning by splitting rules and are more robust to the presence of extreme values in the predictor variables (Hastie et al., 2009).

The target variable, total_life_cycle_sales, showed a strongly non-normal distributive behavior, with pronounced positive asymmetry (Skewness = 3.33) and extremely high kurtosis (Kurtosis = 24.78). This heavy right-tailed distribution, driven by “best-sellers” (products with exponentially higher sales than the average), justified the application of Tweedie Regression. The Tweedie loss function natively accommodates zero inflation and variance proportional to the mean, allowing the algorithm to learn directly on the original scale of sold units, optimizing predictions for low-output and high-volume products.

The data partitioning step was adapted to the temporal heterogeneity of the companies’ portfolio, using an Out-of-Time (OOT) validation in two experimental scenarios. Scenario 1, named Cold Start, evaluated the model’s predictive capacity for simultaneous launches and an unprecedented brand. The most recent collections from all brands were isolated in the test set, including MIELLE (‘ORG COLECAO 100’ and ‘ORG COLECAO 101’), which was subjected to an absolute Cold Start condition, with no data in the training.

Scenario 2, or Warm Start, simulated the maximum learning limit of the algorithm with a global chronological cut-off. The ‘ORG COLLECTION 101’ collection (MIELLE), the latest release in the portfolio, was isolated as the sole target of the test set. All other collections, including the recently acquired MIELLE history (‘ORG COLLECTION 100′) and the test collections from the previous scenario, were consolidated into the training set. This experimental design allowed for a direct comparative analysis of the performance gain of the MIELLE company when transitioning from a scenario without history to a scenario with prior learning of the companies’ ecosystem.

The initial results on the test set demonstrated the viability of Tweedie distribution-based regression for sales modeling. The variance power (tweedie_variance_power), empirically optimized by the algorithm, showed better performance in the range of 1.5 to 1.9, indicating that the empirical distribution of sales is compatible with processes intermediate between the Poisson distribution and the Gamma distribution. In Scenario 1 (Cold Start), the model achieved a Mean Absolute Error (MAE) of 28.93 units for the MIELLE brand, with no prior history.

When fed with the brand’s first historical collection in Scenario 2 (Warm Start), the MAE error experienced an expressive reduction to 13.91 units, indicating that the LightGBM algorithm was able to learn brand-specific patterns, such as average sales level and price positioning, adjusting projections with a managerially acceptable error. To validate the model’s practical utility, a comparative experiment was conducted with a naive approach (baseline), which used the average units sold from the previous collection as an estimate.

In this initial analysis, the simple average resulted in an MAE of 14.71 pieces, an RMSE of 21.90 pieces, and an R² of -0.142. LightGBM in the Warm Start scenario presented an MAE 0.80 pieces lower than the simple average, which corresponded to a point reduction of 5.44%. However, the Wilcoxon test did not indicate a statistically significant difference between the absolute errors of the strategies (p = 0.333), and the 95% confidence interval for the MAE reduction, from -0.17 to 1.78 pieces, included zero, not evidencing a clear statistical advantage of LightGBM over the simple average in this context.

In an additional robustness experiment, keeping the MIELLE collection 101 as a common test, LightGBM Cold Start obtained an MAE of 27.37 pieces, while Warm Start achieved 15.00 pieces. This reduction of 12.37 pieces, or 45.2%, was statistically significant (p < 0.001), with a 95% confidence interval between 10.40 and 14.33 pieces. This result reinforces the importance of the availability of the brand’s own history for improving predictive performance.

However, compared to the simple average, which presented an MAE of 14.71 pieces, LightGBM’s Warm Start (MAE of 15.00 pieces) did not demonstrate statistically significant superiority (p = 0.405; 95% CI: -1.41 to 0.85). Although LightGBM achieved a lower RMSE, the MAE metric, which is more tangible for managerial interpretation, did not confirm a clear advantage. The observed benefit, therefore, mainly stems from overcoming the Cold Start problem, rather than from a general superiority over the simple baseline.

The coefficient of determination (R²) was negative for the Cold Start scenario of MIELLE (-1.499) and positive for the Warm Start (0.025). A negative R², in the classical statistical context, indicates that the model performed worse than a constant prediction based on the global average of the target variable. However, in fashion portfolios, with strong asymmetry and long tails, R² in isolation can be limited, as it quadratically penalizes residuals, being strongly influenced by punctual deviations in high-turnover products, even when the model performs well on most of the portfolio.

The Tweedie loss function, in turn, seeks to minimize a function compatible with asymmetric distributions and high dispersion, prioritizing robust predictions for the main mass of products. Thus, the reduction in MAE suggests the operational utility of the model, while the negative R² in Cold Start reflects the difficulty of generalization without brand history and the limitations of this traditional metric in the face of heterogeneous and highly dispersed distributions, characteristic of the fashion sector.

The analysis of “gain importance” in LightGBM, which measures the contribution of each variable to the improvement of node splits during training, revealed that seasonality variables (MÊS_LANCAMENTO_COS and MÊS_LANCAMENTO_SIN) were consistently the main factors in both scenarios. This suggests that the time of year the item is released is a crucial determinant for sales forecasting in the fashion industry, outperforming other physical product characteristics.

The PRODUCT_COST emerged as the third most important force consistently, indicating that the model understands the strong link between sales viability and the piece’s production cost. On the other hand, variables such as BRAND_NAME, ERP_CLIENT_ID, BRAND_CATEGORY, and OTHER_FIBERS_QTY showed less predictive importance. This suggests that brand strength in B2B/ERP retail may not influence the piece’s sales as much as cost, time of year, and color, from the retailer’s perspective.

The low importance of the BRAND_NAME variable does not imply that the brand’s history is irrelevant. The gain observed in the Warm Start scenario, with the inclusion of examples from MIELLE itself, allowed the model to better calibrate the cost, seasonality, category, and sales patterns specific to this company. This demonstrates that, although the direct brand identifier may have few divisions in the model, the accumulated learning about the brand’s previous sales patterns is fundamental to improving projections.

The algorithm’s failure to fully capture data variability raises a discussion about the sufficiency of explanatory variables from standard transactional systems (ERP). The variables used, such as fiber composition, colors, product category, costs, and markup, represent tangible and structural characteristics of the items. However, the literature on textile sales forecasting indicates that fashion sales are strongly influenced by exogenous and behavioral variables, which are often absent in traditional ERP databases (Nenni et al., 2013; Thomassey, S. 2014).

Factors such as aesthetic appeal, adherence to market trends, investment in marketing and media, digital influence, brand positioning, and conjunctural macroeconomic and climatic conditions are examples of behavioral and market information that the current model, based exclusively on ERP data, cannot capture. This limitation helps explain the model’s difficulty in predicting sharp sales peaks, although it is useful for predicting base and replenishment demand, with a MAE of 13.91 units in the initial analysis and 15.00 units in the Warm Start of the independent verification.

As a continuation of this work, the integration of new data sources and artificial intelligence techniques is proposed to expand the explanatory power of the predictive system. Opportunities include “Social listening” for collecting sentiments and trends on social networks, data from commercial campaigns (media investment, promotions), image recognition to extract visual features (modeling, length, texture, prints), and advanced Deep Learning models, such as deep neural networks and multimodal architectures that combine tabular, temporal, and image data. The incorporation of computer vision, in particular, has high strategic potential in the fashion sector, as it allows subjective design attributes to be transformed into quantitative variables, bringing the analytical model closer to consumer perception at the time of purchase.

In summary, the research demonstrated that the LightGBM algorithm has potential as a decision support tool in the fashion industry, especially when there is prior brand history, resulting in a significant reduction in Mean Absolute Error in the Warm Start scenario. However, the superiority of LightGBM over a simple average rule was not statistically proven by MAE. Seasonal factors and product cost were identified as the most important predictors, while the absence of behavioral and exogenous data in ERP systems limited the model’s ability to capture the totality of sales variability, pointing to the need for future data integrations to improve predictive accuracy.

4. Conclusion

The study evaluated the effectiveness of the LightGBM algorithm in predicting the sales quantity of new products in fashion collections, a persistent challenge due to the volatility and short lifecycle of items. It was found that the algorithm demonstrated potential as a decision support tool in the sector, especially when there was prior brand history. In the initial analysis, the incorporation of brand history resulted in a significant reduction of the Mean Absolute Error (MAE) from 28.93 to 13.91 items. In a complementary robustness analysis, the reduction of MAE from 27.37 to 15.00 items was statistically significant. However, LightGBM’s performance in the Warm Start scenario did not show statistically significant superiority over the simple average rule, whose MAE was 14.71 items. The analysis of variable importance indicated that seasonal factors, such as the launch month, and economic factors, such as product cost, were the most relevant predictors.

The study’s main contribution lies in demonstrating that machine learning models, such as LightGBM, can offer valuable support for purchasing, production, and commercial planning decisions in the fashion industry by reducing the error in new product sales forecasting. However, the model’s ability to fully capture sales variability was limited by its exclusive reliance on structured data from ERP systems, which do not include behavioral, climatic, or visual information. This limitation suggests that, to enhance predictive accuracy and the ability to forecast sales peaks, future integration of new data sources, such as “social listening,” commercial campaign data, and image recognition, is recommended, in addition to applying advanced Deep Learning models and multimodal architectures.

Bibliographic References

Akiba, T.; Sano, S.; Yanase, T.; Ohta, T.; Koyama, M. 2019. Optuna: A Next-Generation Hyperparameter Optimization Framework. Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Anchorage, 2623-2631.

Akram, S. V. Malik, P. K.; Singh, R.; Gehlot, A.; Juyal, A.; Ghafoor, K. Z.; Shrestha, S. 2022. Implementation of digitalized technologies for fashion industry 4.0: Opportunities and challenges. Scientific Programming volume 2022(1): 7523246.

Batista, V. C. 2017. Previsão de vendas: um estudo no varejo de vestuário. Dissertação (Mestrado em Engenharia de Produção) – Escola de Engenharia, Universidade Federal do Rio Grande do Sul, Porto Alegre, RS, Brasil.

Bessa, A. B. 2021. Ensaios sobre previsão de vendas no varejo de moda. Tese (Doutorado em Administração de Empresas) – Escola de Economia de São Paulo, Fundação Getulio Vargas, São Paulo, SP, Brasil.

Chapman, P.; Clinton, J.; Kerber, R.; Khabaza, T.; Reinartz, T.; Shearer, C.; Wirth, R. (2000). CRISP-DM 1.0: Step-by-step data mining guide. SPSS Inc.

Flessas, M.; Ribeiro, J. L. D. 2015. Implantação de modelo de previsão de demanda em uma microempresa de vestuário. Trabalho de Conclusão de Curso (Graduação em Engenharia de Produção) – Universidade Federal do Rio Grande do Sul, Porto Alegre, RS, Brasil.

Hastie, T.; Tibshirani, R.; Friedman, J. 2009. The Elements of Statistical Learning: Data Mining, Inference, and Prediction. 2. ed. Nova York: Springer.

Jørgensen, B. 1997. The Theory of Dispersion Models. London: Chapman & Hall.

Ke, G., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., Ye, Q., Liu, T.-Y. 2017. LightGBM: A highly efficient gradient boosting decision tree. Advances in Neural Information Processing Systems, 30, 3146–3154.

Kuhn, Max; Johnson, Kjell. Applied predictive modeling. Nova York: Springer, 2013.

Nenni, M. E., Giustiniano, L., Pirolo, L. 2013. Demand Forecasting in the Fashion Industry: A Review. International Journal of Engineering Business Management, v. 5, p. 37. DOI: 10.5772/56840.

Schirripa, M. 2023. Evaluating the efficacy of gradient boosting algorithms in retail demand forecasting: a case study of Triumph International. Work Project (Master in Business Analytics) – Nova School of Business and Economics, Universidade Nova de Lisboa, Carcavelos, Portugal.

Swaminathan, K.; Venkitasubramony, R., 2024. Demand forecasting for fashion products: A systematic review. International Journal of Forecasting volume 40(1): 247-267

Thomassey, S. 2014. Sales Forecasting in Apparel and Fashion Industry: A Review. In: CHOI, T.-M.; HUI, C.-L.; YU, Y. (Eds.). Intelligent Fashion Forecasting Systems: Models and Applications. Berlin, Heidelberg: Springer. p. 9-27

Zheng, Alice; Casari, Amanda. Feature Engineering for Machine Learning: Principles and Techniques for Data Scientists. Sebastopol, CA: O’Reilly Media, 2018.

Article originating from the Final Course Project of the Specialization in Data Science and Analytics of the MBA USP/Esalq

To learn more about the course, click here and access the MBX Academy platform

You may also like

November 17, 2026

Detection and Diagnosis of Diseases in Corn and Rice in Mozambique with Deep Learning

Mozambican agriculture depends on corn and rice, fundamental crops for food security, but their productivity is strongly affected by phytosanitary diseases, whose early and accurate identification remains a challenge in resource-limited contexts. The study aimed to develop and compare Deep Learning-based models for the automatic detection and diagnosis of diseases in corn and rice leaves in Mozambique. Three approaches were used: a classic Convolutional Neural Network (CNN) developed from scratch, and two transfer learning models, ResNet50 and MobileNetV2. The dataset consisted of images from public databases and collected in the field, which underwent cleaning, balancing, and artificial augmentation steps. The models were trained and evaluated with standard performance metrics, including accuracy, precision, recall, F1-score, Log Loss, and Cohen’s Kappa. The classic CNN presented the best overall performance, with 94% precision, recall, and F1-score, and 93% accuracy and Cohen’s Kappa. MobileNetV2 achieved 91% F1-score and 90% accuracy, standing out for its lower Log Loss (0.30) and training time (6h32min59s). ResNet50 reached 80% F1-score and 79% accuracy. It was concluded that Deep Learning techniques have high potential to support phytopathological diagnosis in real agricultural contexts, contributing to faster and more accurate decisions in the management of corn and rice diseases.

Keywords: Deep learning; Rice; Plant diseases; Corn; Computer vision.

November 17, 2026

Artificial intelligence in accounting operational routines and financial efficiency

The incorporation of Artificial Intelligence (AI) and automation tools has reconfigured the routines of Brazilian accounting offices, impacting productivity, error mitigation, and financial efficiency. These impacts were analyzed in a small accounting firm, specialized in serving service providers in the medical field in São Caetano do Sul, São Paulo. The research adopted a qualitative approach, with a single case study design and incorporated units of analysis. Data were collected through a structured questionnaire, applied via Google Forms between January and February 2026, to five professionals in the operational structure of the firm in a census survey. The treatment followed content analysis with a priori and emergent categories. All respondents declared the use of automated tools or tools with AI resources. The perception of reduced execution time, decreased operational errors, rework, and better use of the team’s time converged in 80% of affirmative responses and 20% partial responses. The most benefited activities were bank reconciliation, import of fiscal documents, and tax assessment, with visible gains on typing errors, duplicate entries, and incorrect classification. Human intervention remained indispensable in tax planning, scenario analysis, and verification of ancillary obligations. The overall evaluation of AI’s contribution was predominantly favorable, with moderation linked to the complexity of fiscal regulations.

Keywords: Content analysis; Process automation; Accounting 4.0; Small business; Digital transformation.

November 17, 2026

Factors influencing schedule management in sewage treatment plant “retrofit” projects

Projects involving “retrofit” in Sewage Treatment Plants (STP) are characterized by high complexity, operational restrictions, and multiple technical interfaces. The study analyzed the perception of the professionals involved regarding the management and adherence to deadlines in “retrofit” projects for sewage treatment plants, considering technical, operational, and organizational factors. The research was characterized as an applied study, with a quali-quantitative approach, designed as a field survey. Data analysis was performed using descriptive statistics and qualitative categorization, employing SWOT, risk matrix (Probability x Impact), and 5W2H action plan tools. The results indicated a high perception of clarity (77.8%) and realism of deadlines (100% agreement), evidencing consistent initial planning. However, 77.7% of respondents pointed out that rework and scope changes directly impacted deadline adherence. The integration between engineering, manufacturing, and Production Planning and Control (PPC) showed an intermediate evaluation (77.7% partial/total agreement), indicating fragility in interfunctional coordination. The risk matrix highlighted as critical: scope changes, operational limitations of the STP, and technical complexity, all with a high level. As a central improvement, the standardization of scope change control, analysis, and approval was proposed, aiming to reduce rework and increase schedule predictability.

Keywords: Performance; Integration; Planning; Rework; Risk.

November 17, 2026

B2C Acquisition in diagnostic medicine: strategic partnerships with specialized medical offices

The diagnostic medicine sector in Brazil operates with high dependence on health plan providers, which limits the financial autonomy of service providers. This study proposed and analyzed a direct patient acquisition model (B2C) for a highly complex diagnostic medicine institution, structured through partnerships with Oncology and Cardiology practices and operationalized by a personalized customer service called concierge. The investigation adopted a mixed-methods approach in three phases: a field survey with a structured questionnaire applied to 87 patients, mapping of the operational flow using “Service Blueprint”, and analysis of the conversion rate from 312 medical referrals registered in the pilot project. The results indicated that trust in medical referral achieved 92.0% agreement, establishing itself as the main factor for adherence. The convenience of performing the exam on the same day reached 78.2%, and the willingness to pay directly was 55.2%, with polarization associated with the predominance of health plan users. The “Service Blueprint” identified three critical points in the transitions between stages of the patient journey. The overall conversion rate was 51.0%, with superior performance in Oncology (58.2%) compared to Cardiology (45.0%), and the greatest loss was concentrated in the acceptance and scheduling stage (28.3%). It was concluded that the model demonstrated possible operational viability and indications of patient acceptance, conditioned by price transparency and a reduction in the interval between consultation and approach by the concierge.

Keywords: Direct payment; Patient journey; Supplementary health; Concierge service; Conversion rate.

November 17, 2026

The role of the school manager in promoting an inclusive culture: leadership and educational policies

The research analyzed the school manager’s performance in promoting an inclusive culture, considering the need to transform legal guidelines and pedagogical foundations into effective institutional practices. It was assumed that school inclusion requires planning, organization, and strategic leadership in the school’s daily operations. A qualitative approach of an applied nature was adopted, developed in three complementary stages: documentary analysis of Brazilian legislation on inclusive education, bibliographic review on school leadership and management, and data systematization using management tools such as SWOT analysis and the PDCA cycle. The results indicated that the school management’s performance directly influenced the consolidation of inclusive environments, especially in the organization of processes, continuous team training, and strengthening of a collaborative institutional culture respectful of diversity. Structural, pedagogical, and relational challenges that demanded planned interventions were also identified. Finally, a Practical Guide for School Managers was developed, with guidelines, protocols, and operational orientations for decision-making and the organization of inclusive processes. It was concluded that the construction of an inclusive culture depended on the management’s ability to articulate public policies, pedagogical practices, and institutional processes, consolidating inclusion as a permanent commitment in the school context.

Keywords: educational accessibility; educational equity; participatory management; strategic planning; institutional processes.

November 17, 2026

An AI artifact based on Design Thinking to support the elicitation of software requirements from user needs

The development of software oriented to user needs frequently faces challenges in requirements elicitation, stemming from ambiguities in natural language and communication failures. Given this, an intelligent artifact integrating Design Thinking and Artificial Intelligence was proposed and validated, focusing on the Empathy and Definition stages, to support the collection, interpretation, and structuring of user needs. The research, of an applied, qualitative, and exploratory nature, conducted a Proof of Concept in a controlled environment, employing hypothetical scenarios. The artifact operated through guided natural language interviews, organizing information into elements such as pain points, context, and impact, and generating traceable problem syntheses. The results indicated that the system organized unstructured reports, reduced ambiguities, and preserved the meaning of the original information in most cases. The ability to reorganize logically in complex scenarios was also observed, although with limitations in separating multiple problems and dependence on instructions. It was concluded that the artifact has potential as a support for requirements elicitation, improving the clarity and structuring of information, but requires supervision and contextual control.

Keywords: Design Thinking; Requirements Elicitation; Requirements Engineering; Artificial Intelligence; Natural Language Processing.

November 17, 2026

The Extinction of the Monophasic Tax System in the Pharmaceutical Industry in Light of the Tax Reform

The consumption Tax Reform, established by Constitutional Amendment No. 132/2023, introduced structural changes to the Brazilian tax system, with the replacement of the Social Integration Program (PIS) and the Social Security Financing Contribution (COFINS) by the Contribution on Goods and Services (CBS), in a dual Value Added Tax (VAT) model. The objective was to analyze the impacts of the extinction of the single-stage system on the pharmaceutical industry, in light of the new regulatory design and its economic and legal effects. A qualitative, exploratory research was conducted through a case study and documentary analysis of legislation and specialized doctrine. It was examined whether the end of the single-stage system would imply a relevant increase in the tax burden for the sector. The results indicated that, although the formal overcoming of the single-stage system has occurred, the material exemption of medicines has been preserved, mainly due to the application of reduced rates of 60% and, in certain cases, a zero rate of the Tax on Goods and Services (IBS) and CBS. The change in model may cause occasional variations in revenue collection, without characterizing a structural increase in the tax burden, tending towards neutrality over time. It was preliminarily concluded that the Tax Reform reorganized the taxation technique in the pharmaceutical industry, replacing a concentrated regime with more transparent exemption mechanisms. This approach proved compatible with the principles of neutrality, full non-cumulativeness, and fiscality, maintaining tax protection for essential medicines and aligning fiscal policy with the fundamental right to health.

Keywords: CBS; COFINS; IBS; Dual VAT; PIS.