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 torchhub

    TorchHub-based Models.

    TorchHub-based Models.

    It supports the following URIs.

    • torchhub:///<organization>/<project>/<model>
    Definition Classes
    model
  • TorchHubRegistry
c

ai.eto.rikai.sql.model.torchhub

TorchHubRegistry

class TorchHubRegistry extends PyImplRegistry

TorchHub-based Model Registry.

Linear Supertypes
PyImplRegistry, LazyLogging, Registry, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TorchHubRegistry
  2. PyImplRegistry
  3. LazyLogging
  4. Registry
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TorchHubRegistry(conf: Map[String, String])

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. val conf: Map[String, String]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def pyClass: String
    Definition Classes
    TorchHubRegistryPyImplRegistry
  18. def resolve(session: SparkSession, spec: ModelSpec): Model

    Resolve a Model from the specific URI.

    Resolve a Model from the specific URI.

    session

    a live SparkSession

    spec

    Model Spec to send to python.

    returns

    Model if found.

    Definition Classes
    PyImplRegistryRegistry
    Annotations
    @throws(scala.this.throws.<init>$default$1[ai.eto.rikai.sql.model.ModelNotFoundException])
    Exceptions thrown

    ModelNotFoundException if the model does not exist on the registry.

  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from PyImplRegistry

Inherited from LazyLogging

Inherited from Registry

Inherited from AnyRef

Inherited from Any

Ungrouped