add predict module
Merge remote-tracking branch 'origin/master'
support choosing different algorithm to predict