Warning: This API is deprecated and will be removed in a future version of TensorFlow after the replacement is stable.

Skipgram.Options

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

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.