sagify

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: May 31, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchTransform

type BatchTransform struct {
	Ec2Type       string     `yaml:"ec2_type"`
	Instances     string     `yaml:"instances_count"`
	ModelLocation string     `yaml:"model_s3_location"`
	InputDir      string     `yaml:"features_s3_location"`
	OutputDir     string     `yaml:"predictions_s3_location"`
	Schedules     *Schedules `yaml:"schedule"`
}

BatchTransform command configuration

type BuildConfiguration

type BuildConfiguration struct {
	Train                Train
	BatchTransform       BatchTransform       `yaml:"batch_transform"`
	HyperparameterTuning HyperparameterTuning `yaml:"hyperparameter_optimization"`
}

BuildConfiguration - Sagify build configuration i.e. the commands in the build file

type Deploy

type Deploy struct {
	Endpoint      string
	Ec2Type       string `yaml:"ec2_type"`
	Instances     string `yaml:"instances_count"`
	ModelLocation string `yaml:"s3_model_location"`
}

Deploy command configuration

type HyperparameterTuning

type HyperparameterTuning struct {
	Timeout              string
	Deploy               Deploy
	Ec2Type              string     `yaml:"ec2_type"`
	MaxJobs              string     `yaml:"max_jobs"`
	VolumeSize           string     `yaml:"volume_size"`
	InputDir             string     `yaml:"input_s3_dir"`
	OutputDir            string     `yaml:"output_s3_dir"`
	BaseJobName          string     `yaml:"base_job_name"`
	MaxParallelJobs      string     `yaml:"max_parallel_jobs"`
	HyperparamRangesFile string     `yaml:"hyperparameter_ranges_file"`
	Schedules            *Schedules `yaml:"schedule"`
}

HyperparameterTuning command configuration

type Sagify

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

Sagify build handler

func NewSagify

func NewSagify(buildConfig BuildConfiguration) *Sagify

NewSagify - Sagify initializer

func (*Sagify) Handle

func (h *Sagify) Handle(r *job.Request)

Handle - Sagify's Handler implementation

Parses build file and runs Sagify commands.

func (*Sagify) SetNext

func (h *Sagify) SetNext(next job.Handler)

SetNext sets the next Handler

type ScheduleEntry

type ScheduleEntry = event.ScheduleEntry

ScheduleEntry holds a scheduled job's details

type Schedules

type Schedules = event.Schedules

Schedules holds "schedule name to schedule details" info

type Train

type Train struct {
	Timeout         string
	Metrics         string
	Ec2Type         string `yaml:"ec2_type"`
	InputDir        string `yaml:"input_s3_dir"`
	OutputDir       string `yaml:"output_s3_dir"`
	VolumeSize      string `yaml:"volume_size"`
	BaseJobName     string `yaml:"base_job_name"`
	HyperparamsFile string `yaml:"hyperparameters_file"`
	Deploy          Deploy
	Schedules       *Schedules `yaml:"schedule"`
}

Train command configuration

Jump to

Keyboard shortcuts

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