com
.
johnsnowlabs
.
ml
.
crf
DatasetMetadata
Related Doc:
package crf
class
DatasetMetadata
extends
WritableAnnotatorComponent
Linear Supertypes
WritableAnnotatorComponent
,
Serializable
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
DatasetMetadata
WritableAnnotatorComponent
Serializable
Serializable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
DatasetMetadata
(
labels:
Array
[
String
]
,
attrs:
Array
[
Attr
]
,
attrFeatures:
Array
[
AttrFeature
]
,
transitions:
Array
[
Transition
]
,
featuresStat:
Array
[
AttrStat
]
)
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
lazy val
attr2Features
:
IndexedSeq
[
Array
[
AttrFeature
]]
lazy val
attr2Id
:
Map
[
String
,
Int
]
val
attrFeatures
:
Array
[
AttrFeature
]
lazy val
attrFeatures2Id
:
Map
[(
Int
,
Int
),
Int
]
val
attrs
:
Array
[
Attr
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
featuresStat
:
Array
[
AttrStat
]
def
filterFeatures
(
featureIds:
Seq
[
Int
]
)
:
DatasetMetadata
Leaves only features that in featureIds list
Leaves only features that in featureIds list
featureIds
- feature ids to leave
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
lazy val
label2Id
:
Map
[
String
,
Int
]
val
labels
:
Array
[
String
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
serialize
:
SerializedAnnotatorComponent
[_ <:
WritableAnnotatorComponent
]
Definition Classes
DatasetMetadata
→
WritableAnnotatorComponent
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
lazy val
transFeature2Id
:
Map
[
Transition
,
Int
]
val
transitions
:
Array
[
Transition
]
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
(
...
)
Inherited from
WritableAnnotatorComponent
Inherited from
Serializable
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped