Skip to content

Commit

Permalink
[GSOC] added Unknown distribution and convertDistribution in suggesti…
Browse files Browse the repository at this point in the history
…on client (#2403)

* added Unknown distribution and convertDistribution in suggestion client

added unit tests

Signed-off-by: Shashank Mittal <[email protected]>

* removed custom compare func

Signed-off-by: Shashank Mittal <[email protected]>

---------

Signed-off-by: Shashank Mittal <[email protected]>
  • Loading branch information
shashank-iitbhu authored Aug 18, 2024
1 parent 4a385f5 commit 2f5bda2
Show file tree
Hide file tree
Showing 7 changed files with 221 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 2f5bda2

Please sign in to comment.