Closed
Description
Description
Throw Exception "converting driver.Value type float64 ("-0.034224987") to a int64 " when select data from predictions in notebook.
%%sqlflow
SELECT *
FROM intelligence_da_dev.titanic_train
TRAIN DNNClassifier
WITH
model.n_classes = 2,
model.hidden_units = [10, 40, 10],
train.epoch = 200,
train.batch_size = 64
COLUMN age, fare, pclass_3, pclass_1, pclass_2, sex_male, sex_female, sibsp_1, sibsp_0, sibsp_others_type, parch_0, parch_1, parch_2, parch_others_type, embarked_s, embarked_c, embarked_others_type, embarked_unknown_type
LABEL survived
INTO intelligence_da_dev.my_dnn_model;
--------------------------------Exception------------------------------
_Rendezvous: <_Rendezvous of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "genTF unsupported label data type: DOUBLE_TYPE"
debug_error_string = "{"created":"@1573309027.737003066","description":"Error received from peer ipv4:10.82.128.7:8005","file":"src/core/lib/surface/call.cc","file_line":1055,"grpc_message":"genTF unsupported label data type: DOUBLE_TYPE","grpc_status":2}"