earlystopping

package
v0.1.2-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type EarlyStoppingService

type EarlyStoppingService interface {
	GetEarlyStoppingParameters(ctx context.Context, in *api.GetEarlyStoppingParametersRequest) (api.GetEarlyStoppingParametersReply, error)
}

EarlyStoppingService is the interface for earlystopping service.

type MedianStoppingParam

type MedianStoppingParam struct {
	LeastStep  int
	Margin     float64
	EvalMetric string
	BurnIn     int
}

type MedianStoppingRule

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

func NewMedianStoppingRule

func NewMedianStoppingRule() *MedianStoppingRule

func (*MedianStoppingRule) GetShouldStopWorkers

Jump to

Keyboard shortcuts

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