object WordEmbeddingsModel extends ReadablePretrainedWordEmbeddings with EmbeddingsCoverage with Serializable
This is the companion object of WordEmbeddingsModel. Please refer to that class for the documentation.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- WordEmbeddingsModel
- Serializable
- Serializable
- EmbeddingsCoverage
- ReadablePretrainedWordEmbeddings
- HasPretrained
- StorageReadable
- ParamsAndFeaturesReadable
- DefaultParamsReadable
- MLReadable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
case class
CoverageResult(covered: Long, total: Long, percentage: Float) extends Product with Serializable
- Definition Classes
- EmbeddingsCoverage
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addReader(reader: (WordEmbeddingsModel, String, SparkSession) ⇒ Unit): Unit
- Definition Classes
- ParamsAndFeaturesReadable
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
databases: Array[Name]
- Definition Classes
- ReadablePretrainedWordEmbeddings → StorageReadable
-
val
defaultLang: String
- Definition Classes
- HasPretrained
-
lazy val
defaultLoc: String
- Definition Classes
- HasPretrained
-
val
defaultModelName: Option[String]
- Definition Classes
- ReadablePretrainedWordEmbeddings → HasPretrained
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
load(path: String): WordEmbeddingsModel
- Definition Classes
- MLReadable
- Annotations
- @Since( "1.6.0" )
-
def
loadStorage(path: String, spark: SparkSession, storageRef: String): Unit
- Definition Classes
- StorageReadable
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
overallCoverage(dataset: DataFrame, embeddingsCol: String): CoverageResult
- Definition Classes
- EmbeddingsCoverage
-
def
pretrained(name: String, lang: String, remoteLoc: String): WordEmbeddingsModel
Java default argument interoperability
Java default argument interoperability
- Definition Classes
- ReadablePretrainedWordEmbeddings → HasPretrained
-
def
pretrained(name: String, lang: String): WordEmbeddingsModel
- Definition Classes
- ReadablePretrainedWordEmbeddings → HasPretrained
-
def
pretrained(name: String): WordEmbeddingsModel
- Definition Classes
- ReadablePretrainedWordEmbeddings → HasPretrained
-
def
pretrained(): WordEmbeddingsModel
Java compliant-overrides
Java compliant-overrides
- Definition Classes
- ReadablePretrainedWordEmbeddings → HasPretrained
-
def
read: MLReader[WordEmbeddingsModel]
- Definition Classes
- ParamsAndFeaturesReadable → DefaultParamsReadable → MLReadable
-
def
readStorage(instance: WordEmbeddingsModel, path: String, spark: SparkSession): Unit
- Definition Classes
- StorageReadable
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withCoverageColumn(dataset: DataFrame, embeddingsCol: String, outputCol: String = "coverage"): DataFrame
- Definition Classes
- EmbeddingsCoverage