HAMA-681: fix the returned updated weight for trainByInstance