in sagemaker-spark-sdk/src/main/scala/com/amazonaws/services/sagemaker/sparksdk/algorithms/LDASageMakerEstimator.scala [47:91]
def getNumTopics: Int = $(numTopics)
/**
* Initial guess for the concentration parameter: the sum of the elements of the Dirichlet prior.
* Default: 0.1.
*/
val alpha0 : DoubleParam = new DoubleParam(this, "alpha0",
"Initial guess for the concentration parameter: the sum of the elements of the " +
"Dirichlet prior. Must be > 0",
ParamValidators.gt(0))
def getAlpha0: Double = $(alpha0)
/**
* The number of restarts to perform during the Alternating Least Squares (ALS)
* spectral decomposition phase of the algorithm. Must be > 0.
* Default: 10.
*/
val maxRestarts : IntParam = new IntParam(this, "max_restarts",
"The number of restarts during decomposition phase. Must be > 0.",
ParamValidators.gtEq(1))
def getMaxRestarts: Int = $(maxRestarts)
/**
* The maximum number of iterations to perform during the ALS phase of the algorithm.
* Must be > 0.
* Default: 1000
*/
val maxIterations : IntParam = new IntParam(this, "max_iterations",
"The maximum number of iterations to perform during the ALS phase of the algorithm. " +
"Must be > 0.",
ParamValidators.gtEq(1))
def getMaxIterations: Int = $(maxIterations)
/**
* Target error tolerance for the ALS phase of the algorithm. Must be > 0.
* Default: 1e-8.
*/
val tol : DoubleParam = new DoubleParam(this, "tol",
"Target error tolerance for the ALS phase of the algorithm. Must be > 0.",
ParamValidators.gt(0))
def getTol: Double = $(tol)
}
object LDASageMakerEstimator {