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 Summary
Methods inherited from interface org.apache.spark.ml.param.shared.HasBlockSize
blockSize, getBlockSize
Methods inherited from interface org.apache.spark.ml.param.shared.HasFeaturesCol
featuresCol, getFeaturesCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasLabelCol
getLabelCol, labelCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasMaxIter
getMaxIter, maxIter
Methods inherited from interface org.apache.spark.ml.param.shared.HasPredictionCol
getPredictionCol, predictionCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasProbabilityCol
getProbabilityCol, probabilityCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasRawPredictionCol
getRawPredictionCol, rawPredictionCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasStepSize
getStepSize, stepSize
Methods inherited from interface org.apache.spark.ml.param.shared.HasThresholds
getThresholds, thresholds
Methods inherited from interface org.apache.spark.ml.util.Identifiable
toString, uid
Methods 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, shouldOwn
Methods 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"
-