Packages

  • package root
    Definition Classes
    root
  • package ai
    Definition Classes
    root
  • package eto
    Definition Classes
    ai
  • package rikai
    Definition Classes
    eto
  • package sql

    Rikai SQL-ML extension.

    Rikai SQL-ML extension.

    Rikai offers DDL to manipulate ML Models:

    CREATE MODEL model_name
    [ OPTIONS (key=value, key=value, ...) ]
    [ AS "model_registry_uri" ]
    
    # List all registered models.
    SHOW MODELS
    
    # Describe the details of a model.
    (DESC | DESCRIBE) MODEL model_name
    
    # Drop a Model
    DROP MODEL model_name

    A ML_PREDICT function is implemented to run model inference.

    SELECT id, ML_PREDICT(model_name, col1, col2, col3) as predicted FROM table
    Definition Classes
    rikai
  • package model
    Definition Classes
    sql
  • package fs

    FileSystem-based on Models.

    FileSystem-based on Models.

    It supports the following URIs.

    • ../relative/path/to/model
    • /absolute/path/to/model
    • file:///absolute/path/to/model
    • s3://bucket/path/to/model
    • gs://bucket/path/to/model
    • https://example.com/path/to/model
    Definition Classes
    model
  • package mlflow

    Mlflow-based Models.

    Mlflow-based Models.

    It supports the following URIs.

    • mlflow://<runid>
    • mlflow://<model> (latest version without a stage designation)
    • mlflow://<model>/<stage> (latest version for given stage)
    • mlflow://<model>/<version> (get the particular version of the registered model)
    Definition Classes
    model
  • package testing
    Definition Classes
    model
  • Catalog
  • Model
  • ModelAlreadyExistException
  • ModelNameException
  • ModelNotFoundException
  • ModelRegistryAlreadyExistException
  • ModelResolveException
  • Registry
  • SimpleCatalog
  • SparkUDFModel

object Registry

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Registry
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val DEFAULT_REGISTRIES: Map[String, String]
  5. val REGISTRY_IMPL_PREFIX: String
  6. val REGISTRY_IMPL_SUFFIX: String
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def registerAll(conf: Map[String, String]): Unit

    Register all registry implementations.

    Register all registry implementations.

    conf

    a mapping of (key, value) pairs

  19. def resolve(uri: String, name: Option[String] = None, options: Option[Map[String, String]] = None): Model

    Resolve a Model from a model registry URI.

    Resolve a Model from a model registry URI.

    Internally it uses model registry URI to find the appropriated Registry to run Registry.resolve.

    uri

    the model registry URI

    name

    optionally, model name

    options

    optionally, extra model options

    returns

    the resolved Model

    Annotations
    @throws( ... ) @throws( ... )
    Exceptions thrown

    ModelNotFoundException if the model not found on the registry.

    ModelResolveException can not resolve the model due to system issues.

  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped