Skip to content

Commit

Permalink
added Unknown distribution and convertDistribution in suggestion client
Browse files Browse the repository at this point in the history
added unit tests

Signed-off-by: Shashank Mittal <[email protected]>
  • Loading branch information
shashank-iitbhu committed Aug 15, 2024
1 parent 51b246f commit 3a3540e
Show file tree
Hide file tree
Showing 7 changed files with 261 additions and 96 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ const (
DistributionLogUniform Distribution = "logUniform"
DistributionNormal Distribution = "normal"
DistributionLogNormal Distribution = "logNormal"
DistributionUnknown Distribution = "unknown"
)

// TrialTemplate describes structure of trial template
Expand Down
160 changes: 82 additions & 78 deletions pkg/apis/manager/v1beta1/api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pkg/apis/manager/v1beta1/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ enum Distribution {
LOG_UNIFORM = 1;
NORMAL = 2;
LOG_NORMAL = 3;
DISTRIBUTION_UNKNOWN = 4;
}

/**
Expand Down
Loading

0 comments on commit 3a3540e

Please sign in to comment.