Packages

object WordEmbeddingsModel extends ReadablePretrainedWordEmbeddings with EmbeddingsCoverage with Serializable

This is the companion object of WordEmbeddingsModel. Please refer to that class for the documentation.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WordEmbeddingsModel
  2. Serializable
  3. EmbeddingsCoverage
  4. ReadablePretrainedWordEmbeddings
  5. HasPretrained
  6. StorageReadable
  7. ParamsAndFeaturesReadable
  8. DefaultParamsReadable
  9. MLReadable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class CoverageResult(covered: Long, total: Long, percentage: Float) extends Product with Serializable
    Definition Classes
    EmbeddingsCoverage

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addReader(reader: (WordEmbeddingsModel, String, SparkSession) => Unit): Unit
    Definition Classes
    ParamsAndFeaturesReadable
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  7. val databases: Array[Name]
  8. val defaultLang: String
    Definition Classes
    HasPretrained
  9. lazy val defaultLoc: String
    Definition Classes
    HasPretrained
  10. val defaultModelName: Option[String]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def load(path: String): WordEmbeddingsModel
    Definition Classes
    MLReadable
    Annotations
    @Since("1.6.0")
  17. def loadStorage(path: String, spark: SparkSession, storageRef: String): Unit
    Definition Classes
    StorageReadable
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  21. def onRead(instance: WordEmbeddingsModel, path: String, session: SparkSession): Unit
    Attributes
    protected
    Definition Classes
    ParamsAndFeaturesReadable
  22. def overallCoverage(dataset: DataFrame, embeddingsCol: String): CoverageResult
    Definition Classes
    EmbeddingsCoverage
  23. def pretrained(name: String, lang: String, remoteLoc: String): WordEmbeddingsModel

    Java default argument interoperability

    Java default argument interoperability

    Definition Classes
    ReadablePretrainedWordEmbeddingsHasPretrained
  24. def pretrained(name: String, lang: String): WordEmbeddingsModel
  25. def pretrained(name: String): WordEmbeddingsModel
  26. def pretrained(): WordEmbeddingsModel

    Java compliant-overrides

    Java compliant-overrides

    Definition Classes
    ReadablePretrainedWordEmbeddingsHasPretrained
  27. def read: MLReader[WordEmbeddingsModel]
    Definition Classes
    ParamsAndFeaturesReadable → DefaultParamsReadable → MLReadable
  28. def readStorage(instance: WordEmbeddingsModel, path: String, spark: SparkSession): Unit
    Definition Classes
    StorageReadable
  29. val readers: ArrayBuffer[(WordEmbeddingsModel, String, SparkSession) => Unit]
    Attributes
    protected
    Definition Classes
    ParamsAndFeaturesReadable
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. def withCoverageColumn(dataset: DataFrame, embeddingsCol: String, outputCol: String = "coverage"): DataFrame
    Definition Classes
    EmbeddingsCoverage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from EmbeddingsCoverage

Inherited from DefaultParamsReadable[WordEmbeddingsModel]

Inherited from MLReadable[WordEmbeddingsModel]

Inherited from AnyRef

Inherited from Any

Ungrouped