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