Package org.apache.ignite.example.ml
Class MlInferenceExample
java.lang.Object
org.apache.ignite.example.ml.MlBaseExample
org.apache.ignite.example.ml.MlInferenceExample
This example demonstrates:
1. Downloading and Deploying the sentiment analysis Model from DJL.
2. Inference using built-in DJL Input, Output, and TranslatorFactory for sentiment analysis model:
- Simple prediction
- Batch prediction
- SQL-based prediction
- Colocated prediction
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.ignite.example.ml.MlBaseExample
MlBaseExample.MODE -
Field Summary
FieldsFields inherited from class org.apache.ignite.example.ml.MlBaseExample
client, mlApi, server, sql -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.ignite.example.ml.MlBaseExample
start, stop
-
Field Details
-
TRANSLATOR_FACTORY
- See Also:
-
-
Constructor Details
-
MlInferenceExample
public MlInferenceExample()
-
-
Method Details
-
main
- Throws:
IOException
-