Object

com.salesforce.op.stages.impl.insights

RecordInsightsParser

Related Doc: package insights

Permalink

object RecordInsightsParser

Converts record insights format Map[String, String] to and from underlying case classes to give Map[OpVectorColumnHistory, Seq[(Int, Double)] the OpVectorColumnHistory contains all information about the construction and value of the feature the insight is for the seq contains the index (from prediction vector) for the insight and the value of the the insight (value can be correlation based or change in score)

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

Type Members

  1. type Insights = Seq[(Int, Double)]

    Permalink

    All insights take the for sequence of tuples from index of prediction explained to importance value

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. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def insightToText(insight: (OpVectorColumnHistory, Insights)): (String, String)

    Permalink

    Convert insight into strings

    Convert insight into strings

    insight

    OpVectorColumnHistory and score values ziped with index

    returns

    strings for insights map

  12. def insightToText(columnInfo: String, scoreDiffs: Array[Double]): (String, String)

    Permalink

    Convert insight into strings

    Convert insight into strings

    columnInfo

    OpVectorColumnHistory already in json

    scoreDiffs

    Score values for record insights

    returns

    strings for insights map

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  17. def parseInsights(insights: TextMap): Map[OpVectorColumnHistory, Insights]

    Permalink

    Takes sting version of insights and converts back to classes for easy parsing

    Takes sting version of insights and converts back to classes for easy parsing

    insights

    Map[String, String] containing record insights

    returns

    Map with OpVectorColumnHistory to insights sequence of values

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped