| Modifier and Type | Method | Description |
|---|---|---|
Skipgram.Options |
minCount(java.lang.Long minCount) |
|
Skipgram.Options |
subsample(java.lang.Float subsample) |
|
Skipgram.Options |
windowSize(java.lang.Long windowSize) |
public Skipgram.Options windowSize(java.lang.Long windowSize)
windowSize - The number of words to predict to the left and right of the target.public Skipgram.Options minCount(java.lang.Long minCount)
minCount - The minimum number of word occurrences for it to be included in the
vocabulary.public Skipgram.Options subsample(java.lang.Float subsample)
subsample - Threshold for word occurrence. Words that appear with higher
frequency will be randomly down-sampled. Set to 0 to disable.