Class SingleValueDecomposition
- java.lang.Object
-
- org.apache.spark.ml.PipelineStage
-
- org.apache.spark.ml.Estimator<AbstractModel>
-
- com.r4tings.recommender.common.ml.AbstractEstimator
-
- com.r4tings.recommender.common.ml.CommonEstimator<SingleValueDecomposition>
-
- com.r4tings.recommender.model.svd.mf.SingleValueDecomposition
-
- All Implemented Interfaces:
OutputCol,RatingCol,Verbose,java.io.Serializable,org.apache.spark.internal.Logging,org.apache.spark.ml.param.Params,org.apache.spark.ml.util.Identifiable,scala.Serializable
public class SingleValueDecomposition extends CommonEstimator<SingleValueDecomposition>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SingleValueDecomposition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SingleValueDecompositionModelfit(org.apache.spark.sql.Dataset ratings)intgetK()org.apache.spark.ml.param.IntParamk()protected SingleValueDecompositionself()SingleValueDecompositionsetK(java.lang.Integer value)-
Methods inherited from class com.r4tings.recommender.common.ml.CommonEstimator
setItemCol, setOutputCol, setRatingCol, setUserCol, setVerbose
-
Methods inherited from class com.r4tings.recommender.common.ml.AbstractEstimator
copy, getItemCol, getOutputCol, getRatingCol, getUserCol, getVerbose, itemCol, outputCol, ratingCol, transformSchema, uid, userCol, verbose
-
Methods inherited from class org.apache.spark.ml.PipelineStage
$, clear, copyValues, copyValues$default$2, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, initializeForcefully, initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, isDefined, isSet, isTraceEnabled, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning, onParamChange, org$apache$spark$internal$Logging$$log_, org$apache$spark$internal$Logging$$log__$eq, org$apache$spark$ml$param$Params$_setter_$defaultParamMap_$eq, org$apache$spark$ml$param$Params$_setter_$paramMap_$eq, paramMap, params, set, set, set, setDefault, setDefault, toString, transformSchema
-
-
-
-
Method Detail
-
self
protected SingleValueDecomposition self()
- Specified by:
selfin classCommonEstimator<SingleValueDecomposition>
-
fit
public SingleValueDecompositionModel fit(org.apache.spark.sql.Dataset ratings)
- Specified by:
fitin classorg.apache.spark.ml.Estimator<AbstractModel>
-
k
public org.apache.spark.ml.param.IntParam k()
-
getK
public int getK()
-
setK
public SingleValueDecomposition setK(java.lang.Integer value)
-
-