experimental

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CodeGenCouler

func CodeGenCouler(stepList []*stepContext, session *pb.Session) (string, error)

CodeGenCouler generate couler code to generate a workflow

func GenerateCodeCouler

func GenerateCodeCouler(sqlProgram string, session *pb.Session) (string, error)

GenerateCodeCouler generate a Couler program to submit a workflow to run the sql program. 1. generate IR of each statement. 2. generate runtime code of each statement 3. generate couler program to form a workflow

func GeneratePyDbConnStr added in v0.4.2

func GeneratePyDbConnStr(session *pb.Session) (string, error)

GeneratePyDbConnStr generates the db connection string for the Python dbapi.

func InitializeAttributes

func InitializeAttributes(trainStmt *ir.TrainStmt) error

InitializeAttributes initializes the attributes of XGBoost and does type checking for them

func XGBoostGenerateEvaluation added in v0.4.2

func XGBoostGenerateEvaluation(evalStmt *ir.EvaluateStmt, stepIndex int, session *pb.Session) (string, error)

XGBoostGenerateEvaluation generates the XGBoost evaluation code

func XGBoostGeneratePredict added in v0.4.2

func XGBoostGeneratePredict(predStmt *ir.PredictStmt, stepIndex int, session *pb.Session) (string, error)

XGBoostGeneratePredict generates the XGBoost prediction code

func XGBoostGenerateTrain

func XGBoostGenerateTrain(trainStmt *ir.TrainStmt, stepIndex int, session *pb.Session) (string, error)

XGBoostGenerateTrain returns the step code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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