Class

com.salesforce.op.utils.spark.RichEvaluator

RichEvaluator

Related Doc: package RichEvaluator

Permalink

implicit final class RichEvaluator extends AnyVal

Various Evaluator helpers functions

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

Instance Constructors

  1. new RichEvaluator(evaluator: Evaluator)

    Permalink

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def evaluateOrDefault(dataset: Dataset[_], default: ⇒ Double): Double

    Permalink

    Safely evaluates model output and returns a scalar metric only if the dataset is not empty, otherwise returns the default metric value.

    Safely evaluates model output and returns a scalar metric only if the dataset is not empty, otherwise returns the default metric value.

    dataset

    a dataset that contains labels/observations and predictions.

    default

    default metric value to return if dataset is empty

    returns

    evaluated metric or default

  6. val evaluator: Evaluator

    Permalink
  7. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  9. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped