Add grid search for finding the optimal parameters of linear svc.