why the first predict() returns float value? I think it should return void.