2022-04-062022-04-062021Melgar García, L., Gutiérrez Avilés, D., Rubio Escudero, C. y Troncoso, A. (2021). Nearest Neighbors-Based Forecasting for Electricity Demand Time Series in Streaming. En CAEPIA 2021: 19th Conference of the Spanish Association for Artificial Intelligence (185-195), Málaga, España: Springer.978-3-030-85712-70302-9743https://hdl.handle.net/11441/131791This paper presents a new forecasting algorithm for time series in streaming named StreamWNN. The methodology has two well-differentiated stages: the algorithm searches for the nearest neighbors to generate an initial prediction model in the batch phase. Then, an online phase is carried out when the time series arrives in streaming. In par-ticular, the nearest neighbor of the streaming data from the training set is computed and the nearest neighbors, previously computed in the batch phase, of this nearest neighbor are used to obtain the predictions. Results using the electricity consumption time series are reported, show-ing a remarkable performance of the proposed algorithm in terms of fore-casting errors when compared to a nearest neighbors-based benchmark algorithm. The running times for the predictions are also remarkableapplication/pdf11engAttribution-NonCommercial-NoDerivatives 4.0 Internacionalhttp://creativecommons.org/licenses/by-nc-nd/4.0/ForecastingNearest neighborsStreaming time seriesElectricity demandNearest Neighbors-Based Forecasting for Electricity Demand Time Series in Streaminginfo:eu-repo/semantics/conferenceObjectinfo:eu-repo/semantics/openAccesshttps://doi.org/10.1007/978-3-030-85713-4_18