class AnnotatorParam[A <: WritableAnnotatorComponent, B <: SerializedAnnotatorComponent[_ <: A]] extends Param[A]
Structure to guideline a writable non-standard PARAM for any annotator Uses json4s jackson for serialization
- A
Any kind of Writable annotator component (usually a model approach)
- B
Any kind of serialized figure, of writable type
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- AnnotatorParam
- Param
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new AnnotatorParam(identifiable: Identifiable, name: String, description: String)(implicit m: Manifest[B])
- identifiable
Required for uid generation and storage as ML Params
- name
name of this Param, just like Param
- description
description of this Param, just like Param
- m
Implicit manifest constructor representation
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->(value: A): ParamPair[A]
- Definition Classes
- Param
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val doc: String
- Definition Classes
- Param
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def equals(obj: Any): Boolean
- Definition Classes
- Param → AnyRef → Any
- implicit val formats: SerializableFormat.type
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def hashCode(): Int
- Definition Classes
- Param → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isValid: (A) => Boolean
- Definition Classes
- Param
- def jsonDecode(json: String): A
- Definition Classes
- AnnotatorParam → Param
- def jsonEncode(value: A): String
- Definition Classes
- AnnotatorParam → Param
- val name: String
- Definition Classes
- Param
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val parent: String
- Definition Classes
- Param
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toString(): String
- Definition Classes
- Param → AnyRef → Any
- def w(value: A): ParamPair[A]
- Definition Classes
- Param
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object SerializableFormat extends Formats with Serializable
Workaround json4s issue of DefaultFormats not being Serializable in provided release
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)