model select writes one param set per line. updated to use average_precision