com
.
johnsnowlabs
.
ml
.
tensorflow
TensorflowSentenceDetectorDL
Related Doc:
package tensorflow
class
TensorflowSentenceDetectorDL
extends
Serializable
with
Logging
Linear Supertypes
Logging
,
Serializable
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
TensorflowSentenceDetectorDL
Logging
Serializable
Serializable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
TensorflowSentenceDetectorDL
(
model:
TensorflowWrapper
,
verboseLevel:
nlp.annotators.ner.Verbose.Value
=
Verbose.All
,
outputLogsPath:
Option
[
String
] =
None
)
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
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
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
getLogName
:
String
Definition Classes
Logging
def
getTFModel
:
TensorflowWrapper
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
internalPredict
(
features:
Array
[
Array
[
Float
]]
,
labels:
Array
[
Array
[
Float
]]
,
configProtoBytes:
Option
[
Array
[
Byte
]] =
None
,
classWeights:
Array
[
Float
]
)
: (
Float
,
Float
)
Attributes
protected
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
log
(
value: ⇒
String
,
minLevel:
Level
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logMessage
(
message:
String
,
uuid:
String
)
:
Unit
Attributes
protected
val
logger
:
Logger
Attributes
protected
Definition Classes
Logging
val
model
:
TensorflowWrapper
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
outputLog
(
value: ⇒
String
,
uuid:
String
,
shouldLog:
Boolean
,
outputLogsPath:
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
val
outputLogsPath
:
Option
[
String
]
def
predict
(
features:
Array
[
Array
[
Float
]]
,
configProtoBytes:
Option
[
Array
[
Byte
]] =
None
)
: (
Array
[
Long
],
Array
[
Float
])
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
train
(
features:
Array
[
Array
[
Float
]]
,
labels:
Array
[
Array
[
Float
]]
,
batchSize:
Int
,
epochsNumber:
Int
,
learningRate:
Float
=
0.001f
,
validationSplit:
Float
=
0.0f
,
classWeights:
Array
[
Float
]
,
dropout:
Float
=
0.0f
,
configProtoBytes:
Option
[
Array
[
Byte
]] =
None
,
uuid:
String
=
Identifiable.randomUID("annotator")
)
:
Unit
val
verboseLevel
:
nlp.annotators.ner.Verbose.Value
Definition Classes
TensorflowSentenceDetectorDL
→
Logging
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
Logging
Inherited from
Serializable
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped