c

epic.trees

TreeInstance

case class TreeInstance[L, +W](id: String, tree: BinarizedTree[L], words: IndexedSeq[W]) extends Example[BinarizedTree[L], IndexedSeq[W]] with Product with Serializable

Linear Supertypes
Product, Equals, Example[BinarizedTree[L], IndexedSeq[W]], Labeled[BinarizedTree[L]], Observation[IndexedSeq[W]], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TreeInstance
  2. Product
  3. Equals
  4. Example
  5. Labeled
  6. Observation
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TreeInstance(id: String, tree: BinarizedTree[L], words: IndexedSeq[W])

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asTaggedSequence: TaggedSequence[L, W]
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def features: IndexedSeq[W]
    Definition Classes
    TreeInstanceObservation
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. val id: String
    Definition Classes
    TreeInstanceExampleObservation
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def label: BinarizedTree[L]
    Definition Classes
    TreeInstanceExampleLabeled
  13. def map[U](f: (IndexedSeq[W]) ⇒ U): Example[BinarizedTree[L], U]

    Converts the features in this example to a different one while still preserving label and id.

    Converts the features in this example to a different one while still preserving label and id.

    Definition Classes
    ExampleObservation
  14. def mapLabels[U](f: (L) ⇒ U): TreeInstance[U, W]
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def relabel[L2](f: (BinarizedTree[L]) ⇒ L2): Example[L2, IndexedSeq[W]]

    Converts the label in this example to a different one while still preserving features and id.

    Converts the label in this example to a different one while still preserving features and id.

    Definition Classes
    Example
  19. def render(newline: Boolean = true): String
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    TreeInstanceExampleObservation → AnyRef → Any
  22. val tree: BinarizedTree[L]
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. val words: IndexedSeq[W]

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from Example[BinarizedTree[L], IndexedSeq[W]]

Inherited from Labeled[BinarizedTree[L]]

Inherited from Observation[IndexedSeq[W]]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped