epic
.
parser
.
models
PositionalNeuralModelFactory
Related Docs:
class PositionalNeuralModelFactory
|
package models
object
PositionalNeuralModelFactory
extends
Serializable
Linear Supertypes
Serializable
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
PositionalNeuralModelFactory
Serializable
Serializable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
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
def
addNonlinearity
(
nonLinType:
String
,
numHidden:
Int
,
dropoutRate:
Double
,
currLayer:
Transform
[
Array
[
Int
],
DenseVector
[
Double
]]
)
:
Transform
[
Array
[
Int
],
DenseVector
[
Double
]]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
buildNet
(
word2vecIndexed:
Word2VecIndexed
[
String
]
,
inputSize:
Int
,
numHidden:
Int
,
numHiddenLayers:
Int
,
outputSize:
Int
,
nonLinType:
String
,
dropoutRate:
Double
,
backpropIntoEmbeddings:
Boolean
)
:
AffineOutputTransform
[
Array
[
Int
]]
def
buildNetInnerTransforms
(
word2vecIndexed:
Word2VecIndexed
[
String
]
,
inputSize:
Int
,
numHidden:
Int
,
numHiddenLayers:
Int
,
nonLinType:
String
,
dropoutRate:
Double
,
backpropIntoEmbeddings:
Boolean
)
:
Transform
[
Array
[
Int
],
DenseVector
[
Double
]]
def
buildNetOutputEmbedding
(
word2vecIndexed:
Word2VecIndexed
[
String
]
,
inputSize:
Int
,
numHidden:
Int
,
numHiddenLayers:
Int
,
outputSize:
Int
,
nonLinType:
String
,
dropoutRate:
Double
,
backpropIntoEmbeddings:
Boolean
,
outputEmbeddingDim:
Int
,
coarsenerForInitialization:
Option
[(
Int
) ⇒
Int
]
)
:
OutputTransform
[
Array
[
Int
],
DenseVector
[
Double
]]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
Annotations
@HotSpotIntrinsicCandidate
()
def
getRuleToParentMapping
(
index:
Index
[
Feature
]
)
: (
Int
) ⇒
Int
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
Annotations
@HotSpotIntrinsicCandidate
()
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Deprecated Value Members
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
Serializable
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped