add predict methods
add predict methods view
fix view