Fast parameter optimization with randomized search