Skip to content

Keras model prediction supports saving the column data which is not inside the features #3090

@sneaxiy

Description

@sneaxiy

The following SQL programs would raise an error when predicting. It is because we do not support saving the column data which is not inside the features (i.e., petal_width in the following example).

SELECT sepal_length, sepal_width, petal_length FROM iris.train TO TRAIN sqlflow_models.OneClassSVM WITH model.kernel = "rbf" INTO iris.my_model; SELECT sepal_length, sepal_width, petal_length, petal_width FROM iris.train TO PREDICT iris.predict_result.label USING iris.my_model;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions