trait AssertionPrioritizationParams extends Params
- Grouped
- Alphabetic
- By Inheritance
- AssertionPrioritizationParams
- 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
assertionSourcePrecedence: Param[String]
Specifies the assertion sources to use for prioritizing overlapping annotations when the 'source' ordering feature is utilized.
Specifies the assertion sources to use for prioritizing overlapping annotations when the 'source' ordering feature is utilized. This parameter contains a comma-separated list of assertion sources that drive the prioritization. Annotations will be prioritized based on the order of the given string.
-
final
def
clear(param: Param[_]): AssertionPrioritizationParams.this.type
- Definition Classes
- Params
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
copyValues[T <: Params](to: T, extra: ParamMap): T
- Attributes
- protected
- Definition Classes
- Params
-
val
defaultConfidence: FloatParam
When the confidence value is included in the orderingFeatures and a given annotation does not have any confidence, this parameter determines the value to be used.
When the confidence value is included in the orderingFeatures and a given annotation does not have any confidence, this parameter determines the value to be used. The default value is 0f.
-
final
def
defaultCopy[T <: Params](extra: ParamMap): T
- Attributes
- protected
- Definition Classes
- Params
-
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
-
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
getAssertionSourcePrecedence: String
Gets the value of the assertionSourcePrecedence parameter.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
getDefault[T](param: Param[T]): Option[T]
- Definition Classes
- Params
-
def
getDefaultConfidence: Float
Gets the value of the defaultConfidence parameter.
-
final
def
getOrDefault[T](param: Param[T]): T
- Definition Classes
- Params
-
def
getOrderingFeatures: Array[String]
Gets the value of the orderingFeatures parameter.
-
def
getParam(paramName: String): Param[Any]
- Definition Classes
- Params
-
def
getSelectionStrategy: String
Gets selectionStrategy param.
-
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
-
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()
-
val
orderingFeatures: StringArrayParam
Specifies the ordering features to use for overlapping entities.
Specifies the ordering features to use for overlapping entities. Possible values include: 'begin', 'end', 'length', 'source', 'confidence'. Default: Array("begin", "length", "source")
-
lazy val
params: Array[Param[_]]
- Definition Classes
- Params
-
def
prioritize(annotations: Seq[Annotation]): Seq[Annotation]
- Attributes
- protected
-
val
selectionStrategy: Param[String]
Determines the strategy for selecting annotations.
Determines the strategy for selecting annotations.
Annotations can be selected either sequentially based on their order (Sequential) or using a more diverse strategy (DiverseLonger). Currently, only Sequential and DiverseLonger options are available. The default strategy is Sequential.
-
final
def
set(paramPair: ParamPair[_]): AssertionPrioritizationParams.this.type
- Attributes
- protected
- Definition Classes
- Params
-
final
def
set(param: String, value: Any): AssertionPrioritizationParams.this.type
- Attributes
- protected
- Definition Classes
- Params
-
final
def
set[T](param: Param[T], value: T): AssertionPrioritizationParams.this.type
- Definition Classes
- Params
-
def
setAssertionSourcePrecedence(value: String): AssertionPrioritizationParams.this.type
Sets the assertion sources to use for prioritizing overlapping annotations when the 'source' ordering feature is utilized.
Sets the assertion sources to use for prioritizing overlapping annotations when the 'source' ordering feature is utilized. This parameter contains a comma-separated list of assertion sources that drive the prioritization. Annotations will be prioritized based on the order of the given string.
-
final
def
setDefault(paramPairs: ParamPair[_]*): AssertionPrioritizationParams.this.type
- Attributes
- protected
- Definition Classes
- Params
-
final
def
setDefault[T](param: Param[T], value: T): AssertionPrioritizationParams.this.type
- Attributes
- protected[org.apache.spark.ml]
- Definition Classes
- Params
-
def
setDefaultConfidence(confidence: Float): AssertionPrioritizationParams.this.type
Sets the value to be used when the confidence value is included in the orderingFeatures and a given annotation does not have any confidence.
Sets the value to be used when the confidence value is included in the orderingFeatures and a given annotation does not have any confidence. The default value is 0f.
-
def
setOrderingFeatures(values: Array[String]): AssertionPrioritizationParams.this.type
Sets the array of strings specifying the ordering features to use for overlapping entities.
Sets the array of strings specifying the ordering features to use for overlapping entities. Possible values are 'begin', 'end', 'length', 'source', 'confidence'. Default: Array("begin", "length", "source")
-
def
setSelectionStrategy(strategy: String): AssertionPrioritizationParams.this.type
Sets the strategy for selecting annotations.
Sets the strategy for selecting annotations.
Annotations can be selected either sequentially based on their order (Sequential) or using a different strategy (DiverseLonger). Currently, only Sequential and DiverseLonger options are available. The default strategy is Sequential.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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()