Interface MultilayerPerceptronParams
- All Superinterfaces:
- ClassifierParams,- HasBlockSize,- HasFeaturesCol,- HasLabelCol,- HasMaxIter,- HasPredictionCol,- HasProbabilityCol,- HasRawPredictionCol,- HasSeed,- HasSolver,- HasStepSize,- HasThresholds,- HasTol,- Identifiable,- Params,- PredictorParams,- ProbabilisticClassifierParams,- Serializable
- All Known Implementing Classes:
- MultilayerPerceptronClassificationModel,- MultilayerPerceptronClassifier
public interface MultilayerPerceptronParams
extends ProbabilisticClassifierParams, HasSeed, HasMaxIter, HasTol, HasStepSize, HasSolver, HasBlockSize
Params for Multilayer Perceptron.
- 
Method SummaryMethods inherited from interface org.apache.spark.ml.param.shared.HasBlockSizeblockSize, getBlockSizeMethods inherited from interface org.apache.spark.ml.param.shared.HasFeaturesColfeaturesCol, getFeaturesColMethods inherited from interface org.apache.spark.ml.param.shared.HasLabelColgetLabelCol, labelColMethods inherited from interface org.apache.spark.ml.param.shared.HasMaxItergetMaxIter, maxIterMethods inherited from interface org.apache.spark.ml.param.shared.HasPredictionColgetPredictionCol, predictionColMethods inherited from interface org.apache.spark.ml.param.shared.HasProbabilityColgetProbabilityCol, probabilityColMethods inherited from interface org.apache.spark.ml.param.shared.HasRawPredictionColgetRawPredictionCol, rawPredictionColMethods inherited from interface org.apache.spark.ml.param.shared.HasStepSizegetStepSize, stepSizeMethods inherited from interface org.apache.spark.ml.param.shared.HasThresholdsgetThresholds, thresholdsMethods inherited from interface org.apache.spark.ml.util.IdentifiabletoString, uidMethods inherited from interface org.apache.spark.ml.param.Paramsclear, copy, copyValues, defaultCopy, defaultParamMap, estimateMatadataSize, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwnMethods inherited from interface org.apache.spark.ml.classification.ProbabilisticClassifierParamsvalidateAndTransformSchema
- 
Method Details- 
getInitialWeightsVector getInitialWeights()
- 
getLayersint[] getLayers()
- 
initialWeightsThe initial weights of the model.- Returns:
- (undocumented)
 
- 
layersIntArrayParam layers()Layer sizes including input size and output size.- Returns:
- (undocumented)
 
- 
solverThe solver algorithm for optimization. Supported options: "gd" (minibatch gradient descent) or "l-bfgs". Default: "l-bfgs"
 
-