Documentation
¶
Index ¶
- func CodeGenCouler(stepList []*stepContext, session *pb.Session) (string, error)
- func GenerateCodeCouler(sqlProgram string, session *pb.Session) (string, error)
- func GeneratePyDbConnStr(session *pb.Session) (string, error)
- func InitializeAttributes(trainStmt *ir.TrainStmt) error
- func XGBoostGenerateEvaluation(evalStmt *ir.EvaluateStmt, stepIndex int, session *pb.Session) (string, error)
- func XGBoostGeneratePredict(predStmt *ir.PredictStmt, stepIndex int, session *pb.Session) (string, error)
- func XGBoostGenerateTrain(trainStmt *ir.TrainStmt, stepIndex int, session *pb.Session) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CodeGenCouler ¶
CodeGenCouler generate couler code to generate a workflow
func GenerateCodeCouler ¶
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
GeneratePyDbConnStr generates the db connection string for the Python dbapi.
func InitializeAttributes ¶
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.