Class AbstractRatingTransformer

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.spark.internal.Logging

        org.apache.spark.internal.Logging.SparkShellLoggingFilter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.spark.ml.Transformer copy​(org.apache.spark.ml.param.ParamMap extra)  
      java.lang.String getItemCol()  
      java.lang.String getOutputCol()  
      java.lang.String getRatingCol()  
      java.lang.String getUserCol()  
      java.lang.Boolean getVerbose()  
      org.apache.spark.ml.param.Param<java.lang.String> itemCol()  
      org.apache.spark.ml.param.Param<java.lang.String> outputCol()  
      org.apache.spark.ml.param.Param<java.lang.String> ratingCol()  
      org.apache.spark.sql.types.StructType transformSchema​(org.apache.spark.sql.types.StructType schema)  
      java.lang.String uid()  
      org.apache.spark.ml.param.Param<java.lang.String> userCol()  
      org.apache.spark.ml.param.BooleanParam verbose()  
      • Methods inherited from class org.apache.spark.ml.Transformer

        transform, transform, transform, transform
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.r4tings.recommender.common.ml.param.Verbose

        setVerbose
    • Constructor Detail

      • AbstractRatingTransformer

        public AbstractRatingTransformer​(java.lang.String prefix)
    • Method Detail

      • transformSchema

        public org.apache.spark.sql.types.StructType transformSchema​(org.apache.spark.sql.types.StructType schema)
        Specified by:
        transformSchema in class org.apache.spark.ml.PipelineStage
      • copy

        public org.apache.spark.ml.Transformer copy​(org.apache.spark.ml.param.ParamMap extra)
        Specified by:
        copy in interface org.apache.spark.ml.param.Params
        Specified by:
        copy in class org.apache.spark.ml.Transformer
      • uid

        public java.lang.String uid()
        Specified by:
        uid in interface org.apache.spark.ml.util.Identifiable
      • verbose

        public org.apache.spark.ml.param.BooleanParam verbose()
        Specified by:
        verbose in interface Verbose
      • outputCol

        public org.apache.spark.ml.param.Param<java.lang.String> outputCol()
        Specified by:
        outputCol in interface OutputCol
      • userCol

        public org.apache.spark.ml.param.Param<java.lang.String> userCol()
        Specified by:
        userCol in interface RatingCol
      • itemCol

        public org.apache.spark.ml.param.Param<java.lang.String> itemCol()
        Specified by:
        itemCol in interface RatingCol
      • ratingCol

        public org.apache.spark.ml.param.Param<java.lang.String> ratingCol()
        Specified by:
        ratingCol in interface RatingCol
      • getVerbose

        public java.lang.Boolean getVerbose()
        Specified by:
        getVerbose in interface Verbose
      • getOutputCol

        public java.lang.String getOutputCol()
        Specified by:
        getOutputCol in interface OutputCol
      • getUserCol

        public java.lang.String getUserCol()
        Specified by:
        getUserCol in interface RatingCol
      • getItemCol

        public java.lang.String getItemCol()
        Specified by:
        getItemCol in interface RatingCol
      • getRatingCol

        public java.lang.String getRatingCol()
        Specified by:
        getRatingCol in interface RatingCol