finalize cosine scorer params