class SARModel extends Model[SARModel] with BaseRecommendationModel with Wrappable with SARParams with ComplexParamsWritable with SynapseMLLogging

SAR Model

Linear Supertypes
SynapseMLLogging, ComplexParamsWritable, MLWritable, SARParams, RecommendationParams, ALSParams, HasSeed, HasCheckpointInterval, HasRegParam, HasMaxIter, Wrappable, RWrappable, PythonWrappable, BaseWrappable, BaseRecommendationModel, ALSModelParams, HasBlockSize, HasPredictionCol, Model[SARModel], Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SARModel
  2. SynapseMLLogging
  3. ComplexParamsWritable
  4. MLWritable
  5. SARParams
  6. RecommendationParams
  7. ALSParams
  8. HasSeed
  9. HasCheckpointInterval
  10. HasRegParam
  11. HasMaxIter
  12. Wrappable
  13. RWrappable
  14. PythonWrappable
  15. BaseWrappable
  16. BaseRecommendationModel
  17. ALSModelParams
  18. HasBlockSize
  19. HasPredictionCol
  20. Model
  21. Transformer
  22. PipelineStage
  23. Logging
  24. Params
  25. Serializable
  26. Serializable
  27. Identifiable
  28. AnyRef
  29. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SARModel()
  2. new SARModel(uid: String)

    uid

    The id of the module

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. val activityTimeFormat: Param[String]
    Definition Classes
    SARParams
  6. val alpha: DoubleParam
    Definition Classes
    ALSParams
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. final val blockSize: IntParam
    Definition Classes
    HasBlockSize
  9. def checkIntegers(dataset: Dataset[_], colName: String): Column
    Attributes
    protected[org.apache.spark.ml.recommendation]
    Definition Classes
    ALSModelParams
  10. final val checkpointInterval: IntParam
    Definition Classes
    HasCheckpointInterval
  11. lazy val classNameHelper: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  12. final def clear(param: Param[_]): SARModel.this.type
    Definition Classes
    Params
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  14. val coldStartStrategy: Param[String]
    Definition Classes
    ALSModelParams
  15. def companionModelClassName: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  16. def copy(extra: ParamMap): SARModel
    Definition Classes
    SARModel → Model → Transformer → PipelineStage → Params
  17. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  18. lazy val copyrightLines: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  19. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  22. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  23. def explainParams(): String
    Definition Classes
    Params
  24. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  25. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  26. val finalStorageLevel: Param[String]
    Definition Classes
    ALSParams
  27. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  29. def getALSModel(uid: String, rank: Int, userFactors: DataFrame, itemFactors: DataFrame): ALSModel
    Definition Classes
    BaseRecommendationModel
  30. def getAlpha: Double
    Definition Classes
    ALSParams
  31. final def getBlockSize: Int
    Definition Classes
    HasBlockSize
  32. final def getCheckpointInterval: Int
    Definition Classes
    HasCheckpointInterval
  33. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def getColdStartStrategy: String
    Definition Classes
    ALSModelParams
  35. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  36. def getFinalStorageLevel: String
    Definition Classes
    ALSParams
  37. def getImplicitPrefs: Boolean
    Definition Classes
    ALSParams
  38. def getIntermediateStorageLevel: String
    Definition Classes
    ALSParams
  39. def getItemCol: String
    Definition Classes
    ALSModelParams
  40. def getItemDataFrame: DataFrame

  41. final def getMaxIter: Int
    Definition Classes
    HasMaxIter
  42. def getNonnegative: Boolean
    Definition Classes
    ALSParams
  43. def getNumItemBlocks: Int
    Definition Classes
    ALSParams
  44. def getNumUserBlocks: Int
    Definition Classes
    ALSParams
  45. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  46. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  47. def getParamInfo(p: Param[_]): ParamInfo[_]
    Definition Classes
    BaseWrappable
  48. def getPayload(methodName: String, numCols: Option[Int], executionSeconds: Option[Double], exception: Option[Exception]): Map[String, String]
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  49. final def getPredictionCol: String
    Definition Classes
    HasPredictionCol
  50. def getRank: Int
    Definition Classes
    ALSParams
  51. def getRatingCol: String
    Definition Classes
    ALSParams
  52. final def getRegParam: Double
    Definition Classes
    HasRegParam
  53. final def getSeed: Long
    Definition Classes
    HasSeed
  54. def getUserCol: String
    Definition Classes
    ALSModelParams
  55. def getUserDataFrame: DataFrame

  56. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  57. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  58. def hasParent: Boolean
    Definition Classes
    Model
  59. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  60. val implicitPrefs: BooleanParam
    Definition Classes
    ALSParams
  61. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  62. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  63. val intermediateStorageLevel: Param[String]
    Definition Classes
    ALSParams
  64. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  65. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  66. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  67. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  68. val itemCol: Param[String]
    Definition Classes
    ALSModelParams
  69. val itemDataFrame: DataFrameParam
  70. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  71. def logBase(info: Map[String, String], featureName: Option[String]): Unit
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  72. def logBase(methodName: String, numCols: Option[Int], executionSeconds: Option[Double], featureName: Option[String]): Unit
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  73. def logClass(featureName: String): Unit
    Definition Classes
    SynapseMLLogging
  74. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  75. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  76. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  77. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  78. def logErrorBase(methodName: String, e: Exception): Unit
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  79. def logFit[T](f: ⇒ T, columns: Int): T
    Definition Classes
    SynapseMLLogging
  80. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  81. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  82. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  83. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  84. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  85. def logTransform[T](f: ⇒ T, columns: Int): T
    Definition Classes
    SynapseMLLogging
  86. def logVerb[T](verb: String, f: ⇒ T, columns: Option[Int] = None): T
    Definition Classes
    SynapseMLLogging
  87. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  88. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  89. def makePyFile(conf: CodegenConfig): Unit
    Definition Classes
    PythonWrappable
  90. def makeRFile(conf: CodegenConfig): Unit
    Definition Classes
    RWrappable
  91. final val maxIter: IntParam
    Definition Classes
    HasMaxIter
  92. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  93. val nonnegative: BooleanParam
    Definition Classes
    ALSParams
  94. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  95. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  96. val numItemBlocks: IntParam
    Definition Classes
    ALSParams
  97. val numUserBlocks: IntParam
    Definition Classes
    ALSParams
  98. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  99. var parent: Estimator[SARModel]
    Definition Classes
    Model
  100. final val predictionCol: Param[String]
    Definition Classes
    HasPredictionCol
  101. def pyAdditionalMethods: String
    Definition Classes
    PythonWrappable
  102. lazy val pyClassDoc: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  103. lazy val pyClassName: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  104. def pyExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  105. def pyExtraEstimatorMethods: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  106. lazy val pyInheritedClasses: Seq[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  107. def pyInitFunc(): String
    Definition Classes
    PythonWrappable
  108. lazy val pyInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    SARModelPythonWrappable
  109. lazy val pyObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  110. def pyParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  111. def pyParamDefault[T](p: Param[T]): Option[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  112. def pyParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  113. def pyParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  114. def pyParamsArgs: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  115. def pyParamsDefaults: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  116. lazy val pyParamsDefinitions: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  117. def pyParamsGetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  118. def pyParamsSetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  119. def pythonClass(): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  120. def rClass(): String
    Attributes
    protected
    Definition Classes
    RWrappable
  121. def rDocString: String
    Attributes
    protected
    Definition Classes
    RWrappable
  122. def rExtraBodyLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  123. def rExtraInitLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  124. lazy val rFuncName: String
    Attributes
    protected
    Definition Classes
    RWrappable
  125. lazy val rInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    RWrappable
  126. def rParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    RWrappable
  127. def rParamsArgs: String
    Attributes
    protected
    Definition Classes
    RWrappable
  128. def rSetterLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  129. val rank: IntParam
    Definition Classes
    ALSParams
  130. val ratingCol: Param[String]
    Definition Classes
    ALSParams
  131. def recommendForAllItems(numItems: Int): DataFrame
    Definition Classes
    SARModelBaseRecommendationModel
  132. def recommendForAllUsers(numItems: Int): DataFrame

    Returns top numItems items recommended for each user, for all users.

    Returns top numItems items recommended for each user, for all users.

    numItems

    max number of recommendations for each user

    returns

    a DataFrame of (userCol: Int, recommendations), where recommendations are stored as an array of (itemCol: Int, rating: Float) Rows.

    Definition Classes
    SARModelBaseRecommendationModel
  133. def recommendForUserSubset(dataset: Dataset[_], numItems: Int): DataFrame

    Returns top numItems items recommended for each user id in the input data set.

    Returns top numItems items recommended for each user id in the input data set. Note that if there are duplicate ids in the input dataset, only one set of recommendations per unique id will be returned.

    dataset

    a Dataset containing a column of user ids. The column name must match userCol.

    numItems

    max number of recommendations for each user.

    returns

    a DataFrame of (userCol: Int, recommendations), where recommendations are stored as an array of (itemCol: Int, rating: Float) Rows.

  134. final val regParam: DoubleParam
    Definition Classes
    HasRegParam
  135. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  136. final val seed: LongParam
    Definition Classes
    HasSeed
  137. final def set(paramPair: ParamPair[_]): SARModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  138. final def set(param: String, value: Any): SARModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  139. final def set[T](param: Param[T], value: T): SARModel.this.type
    Definition Classes
    Params
  140. def setActivityTimeFormat(value: String): SARModel.this.type
    Definition Classes
    SARParams
  141. def setAlpha(value: Double): SARModel.this.type

    Definition Classes
    RecommendationParams
  142. def setBlockSize(value: Int): SARModel.this.type

    Definition Classes
    RecommendationParams
  143. def setCheckpointInterval(value: Int): SARModel.this.type

    Definition Classes
    RecommendationParams
  144. def setColdStartStrategy(value: String): SARModel.this.type

    Definition Classes
    RecommendationParams
  145. final def setDefault(paramPairs: ParamPair[_]*): SARModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  146. final def setDefault[T](param: Param[T], value: T): SARModel.this.type
    Attributes
    protected[org.apache.spark.ml]
    Definition Classes
    Params
  147. def setFinalStorageLevel(value: String): SARModel.this.type

    Definition Classes
    RecommendationParams
  148. def setImplicitPrefs(value: Boolean): SARModel.this.type

    Definition Classes
    RecommendationParams
  149. def setIntermediateStorageLevel(value: String): SARModel.this.type

    Definition Classes
    RecommendationParams
  150. def setItemCol(value: String): SARModel.this.type

    Definition Classes
    SARParams
  151. def setItemDataFrame(value: DataFrame): SARModel.this.type

  152. def setMaxIter(value: Int): SARModel.this.type

    Definition Classes
    RecommendationParams
  153. def setNonnegative(value: Boolean): SARModel.this.type

    Definition Classes
    RecommendationParams
  154. def setNumItemBlocks(value: Int): SARModel.this.type

    Definition Classes
    RecommendationParams
  155. def setNumUserBlocks(value: Int): SARModel.this.type

    Definition Classes
    RecommendationParams
  156. def setParent(parent: Estimator[SARModel]): SARModel
    Definition Classes
    Model
  157. def setPredictionCol(value: String): SARModel.this.type

    Definition Classes
    RecommendationParams
  158. def setRank(value: Int): SARModel.this.type

    Definition Classes
    RecommendationParams
  159. def setRatingCol(value: String): SARModel.this.type

    Definition Classes
    SARParams
  160. def setRegParam(value: Double): SARModel.this.type

    Definition Classes
    RecommendationParams
  161. def setSeed(value: Long): SARModel.this.type

    Definition Classes
    RecommendationParams
  162. def setSimilarityFunction(value: String): SARModel.this.type

    Definition Classes
    SARParams
  163. def setStartTime(value: String): SARModel.this.type
    Definition Classes
    SARParams
  164. def setStartTimeFormat(value: String): SARModel.this.type
    Definition Classes
    SARParams
  165. def setSupportThreshold(value: Int): SARModel.this.type
    Definition Classes
    SARParams
  166. def setTimeCol(value: String): SARModel.this.type

    Definition Classes
    SARParams
  167. def setTimeDecayCoeff(value: Int): SARModel.this.type
    Definition Classes
    SARParams
  168. def setUserCol(value: String): SARModel.this.type

    Definition Classes
    SARParams
  169. def setUserDataFrame(value: DataFrame): SARModel.this.type

  170. val similarityFunction: Param[String]
    Definition Classes
    SARParams
  171. val startTime: Param[String]
    Definition Classes
    SARParams
  172. val startTimeFormat: Param[String]
    Definition Classes
    SARParams
  173. val supportThreshold: IntParam
    Definition Classes
    SARParams
  174. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  175. val thisStage: Params
    Attributes
    protected
    Definition Classes
    BaseWrappable
  176. val timeCol: Param[String]
    Definition Classes
    SARParams
  177. val timeDecayCoeff: IntParam
    Definition Classes
    SARParams
  178. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  179. def transform(dataset: Dataset[_]): DataFrame
    Definition Classes
    SARModel → Transformer
  180. def transform(rank: Int, userDataFrame: DataFrame, itemDataFrame: DataFrame, dataset: Dataset[_]): DataFrame
    Definition Classes
    BaseRecommendationModel
  181. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  182. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  183. def transformSchema(schema: StructType): StructType
    Definition Classes
    SARModel → PipelineStage
  184. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  185. val uid: String
    Definition Classes
    SARModelSynapseMLLogging → Identifiable
  186. val userCol: Param[String]
    Definition Classes
    ALSModelParams
  187. val userDataFrame: DataFrameParam
  188. def validateAndTransformSchema(schema: StructType): StructType
    Attributes
    protected
    Definition Classes
    ALSParams
  189. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  190. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  191. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  192. def write: MLWriter
    Definition Classes
    ComplexParamsWritable → MLWritable

Inherited from SynapseMLLogging

Inherited from ComplexParamsWritable

Inherited from MLWritable

Inherited from SARParams

Inherited from RecommendationParams

Inherited from ALSParams

Inherited from HasSeed

Inherited from HasCheckpointInterval

Inherited from HasRegParam

Inherited from HasMaxIter

Inherited from Wrappable

Inherited from RWrappable

Inherited from PythonWrappable

Inherited from BaseWrappable

Inherited from BaseRecommendationModel

Inherited from ALSModelParams

Inherited from HasBlockSize

Inherited from HasPredictionCol

Inherited from Model[SARModel]

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

setParam

Ungrouped