cc
.
factorie
.
app
.
nlp
.
embeddings
CBOWNegSamplingEmbeddingModel
class
CBOWNegSamplingEmbeddingModel
extends
WordEmbeddingModel
Linear Supertypes
WordEmbeddingModel
,
model.Parameters
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
CBOWNegSamplingEmbeddingModel
WordEmbeddingModel
Parameters
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
CBOWNegSamplingEmbeddingModel
(
opts:
EmbeddingOpts
)
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
val
D
:
Int
Definition Classes
WordEmbeddingModel
var
V
:
Int
Definition Classes
WordEmbeddingModel
def
Weights
(
t4: ⇒
Tensor4
)
:
Weights4
Definition Classes
Parameters
def
Weights
(
t3: ⇒
Tensor3
)
:
Weights3
Definition Classes
Parameters
def
Weights
(
t2: ⇒
Tensor2
)
:
Weights2
Definition Classes
Parameters
def
Weights
(
t1: ⇒
Tensor1
)
:
Weights1
Definition Classes
Parameters
val
adaGradDelta
:
Double
Attributes
protected
Definition Classes
WordEmbeddingModel
val
adaGradRate
:
Double
Attributes
protected
Definition Classes
WordEmbeddingModel
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
buildVocab
(
minFreq:
Int
=
5
)
:
Unit
Definition Classes
WordEmbeddingModel
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
corpus
:
String
Definition Classes
WordEmbeddingModel
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
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
learnEmbeddings
()
:
Unit
Definition Classes
WordEmbeddingModel
val
maxCount
:
Int
Attributes
protected
Definition Classes
WordEmbeddingModel
val
minCount
:
Int
Attributes
protected
Definition Classes
WordEmbeddingModel
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
negative
:
Int
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
var
optimizer
:
AdaGradRDA
Attributes
protected
Definition Classes
WordEmbeddingModel
val
opts
:
EmbeddingOpts
Definition Classes
CBOWNegSamplingEmbeddingModel
→
WordEmbeddingModel
val
outputFile
:
String
Attributes
protected
Definition Classes
WordEmbeddingModel
val
parameters
:
WeightsSet
Definition Classes
Parameters
def
process
(
doc:
String
)
:
Int
Definition Classes
CBOWNegSamplingEmbeddingModel
→
WordEmbeddingModel
val
rng
:
Random
val
sample
:
Double
val
samplingTableSize
:
Int
Attributes
protected
Definition Classes
WordEmbeddingModel
def
store
()
:
Unit
Definition Classes
WordEmbeddingModel
def
subSample
(
word:
Int
)
:
Int
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
threads
:
Int
Attributes
protected
Definition Classes
WordEmbeddingModel
def
toString
()
:
String
Definition Classes
AnyRef → Any
var
trainer
:
LiteHogwildTrainer
Attributes
protected
Definition Classes
WordEmbeddingModel
var
vocab
:
VocabBuilder
Attributes
protected
Definition Classes
WordEmbeddingModel
val
vocabHashSize
:
Int
Attributes
protected
Definition Classes
WordEmbeddingModel
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
(
...
)
var
weights
:
Seq
[
Weights
]
Definition Classes
WordEmbeddingModel
val
window
:
Int
def
workerThread
(
id:
Int
)
:
Unit
Attributes
protected
Definition Classes
WordEmbeddingModel
Inherited from
WordEmbeddingModel
Inherited from
model.Parameters
Inherited from
AnyRef
Inherited from
Any
Ungrouped