Trait

com.salesforce.op.features

FeatureLike

Related Doc: package features

Permalink

trait FeatureLike[O <: FeatureType] extends AnyRef

Feature definition

O

feature value type

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

Abstract Value Members

  1. abstract val distributions: Seq[FeatureDistributionLike]

    Permalink

    The distribution information of the feature (is a sequence because map features have distribution for each key)

  2. abstract val isResponse: Boolean

    Permalink

    Is this feature a response or a predictor

  3. abstract val name: String

    Permalink

    Feature name

  4. abstract val originStage: OpPipelineStage[O]

    Permalink

    Origin stage which resulted into creating this feature (transformer or estimator)

  5. abstract val parents: Seq[OPFeature]

    Permalink

    The input features of the origin stage

  6. abstract val uid: String

    Permalink

    Unique identifier of the feature instance

  7. implicit abstract val wtt: scala.reflect.api.JavaUniverse.WeakTypeTag[O]

    Permalink

    Weak type tag of the feature type O

Concrete 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. final def asRaw(isResponse: Boolean = isResponse): FeatureLike[O]

    Permalink

    Construct a raw feature instance from this feature which can be applied on a Dataframe.

    Construct a raw feature instance from this feature which can be applied on a Dataframe. Use this functionality when stacking workflows, e.g. when some features of a workflow are used as raw or input features of another workflow.

    isResponse

    should make response or a predictor feature

    returns

    new raw feature of the same type

  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. final def equals(in: Any): Boolean

    Permalink

    Tests the equality of the FeatureLike objects

    Tests the equality of the FeatureLike objects

    Origin Stage is tested by uid

    Parents are test by uid and order dependent. This is because they are used as inputs to the origin stage and input parameters may not be commutative

    Definition Classes
    FeatureLike → 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. final def hashCode(): Int

    Permalink

    Returns the hash code of this feature

    Returns the hash code of this feature

    returns

    hash code

    Definition Classes
    FeatureLike → AnyRef → Any
  12. final def history(): FeatureHistory

    Permalink

    History of all stages and origin features used to create a given feature

    History of all stages and origin features used to create a given feature

    returns

    FeatureHistory containing all feature history information

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def isRaw: Boolean

    Permalink

    Is this feature is raw or not (i.e.

    Is this feature is raw or not (i.e. has no parent features)

    returns

    true if the feature is raw, false otherwise

  15. final def isSubtypeOf[T <: FeatureType](implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[T]): Boolean

    Permalink

    Check whether this feature's type O is a subtype of the given feature type T

    Check whether this feature's type O is a subtype of the given feature type T

    T

    the feature type to check

    returns

    true if O conforms to T, false otherwise

  16. lazy val log: Logger

    Permalink

    A handy logger instance

    A handy logger instance

    Attributes
    protected
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. final def prettyParentStages: String

    Permalink

    Pretty print feature's parent stages tree

    Pretty print feature's parent stages tree

    returns

    feature's parent stages tree with indentation

  21. final def sameOrigin(in: Any): Boolean

    Permalink

    Tests the equality of the FeatureLike objects

    Tests the equality of the FeatureLike objects

    Origin Stage is tested by uid

    Parents are test by uid and order dependent. This is because they are used as inputs to the origin stage and input parameters may not be commutative

  22. final def scoringDistributions: Seq[FeatureDistributionLike]

    Permalink

    The distribution information of the feature computed during scoring (is a sequence because map features have distribution for each key)

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. final def toJson(pretty: Boolean = true): String

    Permalink

    Convert this feature to json string

    Convert this feature to json string

    pretty

    should pretty print

    returns

    json string for feature

  25. final def toString(): String

    Permalink
    Definition Classes
    FeatureLike → AnyRef → Any
  26. final def trainingDistributions: Seq[FeatureDistributionLike]

    Permalink

    The distribution information of the feature computed during training (is a sequence because map features have distribution for each key)

  27. final def transformWith[U <: FeatureType](stage: OpPipelineStageN[O, U], fs: Array[FeatureLike[O]]): FeatureLike[U]

    Permalink

    Transform the feature with a given transformation stage and input features

    Transform the feature with a given transformation stage and input features

    U

    output type

    stage

    transformer/estimator

    fs

    other features

    returns

    transformed feature

  28. final def transformWith[I1 <: FeatureType, I2 <: FeatureType, I3 <: FeatureType, U <: FeatureType](stage: OpPipelineStage4[O, I1, I2, I3, U], f1: FeatureLike[I1], f2: FeatureLike[I2], f3: FeatureLike[I3]): FeatureLike[U]

    Permalink

    Transform the feature with a given transformation stage and input features

    Transform the feature with a given transformation stage and input features

    I1

    f1 input type

    I2

    f2 input type

    I3

    f3 input type

    U

    output type

    stage

    transformer/estimator

    f1

    other feature1

    f2

    other feature2

    f3

    other feature2

    returns

    transformed feature

  29. final def transformWith[I1 <: FeatureType, I2 <: FeatureType, U <: FeatureType](stage: OpPipelineStage3[O, I1, I2, U], f1: FeatureLike[I1], f2: FeatureLike[I2]): FeatureLike[U]

    Permalink

    Transform the feature with a given transformation stage and input features

    Transform the feature with a given transformation stage and input features

    I1

    f1 input type

    I2

    f2 input type

    U

    output type

    stage

    transformer/estimator

    f1

    other feature1

    f2

    other feature2

    returns

    transformed feature

  30. final def transformWith[I <: FeatureType, U <: FeatureType](stage: OpPipelineStage2[O, I, U], f: FeatureLike[I]): FeatureLike[U]

    Permalink

    Transform the feature with a given transformation stage and input features

    Transform the feature with a given transformation stage and input features

    I

    other feature input type

    U

    output type

    stage

    transformer/estimator

    f

    other feature

    returns

    transformed feature

  31. final def transformWith[U <: FeatureType](stage: OpPipelineStage1[O, U]): FeatureLike[U]

    Permalink

    Transform the feature with a given transformation stage and an input feature

    Transform the feature with a given transformation stage and an input feature

    U

    output type

    stage

    transformer/estimator

    returns

    transformed feature

  32. final def typeName: String

    Permalink

    Feature type name

    Feature type name

    returns

    feature type name

  33. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped