Interface MultilayerPerceptronParams
- All Superinterfaces:
ClassifierParams,HasBlockSize,HasFeaturesCol,HasLabelCol,HasMaxIter,HasPredictionCol,HasProbabilityCol,HasRawPredictionCol,HasSeed,HasSolver,HasStepSize,HasThresholds,HasTol,Identifiable,Params,PredictorParams,ProbabilisticClassifierParams,Serializable,scala.Serializable
- All Known Implementing Classes:
MultilayerPerceptronClassificationModel,MultilayerPerceptronClassifier
public interface MultilayerPerceptronParams
extends ProbabilisticClassifierParams, HasSeed, HasMaxIter, HasTol, HasStepSize, HasSolver, HasBlockSize
Params for Multilayer Perceptron.
-
Method Summary
Methods inherited from interface org.apache.spark.ml.param.shared.HasBlockSize
blockSize, getBlockSizeMethods inherited from interface org.apache.spark.ml.param.shared.HasFeaturesCol
featuresCol, getFeaturesColMethods inherited from interface org.apache.spark.ml.param.shared.HasLabelCol
getLabelCol, labelColMethods inherited from interface org.apache.spark.ml.param.shared.HasMaxIter
getMaxIter, maxIterMethods inherited from interface org.apache.spark.ml.param.shared.HasPredictionCol
getPredictionCol, predictionColMethods inherited from interface org.apache.spark.ml.param.shared.HasProbabilityCol
getProbabilityCol, probabilityColMethods inherited from interface org.apache.spark.ml.param.shared.HasRawPredictionCol
getRawPredictionCol, rawPredictionColMethods inherited from interface org.apache.spark.ml.param.shared.HasStepSize
getStepSize, stepSizeMethods inherited from interface org.apache.spark.ml.param.shared.HasThresholds
getThresholds, thresholdsMethods inherited from interface org.apache.spark.ml.util.Identifiable
toString, uidMethods inherited from interface org.apache.spark.ml.param.Params
clear, copy, copyValues, defaultCopy, defaultParamMap, 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.ProbabilisticClassifierParams
validateAndTransformSchema
-
Method Details
-
getInitialWeights
Vector getInitialWeights() -
getLayers
int[] getLayers() -
initialWeights
The initial weights of the model.- Returns:
- (undocumented)
-
layers
IntArrayParam layers()Layer sizes including input size and output size.- Returns:
- (undocumented)
-
solver
The solver algorithm for optimization. Supported options: "gd" (minibatch gradient descent) or "l-bfgs". Default: "l-bfgs"
-