public static class LossMixtureDensity.Builder extends Object
Modifier and Type | Method and Description |
---|---|
LossMixtureDensity |
build()
Creates a new instance of the mixture density
cost function.
|
LossMixtureDensity.Builder |
gaussians(int aGaussians)
Specifies the number of gaussian functions to attempt
fitting against the data.
|
LossMixtureDensity.Builder |
labelWidth(int aLabelWidth)
Specifies the width of the labels vector which also corresponds
to the width of the 'mean' vector for each of the gaussian functions.
|
public LossMixtureDensity.Builder gaussians(int aGaussians)
aGaussians
- Number of gaussian functions to fit.public LossMixtureDensity.Builder labelWidth(int aLabelWidth)
aLabelWidth
- Width of the labels vector.public LossMixtureDensity build()
Copyright © 2018. All rights reserved.