suggestion

package
v0.6.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultPort is the port to serve the suggestion service.
	DefaultPort = "0.0.0.0:6789"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Bracket

type Bracket []Evals

func (Bracket) Len

func (b Bracket) Len() int

func (Bracket) Less

func (b Bracket) Less(i, j int) bool

func (Bracket) Swap

func (b Bracket) Swap(i, j int)

type Evals

type Evals struct {
	// contains filtered or unexported fields
}

type GridSuggestParameters

type GridSuggestParameters struct {
	MaxParallel int
	// contains filtered or unexported fields
}

type GridSuggestService

type GridSuggestService struct {
}

func NewGridSuggestService

func NewGridSuggestService() *GridSuggestService

func (*GridSuggestService) GetSuggestions

type HyperBandParameters

type HyperBandParameters struct {
	ResourceName       string
	ObjectiveValueName string
	// contains filtered or unexported fields
}

type HyperBandSuggestService

type HyperBandSuggestService struct {
	RandomSuggestService
}

func NewHyperBandSuggestService

func NewHyperBandSuggestService() *HyperBandSuggestService

func (*HyperBandSuggestService) GetSuggestions

type RandomSuggestService

type RandomSuggestService struct {
}

func NewRandomSuggestService

func NewRandomSuggestService() *RandomSuggestService

func (*RandomSuggestService) DoubleRandom

func (s *RandomSuggestService) DoubleRandom(min, max float64) float64

func (*RandomSuggestService) GetSuggestions

func (*RandomSuggestService) IntRandom

func (s *RandomSuggestService) IntRandom(min, max int) int

type SuggestService

type SuggestService interface {
	GetSuggestions(ctx context.Context, in *api.GetSuggestionsRequest) (*api.GetSuggestionsReply, error)
}

SuggestService is the interface for suggestion service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL