Data Mining Hub example algorithm