predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastiaan de Man <sde...@salesforce.com>
Subject Best way to implement description of expected events and queries
Date Tue, 25 Oct 2016 18:53:19 GMT
Hi all,

I'm building a GUI for PredictionIO that allows for easy sending of events
and querying the engine. It will have to be able to talk different Engines,
which all expect different event properties and have their own queries and
responses.

What would be the best way to implement a mechanism that will provide a
json description, with expected types of the Query and PredictedResults?
I'm thinking it could either be done using scala.reflect, with maybe
annotations, however it should be easy to add it, maybe as a trait, to any
existing custom built engines.

Any suggestions? Ideas?

Many thanks!

Sebastiaan de Man

Mime
View raw message