public static class
Skipgram.Options
Optional attributes for Skipgram
Public Methods
Skipgram.Options |
minCount(Long minCount)
|
Skipgram.Options |
subsample(Float subsample)
|
Skipgram.Options |
windowSize(Long windowSize)
|
Inherited Methods
boolean |
equals(Object arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public Skipgram.Options minCount (Long minCount)
Parameters
minCount | The minimum number of word occurrences for it to be included in the vocabulary. |
---|
public Skipgram.Options subsample (Float subsample)
Parameters
subsample | Threshold for word occurrence. Words that appear with higher frequency will be randomly down-sampled. Set to 0 to disable. |
---|
public Skipgram.Options windowSize (Long windowSize)
Parameters
windowSize | The number of words to predict to the left and right of the target. |
---|