HAMA-770: revise trainByInstance
HAMA-770: add converge check