Package

com.salesforce.op.stages.impl

insights

Permalink

package insights

Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class NormType extends EnumEntry with Serializable

    Permalink

    Represents a kind of scaling to do on feature before computing importance

  2. case class Normalizer(scaleFactors1: Array[Double], scaleFactors2: Array[Double], offset: Double, name: String) extends Serializable with Product

    Permalink
  3. class RecordInsightsCorr extends BinaryEstimator[OPVector, OPVector, TextMap]

    Permalink

    Creates record level insights for model predictions.

    Creates record level insights for model predictions. Takes two inputs the first is the predictions to explain and the second feature vector fed into the model. Note that regression outputs must be converted into a vector with one column in order to use this estimator

  4. class RecordInsightsLOCO[T <: Model[T]] extends UnaryTransformer[OPVector, TextMap]

    Permalink

    Creates record level insights for model predictions.

    Creates record level insights for model predictions. Takes the model to explain as a constructor argument. The input feature is the feature vector fed into the model.

    Annotations
    @Experimental()

Value Members

  1. object NormType extends Enum[NormType] with Serializable

    Permalink
  2. object RecordInsightsParser

    Permalink

    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)

Ungrouped