Text this: An efficient modified HS conjugate gradient algorithm in machine learning