Package org.apache.ignite.example.ml
Class MlBaseExample
java.lang.Object
org.apache.ignite.example.ml.MlBaseExample
- Direct Known Subclasses:
MlCustomTranslatorExample
Base utility class for running ML inference examples in GridGain.
Handles setup and teardown of GridGain nodes in three modes — embedded, client-only, and client-server.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidstart(MlBaseExample.MODE mode) protected static voidstop()
-
Field Details
-
server
protected static org.apache.ignite.IgniteServer server -
client
protected static org.apache.ignite.client.IgniteClient client -
mlApi
protected static org.gridgain.ml.IgniteMl mlApi -
sql
protected static org.apache.ignite.sql.IgniteSql sql
-
-
Constructor Details
-
MlBaseExample
public MlBaseExample()
-
-
Method Details
-
start
-
stop
protected static void stop()
-