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
Ordering
- Alphabetic
- By Inheritance
Inherited
- TreeInstance
- Product
- Equals
- Example
- Labeled
- Observation
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new TreeInstance(id: String, tree: BinarizedTree[L], words: IndexedSeq[W])
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asTaggedSequence: TaggedSequence[L, W]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
features: IndexedSeq[W]
- Definition Classes
- TreeInstance → Observation
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
val
id: String
- Definition Classes
- TreeInstance → Example → Observation
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
label: BinarizedTree[L]
- Definition Classes
- TreeInstance → Example → Labeled
-
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
- Example → Observation
- def mapLabels[U](f: (L) ⇒ U): TreeInstance[U, W]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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
- def render(newline: Boolean = true): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- TreeInstance → Example → Observation → AnyRef → Any
- val tree: BinarizedTree[L]
-
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( ... )
- val words: IndexedSeq[W]