Source code for comprehensive weighted color and texture available see the code page. Predicts next value of the time series using k nearest. Predicts values of the time series using k.