Skip to content

Commit

Permalink
truncated feature needs to be run many times to average
Browse files Browse the repository at this point in the history
  • Loading branch information
Lht97 committed Dec 10, 2024
1 parent 6986ca7 commit a29ddfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/profile_optiprofiler.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function profile_optiprofiler(options)
options.labels(strcmp(options.labels, 'fminunc')) = {strcat('fminunc-adaptive-1e-', int2str(int32(-log10(options.noise_level))))};
end
if ~isfield(options, 'n_runs')
if strcmpi(options.feature_name, 'plain') || strcmpi(options.feature_name, 'truncated') || strcmpi(options.feature_name, 'quantized')
if strcmpi(options.feature_name, 'plain') || strcmpi(options.feature_name, 'quantized')
options.n_runs = 1;
else
options.n_runs = 3;
Expand Down

0 comments on commit a29ddfc

Please sign in to comment.