trait ResolverParams extends Params
- Alphabetic
- By Inheritance
- ResolverParams
- Params
- Serializable
- Serializable
- Identifiable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
$[T](param: Param[T]): T
- Attributes
- protected
- Definition Classes
- Params
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
allDistancesMetadata: BooleanParam
whether or not to return an all distance values in the metadata.
whether or not to return an all distance values in the metadata. Default: False
-
val
alternatives: IntParam
number of results to return in the metadata after sorting by last distance calculated
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
clear(param: Param[_]): ResolverParams.this.type
- Definition Classes
- Params
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
confidenceFunction: Param[String]
what function to use to calculate confidence: INVERSE or SOFTMAX
-
def
copyValues[T <: Params](to: T, extra: ParamMap): T
- Attributes
- protected
- Definition Classes
- Params
-
final
def
defaultCopy[T <: Params](extra: ParamMap): T
- Attributes
- protected
- Definition Classes
- Params
-
val
distanceFunction: Param[String]
what distance function to use for KNN: 'EUCLIDEAN' or 'COSINE'
-
val
distanceWeights: DoubleArrayParam
distance weights to apply before pooling: [WMD, TFIDF, Jaccard, SorensenDice, JaroWinkler, Levenshtein]
-
val
enableJaccard: BooleanParam
whether or not to use Jaccard token distance.
whether or not to use Jaccard token distance. Default: True
-
val
enableJaroWinkler: BooleanParam
whether or not to use Jaro-Winkler character distance.
whether or not to use Jaro-Winkler character distance. Default: False
-
val
enableLevenshtein: BooleanParam
whether or not to use Levenshtein character distance.
whether or not to use Levenshtein character distance. Default: False
-
val
enableSorensenDice: BooleanParam
whether or not to use Sorensen-Dice token distance.
whether or not to use Sorensen-Dice token distance. Default: False
-
val
enableTfidf: BooleanParam
whether or not to use TFIDF token distance.
whether or not to use TFIDF token distance. Default: True
-
val
enableWmd: BooleanParam
whether or not to use WMD token distance.
whether or not to use WMD token distance. Default: True
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
explainParam(param: Param[_]): String
- Definition Classes
- Params
-
def
explainParams(): String
- Definition Classes
- Params
-
final
def
extractParamMap(): ParamMap
- Definition Classes
- Params
-
final
def
extractParamMap(extra: ParamMap): ParamMap
- Definition Classes
- Params
-
val
extramassPenalty: DoubleParam
penalty for extra words in the knowledge base match during WMD calculation
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
get[T](param: Param[T]): Option[T]
- Definition Classes
- Params
- def getAllDistancesMetadata: Boolean
- def getAlternatives: Int
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getConfidenceFunction: String
-
final
def
getDefault[T](param: Param[T]): Option[T]
- Definition Classes
- Params
- def getDistanceFunction: String
- def getDistanceWeights: Array[Double]
- def getEnableJaccard: Boolean
- def getEnableJaroWinkler: Boolean
- def getEnableLevenshtein: Boolean
- def getEnableSorensenDice: Boolean
- def getEnableTfidf: Boolean
- def getEnableWmd: Boolean
- def getExtramassPenalty: Double
- def getMissAsEmpty: Boolean
- def getNeighbours: Int
-
final
def
getOrDefault[T](param: Param[T]): T
- Definition Classes
- Params
-
def
getParam(paramName: String): Param[Any]
- Definition Classes
- Params
- def getPoolingStrategy: String
- def getThreshold: Double
-
final
def
hasDefault[T](param: Param[T]): Boolean
- Definition Classes
- Params
-
def
hasParam(paramName: String): Boolean
- Definition Classes
- Params
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isDefined(param: Param[_]): Boolean
- Definition Classes
- Params
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isSet(param: Param[_]): Boolean
- Definition Classes
- Params
-
val
missAsEmpty: BooleanParam
whether or not to return an empty annotation on unmatched chunks
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
neighbours: IntParam
number of neighbours to consider in the KNN query to calculate WMD
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
lazy val
params: Array[Param[_]]
- Definition Classes
- Params
-
val
poolingStrategy: Param[String]
pooling strategy to aggregate distances: AVERAGE or SUM
-
final
def
set(paramPair: ParamPair[_]): ResolverParams.this.type
- Attributes
- protected
- Definition Classes
- Params
-
final
def
set(param: String, value: Any): ResolverParams.this.type
- Attributes
- protected
- Definition Classes
- Params
-
final
def
set[T](param: Param[T], value: T): ResolverParams.this.type
- Definition Classes
- Params
- def setAllDistancesMetadata(v: Boolean): ResolverParams.this.type
- def setAlternatives(a: Int): ResolverParams.this.type
- def setConfidenceFunction(v: String): ResolverParams.this.type
-
final
def
setDefault(paramPairs: ParamPair[_]*): ResolverParams.this.type
- Attributes
- protected
- Definition Classes
- Params
-
final
def
setDefault[T](param: Param[T], value: T): ResolverParams.this.type
- Attributes
- protected[org.apache.spark.ml]
- Definition Classes
- Params
- def setDistanceFunction(value: String): ResolverParams.this.type
- def setDistanceWeights(v: Array[Double]): ResolverParams.this.type
- def setEnableJaccard(v: Boolean): ResolverParams.this.type
- def setEnableJaroWinkler(v: Boolean): ResolverParams.this.type
- def setEnableLevenshtein(v: Boolean): ResolverParams.this.type
- def setEnableSorensenDice(v: Boolean): ResolverParams.this.type
- def setEnableTfidf(v: Boolean): ResolverParams.this.type
- def setEnableWmd(v: Boolean): ResolverParams.this.type
- def setExtramassPenalty(emp: Double): ResolverParams.this.type
- def setMissAsEmpty(v: Boolean): ResolverParams.this.type
- def setNeighbours(k: Int): ResolverParams.this.type
- def setPoolingStrategy(value: String): ResolverParams.this.type
- def setThreshold(dist: Double): ResolverParams.this.type
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
threshold: DoubleParam
threshold value for the aggregated distance
-
def
toString(): String
- Definition Classes
- Identifiable → 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()