org
.
apache
.
spark
.
ml
.
recommendation
BaseRecommendationModel
Related Doc:
package recommendation
trait
BaseRecommendationModel
extends
Params
with
ALSModelParams
with
HasPredictionCol
Linear Supertypes
ALSModelParams
,
HasPredictionCol
,
Params
,
Serializable
,
Serializable
,
Identifiable
,
AnyRef
,
Any
Known Subclasses
SARModel
Ordering
Alphabetic
By Inheritance
Inherited
BaseRecommendationModel
ALSModelParams
HasPredictionCol
Params
Serializable
Serializable
Identifiable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Abstract Value Members
abstract
def
copy
(
extra:
ParamMap
)
:
Params
Definition Classes
Params
abstract
def
recommendForAllUsers
(
k:
Int
)
:
DataFrame
abstract
val
uid
:
String
Definition Classes
Identifiable
Concrete Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
$
[
T
]
(
param:
Param
[
T
]
)
:
T
Attributes
protected
Definition Classes
Params
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
checkedCast
:
UserDefinedFunction
Attributes
protected[
org.apache.spark.ml.recommendation
]
Definition Classes
ALSModelParams
final
def
clear
(
param:
Param
[_]
)
:
BaseRecommendationModel
.this.type
Definition Classes
Params
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
coldStartStrategy
:
Param
[
String
]
Definition Classes
ALSModelParams
def
copyValues
[
T <:
Params
]
(
to:
T
,
extra:
ParamMap
)
:
T
Attributes
protected
Definition Classes
Params
final
def
defaultCopy
[
T <:
Params
]
(
extra:
ParamMap
)
:
T
Attributes
protected
Definition Classes
Params
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
explainParam
(
param:
Param
[_]
)
:
String
Definition Classes
Params
def
explainParams
()
:
String
Definition Classes
Params
final
def
extractParamMap
()
:
ParamMap
Definition Classes
Params
final
def
extractParamMap
(
extra:
ParamMap
)
:
ParamMap
Definition Classes
Params
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
get
[
T
]
(
param:
Param
[
T
]
)
:
Option
[
T
]
Definition Classes
Params
def
getALSModel
(
uid:
String
,
rank:
Int
,
userFactors:
DataFrame
,
itemFactors:
DataFrame
)
:
ALSModel
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getColdStartStrategy
:
String
Definition Classes
ALSModelParams
final
def
getDefault
[
T
]
(
param:
Param
[
T
]
)
:
Option
[
T
]
Definition Classes
Params
def
getItemCol
:
String
Definition Classes
ALSModelParams
final
def
getOrDefault
[
T
]
(
param:
Param
[
T
]
)
:
T
Definition Classes
Params
def
getParam
(
paramName:
String
)
:
Param
[
Any
]
Definition Classes
Params
final
def
getPredictionCol
:
String
Definition Classes
HasPredictionCol
def
getUserCol
:
String
Definition Classes
ALSModelParams
final
def
hasDefault
[
T
]
(
param:
Param
[
T
]
)
:
Boolean
Definition Classes
Params
def
hasParam
(
paramName:
String
)
:
Boolean
Definition Classes
Params
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isDefined
(
param:
Param
[_]
)
:
Boolean
Definition Classes
Params
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
isSet
(
param:
Param
[_]
)
:
Boolean
Definition Classes
Params
val
itemCol
:
Param
[
String
]
Definition Classes
ALSModelParams
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
lazy val
params
:
Array
[
Param
[_]]
Definition Classes
Params
final
val
predictionCol
:
Param
[
String
]
Definition Classes
HasPredictionCol
final
def
set
(
paramPair:
ParamPair
[_]
)
:
BaseRecommendationModel
.this.type
Attributes
protected
Definition Classes
Params
final
def
set
(
param:
String
,
value:
Any
)
:
BaseRecommendationModel
.this.type
Attributes
protected
Definition Classes
Params
final
def
set
[
T
]
(
param:
Param
[
T
]
,
value:
T
)
:
BaseRecommendationModel
.this.type
Definition Classes
Params
final
def
setDefault
(
paramPairs:
ParamPair
[_]*
)
:
BaseRecommendationModel
.this.type
Attributes
protected
Definition Classes
Params
final
def
setDefault
[
T
]
(
param:
Param
[
T
]
,
value:
T
)
:
BaseRecommendationModel
.this.type
Attributes
protected
Definition Classes
Params
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
Identifiable → AnyRef → Any
def
transform
(
rank:
Int
,
userDataFrame:
DataFrame
,
itemDataFrame:
DataFrame
,
dataset:
Dataset
[_]
)
:
DataFrame
val
userCol
:
Param
[
String
]
Definition Classes
ALSModelParams
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
ALSModelParams
Inherited from
HasPredictionCol
Inherited from
Params
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Identifiable
Inherited from
AnyRef
Inherited from
Any
Ungrouped