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
Product version: IRIS 2021.1
$ZV: IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2021.1 (Build 215.3U) Wed Oct 27 2021 17:38:26 EDT [Health:3.3.0]