IntegratedML SQL PREDICT/PROBABILITY Error
I've been playing with IntegratedML and have created a model and trained the model. When I try to use PREDICT or PROBABILITY statements in an SQL query, I get the following error:
[SQLCODE: <-400>:<Fatal error occurred>]
[%msg: <PREDICT execution error: ERROR #5002: ObjectScript error: <OBJECT DISPATCH>%LoadModel+31^%ML.AutoML.TrainedModel.1 *<class 'AttributeError'>: 'str' object has no attribute 'decode' - >]
Here's an example of the sequence of steps I've followed that lead to the error:
CREATE MODEL MyModel PREDICTING (IsError BOOLEAN) FROM Example3.ModelTable
TRAIN MODEL MyModel AS MyModelTrained
SELECT PREDICT(MyModel) IsErrorPrediction,* FROM Example3.TestSet
Is there something I'm missing?
Thanks,
Don Martin
Sorry to hear you ran into this. The issue was also detected during recent internal testing and we're in the process of fixing it.
Just wondering if this issue has been fixed in a new community edition release?
Sent you a DM.