Class MlBaseExample

java.lang.Object
org.apache.ignite.example.ml.MlBaseExample
Direct Known Subclasses:
MlCustomTranslatorExample

public class MlBaseExample extends Object
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
    Modifier and Type
    Class
    Description
    protected static enum 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static org.apache.ignite.client.IgniteClient
     
    protected static org.gridgain.ml.IgniteMl
     
    protected static org.apache.ignite.IgniteServer
     
    protected static org.apache.ignite.sql.IgniteSql
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static void
     
    protected static void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected static void start(MlBaseExample.MODE mode)
    • stop

      protected static void stop()