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
  • 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)
  • package testing
  • package torchhub

    TorchHub-based Models.

    TorchHub-based Models.

    It supports the following URIs.

    • torchhub:///<organization>/<project>/<model>
  • Catalog
  • Model
  • ModelAlreadyExistException
  • ModelNameException
  • ModelNotFoundException
  • ModelRegistryAlreadyExistException
  • ModelResolveException
  • ModelSpec
  • PyImplRegistry
  • Registry
  • SimpleCatalog
  • SparkUDFModel
  • package spark
    Definition Classes
    sql

package model

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. 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
  2. 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)
  3. package testing
  4. package torchhub

    TorchHub-based Models.

    TorchHub-based Models.

    It supports the following URIs.

    • torchhub:///<organization>/<project>/<model>

Type Members

  1. trait Catalog extends AnyRef

    Catalog for SQL ML.

  2. trait Model extends AnyRef

    A Machine Learning Model in Rikai Catalog.

  3. class ModelAlreadyExistException extends Exception
  4. class ModelNameException extends Exception
  5. class ModelNotFoundException extends Exception
  6. class ModelRegistryAlreadyExistException extends Exception
  7. class ModelResolveException extends Exception
  8. case class ModelSpec(name: Option[String], uri: String, flavor: Option[String] = None, schema: Option[String] = None, options: Option[Map[String, String]] = None, preprocessor: Option[String] = None, postprocessor: Option[String] = None) extends Product with Serializable

    Model Spec is used to pass the create model information to python ModelRegistry.

  9. abstract class PyImplRegistry extends Registry with LazyLogging
  10. trait Registry extends AnyRef

    Model Registry Integrations.

  11. class SimpleCatalog extends Catalog

    A Simple Catalog in memory.

    A Simple Catalog in memory. Used for local testing only.

  12. class SparkUDFModel extends Model with SparkRunnable

    A Model that can be turned into a Spark UDF.

Value Members

  1. object Catalog extends LazyLogging
  2. object Model

Ungrouped