Package org.apache.spark.ml.regression
Interface FactorizationMachinesParams
- All Superinterfaces:
HasFeaturesCol,HasFitIntercept,HasLabelCol,HasMaxIter,HasPredictionCol,HasRegParam,HasSeed,HasSolver,HasStepSize,HasTol,HasWeightCol,Identifiable,Params,PredictorParams,Serializable
- All Known Subinterfaces:
FactorizationMachines,FMClassifierParams,FMRegressorParams
- All Known Implementing Classes:
FMClassificationModel,FMClassifier,FMRegressionModel,FMRegressor
public interface FactorizationMachinesParams
extends PredictorParams, HasMaxIter, HasStepSize, HasTol, HasSolver, HasSeed, HasFitIntercept, HasRegParam, HasWeightCol
Params for Factorization Machines
-
Method Summary
Modifier and TypeMethodDescriptionParam for dimensionality of the factors (>= 0)Param for whether to fit linear term (aka 1-way term)intbooleandoubledoubleinitStd()Param for standard deviation of initial coefficientsParam for mini-batch fraction, must be in range (0, 1]solver()The solver algorithm for optimization.Methods inherited from interface org.apache.spark.ml.param.shared.HasFeaturesCol
featuresCol, getFeaturesColMethods inherited from interface org.apache.spark.ml.param.shared.HasFitIntercept
fitIntercept, getFitInterceptMethods 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.HasRegParam
getRegParam, regParamMethods inherited from interface org.apache.spark.ml.param.shared.HasStepSize
getStepSize, stepSizeMethods inherited from interface org.apache.spark.ml.param.shared.HasWeightCol
getWeightCol, weightColMethods 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.PredictorParams
validateAndTransformSchema
-
Method Details
-
factorSize
IntParam factorSize()Param for dimensionality of the factors (>= 0)- Returns:
- (undocumented)
-
fitLinear
BooleanParam fitLinear()Param for whether to fit linear term (aka 1-way term)- Returns:
- (undocumented)
-
getFactorSize
int getFactorSize() -
getFitLinear
boolean getFitLinear() -
getInitStd
double getInitStd() -
getMiniBatchFraction
double getMiniBatchFraction() -
initStd
DoubleParam initStd()Param for standard deviation of initial coefficients- Returns:
- (undocumented)
-
miniBatchFraction
DoubleParam miniBatchFraction()Param for mini-batch fraction, must be in range (0, 1]- Returns:
- (undocumented)
-
solver
The solver algorithm for optimization. Supported options: "gd", "adamW". Default: "adamW"
-