Automated algorithm configuration