Class PearsonSimilarityMeasurer
- java.lang.Object
-
- org.apache.spark.ml.PipelineStage
-
- org.apache.spark.ml.Transformer
-
- com.r4tings.recommender.common.ml.AbstractRatingTransformer
-
- com.r4tings.recommender.model.measures.similarity.RatingSimilarityMeasurer<PearsonSimilarityMeasurer>
-
- com.r4tings.recommender.model.measures.similarity.PearsonSimilarityMeasurer
-
- All Implemented Interfaces:
GroupCol
,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 PearsonSimilarityMeasurer extends RatingSimilarityMeasurer<PearsonSimilarityMeasurer>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PearsonSimilarityMeasurer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>
execute(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> ratingDS)
protected PearsonSimilarityMeasurer
self()
-
Methods inherited from class com.r4tings.recommender.model.measures.similarity.RatingSimilarityMeasurer
compute, getGroup, getGroupCol, getIds, getImputeZero, group, ids, imputeZero, setGroup, setGroupCol, setIds, setImputeZero, setItemCol, setOutputCol, setRatingCol, setUserCol, setVerbose, transform
-
Methods inherited from class com.r4tings.recommender.common.ml.AbstractRatingTransformer
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 PearsonSimilarityMeasurer self()
- Specified by:
self
in classRatingSimilarityMeasurer<PearsonSimilarityMeasurer>
-
execute
protected org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> execute(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> ratingDS)
- Specified by:
execute
in classRatingSimilarityMeasurer<PearsonSimilarityMeasurer>
-
-