com.eharmony.aloha.dataset.vw.multilabel.json

VwDownsampledMultilabeledJson

final case class VwDownsampledMultilabeledJson(imports: Seq[String], features: IndexedSeq[SparseSpec], namespaces: Option[Seq[Namespace]] = ..., normalizeFeatures: Option[Boolean] = scala.Some.apply[Boolean](false), positiveLabels: String, numDownsampledNegLabels: Int) extends VwJsonLike with Product with Serializable

JSON AST for VwDownsampledMultilabelRowCreator.

imports
features
namespaces
normalizeFeatures
positiveLabels

string representing a function that will be used to extract positive labels from the input.

numDownsampledNegLabels

a positive value representing the number of negative labels to include in each row. If this is less than the number of negative examples for a given row, then no downsampling of negatives will take place.

Since

11/6/2017

Linear Supertypes
Serializable, Serializable, Product, Equals, VwJsonLike, NsValidation, FeatureValidation[Sparse], ValidationBase, Validation, CovariateJson[Sparse], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. VwDownsampledMultilabeledJson
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. VwJsonLike
  7. NsValidation
  8. FeatureValidation
  9. ValidationBase
  10. Validation
  11. CovariateJson
  12. AnyRef
  13. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VwDownsampledMultilabeledJson(imports: Seq[String], features: IndexedSeq[SparseSpec], namespaces: Option[Seq[Namespace]] = ..., normalizeFeatures: Option[Boolean] = scala.Some.apply[Boolean](false), positiveLabels: String, numDownsampledNegLabels: Int)

    imports
    features
    namespaces
    normalizeFeatures
    positiveLabels

    string representing a function that will be used to extract positive labels from the input.

    numDownsampledNegLabels

    a positive value representing the number of negative labels to include in each row. If this is less than the number of negative examples for a given row, then no downsampling of negatives will take place.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. val features: IndexedSeq[SparseSpec]

  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def findDupicates[A, K](xs: SeqView[A, Seq[A]])(criteria: (A) ⇒ K): IndexedSeq[K]

    Find duplicates in xs based on some criteria.

    Find duplicates in xs based on some criteria.

    A

    type of

    K
    xs

    where to look for duplicates

    criteria

    the criteria used to determine duplicates.

    returns

    Attributes
    protected[this]
    Definition Classes
    ValidationBase
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. val imports: Seq[String]

  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. final def namespaceIndices(): (List[Int], List[(String, List[Int])])

    Get the default namespace index mapping and the mapping from each namespace name to the feature index.

    Get the default namespace index mapping and the mapping from each namespace name to the feature index.

    returns

    Definition Classes
    VwJsonLike
  16. val namespaces: Option[Seq[Namespace]]

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

    Definition Classes
    AnyRef
  18. val normalizeFeatures: Option[Boolean]

  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. val numDownsampledNegLabels: Int

    a positive value representing the number of negative labels to include in each row.

    a positive value representing the number of negative labels to include in each row. If this is less than the number of negative examples for a given row, then no downsampling of negatives will take place.

  22. val positiveLabels: String

    string representing a function that will be used to extract positive labels from the input.

  23. final def reportDuplicates[A](label: String, xs: Seq[A]): Option[String]

    Attributes
    protected[this]
    Definition Classes
    ValidationBase
  24. final def reportDuplicates[A, K](label: String, xs: SeqView[A, Seq[A]])(criteria: (A) ⇒ K): Option[String]

    Attributes
    protected[this]
    Definition Classes
    ValidationBase
  25. def shouldNormalizeFeatures: Boolean

    Definition Classes
    VwJsonLike
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def validate(): Option[String]

    If an error occurred, provide the error message; otherwise, return None for no error.

    If an error occurred, provide the error message; otherwise, return None for no error.

    returns

    Definition Classes
    VwJsonLikeValidation
  28. final def validateFeatureNames: Option[String]

    Attributes
    protected[this]
    Definition Classes
    FeatureValidation
  29. final def validateNsFeatures: Option[String]

    Attributes
    protected[this]
    Definition Classes
    NsValidation
  30. final def validateNsNames: Option[String]

    Attributes
    protected[this]
    Definition Classes
    NsValidation
  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from VwJsonLike

Inherited from NsValidation

Inherited from FeatureValidation[Sparse]

Inherited from ValidationBase

Inherited from Validation

Inherited from CovariateJson[Sparse]

Inherited from AnyRef

Inherited from Any

Ungrouped