public static class GloveParam.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GloveParam |
build() |
GloveParam.Builder |
coOccurrenceCounts(org.apache.spark.broadcast.Broadcast<CounterMap<java.lang.String,java.lang.String>> coOccurrenceCounts) |
GloveParam.Builder |
gen(org.nd4j.linalg.api.rng.Random gen) |
GloveParam.Builder |
lr(double lr) |
GloveParam.Builder |
maxCount(double maxCount) |
GloveParam.Builder |
negative(double negative) |
GloveParam.Builder |
useAdaGrad(boolean useAdaGrad) |
GloveParam.Builder |
vectorLength(int vectorLength) |
GloveParam.Builder |
xMax(double xMax) |
public GloveParam.Builder vectorLength(int vectorLength)
public GloveParam.Builder useAdaGrad(boolean useAdaGrad)
public GloveParam.Builder lr(double lr)
public GloveParam.Builder gen(org.nd4j.linalg.api.rng.Random gen)
public GloveParam.Builder negative(double negative)
public GloveParam.Builder xMax(double xMax)
public GloveParam.Builder maxCount(double maxCount)
public GloveParam.Builder coOccurrenceCounts(org.apache.spark.broadcast.Broadcast<CounterMap<java.lang.String,java.lang.String>> coOccurrenceCounts)
public GloveParam build()