Implemented WEKA optimization on top of BPTF