Class

com.salesforce.op

OpWorkflowModelReader

Related Doc: package op

Permalink

class OpWorkflowModelReader extends AnyRef

Reads OpWorkflowModelWriter serialized OpWorkflowModel objects by path and JValue. This will only work if the features were serialized in topological order. NOTE: The FeatureGeneratorStages will not be recovered into the Model object, because they are part of each feature.

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

Instance Constructors

  1. new OpWorkflowModelReader(workflowOpt: Option[OpWorkflow], asSpark: Boolean = true)

    Permalink

    workflowOpt

    optional workflow that produced the trained model

    asSpark

    if true will load as spark models if false will load as Mleap stages for spark wrapped stages

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val asSpark: Boolean

    Permalink

    if true will load as spark models if false will load as Mleap stages for spark wrapped stages

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def load(path: String, modelStagingDir: String = WorkflowFileReader.modelStagingDir): OpWorkflowModel

    Permalink

    Load a previously trained workflow model from path

    Load a previously trained workflow model from path

    path

    to the trained workflow model

    modelStagingDir

    local folder to copy and unpack stored model to for loading

    returns

    workflow model

  14. def loadJson(json: JValue, path: String): Try[OpWorkflowModel]

    Permalink

    Load Workflow instance from json

    Load Workflow instance from json

    json

    json value

    path

    to the trained workflow model

    returns

    workflow model instance

  15. def loadJson(json: String, path: String): Try[OpWorkflowModel]

    Permalink

    Load a previously trained workflow model from json

    Load a previously trained workflow model from json

    json

    json of the trained workflow model

    path

    to the trained workflow model

    returns

    workflow model

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. val workflowOpt: Option[OpWorkflow]

    Permalink

    optional workflow that produced the trained model

Inherited from AnyRef

Inherited from Any

Ungrouped