Sales Forecasting with LSTM, Custom Loss Function, and Hyperparameter Optimization: A Case Study

AudienciaPúblico en generales_ES
CoberturaMéxicoes_ES
Fecha de ingreso2026-09-15T00:29:49Z
Fecha de publicación2024-01-01
ResumenForecasting sales trends is a valuable activity for companies of all types and sizes, as it enables more efficient decision making to avoid unnecessary expenses from excess inventory or, conversely, losses due to insufficient inventory to meet demand. In this paper, we designed a personalized cost function to reduce economic losses caused by the excessive acquisition of products or derived from their scarcity when needed. Moreover, we designed an LSTM network integrated with Glorot and Orthogonal initializers and dropout to forecast sales trends in a lumber mill in Tamaulipas, Mexico. To generalize and appropriately forecast the sales of the lumber mill products, we optimized the LSTM network’s hyperparameters through a genetic algorithm, which was essential to explore the solution space. We evaluated our proposal in instances obtained from the historical sales of the five main products sold by the lumber mill. According to the results, we concluded that for our case study the proposed function cost and the hyperparameters optimization allowed the LSTM to forecast the direction and trend of the lumber mill’s product sales despite the variability of the products.es_ES
Doihttps://doi.org/10.3390/app14219957es_ES
URIhttps://riuat.uat.edu.mx/handle/123456789/1768
Idiomaeses_ES
EditorialMDPI AGes_ES
RelaciónApplied Scienceses_ES
URL relacionadohttps://doi.org/10.3390/app14219957es_ES
DerechosAcceso abierto (Metadatos de producción científica)es_ES
Licenciahttp://purl.org/coar/access_right/c_abf2es_ES
FuenteApplied Sciences
TítuloSales Forecasting with LSTM, Custom Loss Function, and Hyperparameter Optimization: A Case Studyes_ES
TipoArtículoes_ES
ArbitradoHa sido Arbitradoes_ES
AutorHurtado-Mora, Hyasseliny A.
AutorGarcía-Ruiz, Alejandro H.
AutorPichardo-Ramírez, Roberto
AutorGonzález-del-Ángel, Luis J.
AutorHerrera-Barajas, Luis A.
AutorHurtado-Mora, Hyasseliny A.es_ES
AutorGarcía-Ruiz, Alejandro H.es_ES
AutorPichardo-Ramírez, Robertoes_ES
AutorGonzález-del-Ángel, Luis J.es_ES
AutorHerrera-Barajas, Luis A.es_ES
InstituciónUniversidad Autónoma de Tamaulipas
InstituciónUniversidad Autónoma de Tamaulipases_ES
Número21es_ES
Rango de páginas9957es_ES
URL relacionadahttps://doi.org/10.3390/app14219957
Tipo de artículoIndexado
Tipo de artículoIndexadoes_ES
Volumen14es_ES

Files