Error with with pmml:predict in siddhi-runner-alpine:5.1.2 docker image

10 views
Skip to first unread message

Affan Pervez

unread,
Jun 9, 2020, 7:54:46 AM6/9/20
to siddhi-dev
Hi,

I have been using the siddhi-runner-alpine:5.1.2 docker image under ubuntu OS and getting the error "No extension exist for pmml:predict". My question is that is the execution-pmml extension included in this image and any possible reasons for this error? If no can you please guide me about the correct docker image with this extension included?

Here is the code of siddhi-app:



@App:name("KerasModelExecution2")


@App:description("Keras model converted to PMML model")

@Source(type = 'http', receiver.url = 'http://0.0.0.0:8006/feedbackInputStream',
 basic.auth.enabled = 'false', @map(type = 'json'))
define stream FeedbackInputStream (sepal_length float, sepal_width float, petal_length float, petal_width float);

@sink(type='log', prefix='LOGGER')
define stream OutputStream(probability_setosa string, probability_virginica string, probability_versicolor string);
 
@info(name = 'query1')
From FeedbackInputStream#pmml:predict('/home/me/pmml/keras_iris.pmml',sepal_length, sepal_width, petal_length, petal_width) 
select probability_setosa, probability_virginica, probability_versicolor
insert into  OutputStream;   



Best regards,
Affan
Reply all
Reply to author
Forward
0 new messages