Class

com.salesforce.op

OpWorkflowModelReader

Related Doc: package op

Permalink

class OpWorkflowModelReader extends MLReader[OpWorkflowModel]

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
MLReader[OpWorkflowModel], BaseReadWrite, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OpWorkflowModelReader
  2. MLReader
  3. BaseReadWrite
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OpWorkflowModelReader(workflow: OpWorkflow)

    Permalink

    workflow

    the workflow that produced the trained model

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. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def context(sqlContext: SQLContext): OpWorkflowModelReader.this.type

    Permalink
    Definition Classes
    MLReader → BaseReadWrite
  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): OpWorkflowModel

    Permalink

    Load a previously trained workflow model from path

    Load a previously trained workflow model from path

    path

    to the trained workflow model

    returns

    workflow model

    Definition Classes
    OpWorkflowModelReader → MLReader
  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 sc: SparkContext

    Permalink
    Attributes
    protected
    Definition Classes
    BaseReadWrite
  20. def session(sparkSession: SparkSession): OpWorkflowModelReader.this.type

    Permalink
    Definition Classes
    MLReader → BaseReadWrite
  21. final def sparkSession: SparkSession

    Permalink
    Attributes
    protected
    Definition Classes
    BaseReadWrite
  22. final def sqlContext: SQLContext

    Permalink
    Attributes
    protected
    Definition Classes
    BaseReadWrite
  23. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. val workflow: OpWorkflow

    Permalink

    the workflow that produced the trained model

Inherited from MLReader[OpWorkflowModel]

Inherited from BaseReadWrite

Inherited from AnyRef

Inherited from Any

Ungrouped