com
.
microsoft
.
ml
.
spark
.
recommendation
RankingAdapter
Related Docs:
object RankingAdapter
|
package recommendation
class
RankingAdapter
extends
Estimator
[
RankingAdapterModel
] with
ComplexParamsWritable
with
RankingParams
with
Mode
Linear Supertypes
Mode
,
RankingParams
,
hasK
,
HasLabelCol
,
Wrappable
,
HasRecommenderCols
,
ComplexParamsWritable
,
MLWritable
,
Estimator
[
RankingAdapterModel
],
PipelineStage
,
Logging
,
Params
,
Serializable
,
Serializable
,
Identifiable
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
RankingAdapter
Mode
RankingParams
hasK
HasLabelCol
Wrappable
HasRecommenderCols
ComplexParamsWritable
MLWritable
Estimator
PipelineStage
Logging
Params
Serializable
Serializable
Identifiable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
RankingAdapter
()
new
RankingAdapter
(
uid:
String
)
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
def
additionalPythonMethods
()
:
String
Definition Classes
Wrappable
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
final
def
clear
(
param:
Param
[_]
)
:
RankingAdapter
.this.type
Definition Classes
Params
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
copy
(
extra:
ParamMap
)
:
RankingAdapter
Definition Classes
RankingAdapter
→ Estimator → PipelineStage → Params
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]
)
def
fit
(
dataset:
Dataset
[_]
)
:
RankingAdapterModel
Definition Classes
RankingAdapter
→ Estimator
def
fit
(
dataset:
Dataset
[_]
,
paramMaps:
Array
[
ParamMap
]
)
:
Seq
[
RankingAdapterModel
]
Definition Classes
Estimator
Annotations
@Since
(
"2.0.0"
)
def
fit
(
dataset:
Dataset
[_]
,
paramMap:
ParamMap
)
:
RankingAdapterModel
Definition Classes
Estimator
Annotations
@Since
(
"2.0.0"
)
def
fit
(
dataset:
Dataset
[_]
,
firstParamPair:
ParamPair
[_]
,
otherParamPairs:
ParamPair
[_]*
)
:
RankingAdapterModel
Definition Classes
Estimator
Annotations
@Since
(
"2.0.0"
)
@varargs
()
final
def
get
[
T
]
(
param:
Param
[
T
]
)
:
Option
[
T
]
Definition Classes
Params
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
getDefault
[
T
]
(
param:
Param
[
T
]
)
:
Option
[
T
]
Definition Classes
Params
def
getItemCol
:
String
Definition Classes
RankingAdapter
→
HasRecommenderCols
def
getK
:
Int
Definition Classes
hasK
def
getLabelCol
:
String
Definition Classes
HasLabelCol
def
getMinRatingsPerItem
:
Int
Definition Classes
RankingParams
def
getMinRatingsPerUser
:
Int
Definition Classes
RankingParams
def
getMode
:
String
Definition Classes
Mode
final
def
getOrDefault
[
T
]
(
param:
Param
[
T
]
)
:
T
Definition Classes
Params
def
getParam
(
paramName:
String
)
:
Param
[
Any
]
Definition Classes
Params
def
getRatingCol
:
String
Definition Classes
RankingAdapter
→
HasRecommenderCols
def
getRecommender
:
Estimator
[_ <:
Model
[_]]
Definition Classes
RankingParams
def
getUserCol
:
String
Definition Classes
RankingAdapter
→
HasRecommenderCols
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
def
initializeLogIfNecessary
(
isInterpreter:
Boolean
,
silent:
Boolean
)
:
Boolean
Attributes
protected
Definition Classes
Logging
def
initializeLogIfNecessary
(
isInterpreter:
Boolean
)
:
Unit
Attributes
protected
Definition Classes
Logging
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
def
isTraceEnabled
()
:
Boolean
Attributes
protected
Definition Classes
Logging
val
itemCol
:
Param
[
String
]
Definition Classes
HasRecommenderCols
val
k
:
IntParam
Definition Classes
hasK
val
labelCol
:
Param
[
String
]
The name of the label column
The name of the label column
Definition Classes
HasLabelCol
def
log
:
Logger
Attributes
protected
Definition Classes
Logging
def
logDebug
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logDebug
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logError
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logError
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logInfo
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logInfo
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logName
:
String
Attributes
protected
Definition Classes
Logging
def
logTrace
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logTrace
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logWarning
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logWarning
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
val
minRatingsPerItem
:
IntParam
Definition Classes
RankingParams
val
minRatingsPerUser
:
IntParam
Definition Classes
RankingParams
val
mode
:
Param
[
String
]
Definition Classes
Mode
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
val
ratingCol
:
Param
[
String
]
Definition Classes
HasRecommenderCols
val
recommender
:
EstimatorParam
Definition Classes
RankingParams
def
save
(
path:
String
)
:
Unit
Definition Classes
MLWritable
Annotations
@Since
(
"1.6.0"
)
@throws
(
...
)
final
def
set
(
paramPair:
ParamPair
[_]
)
:
RankingAdapter
.this.type
Attributes
protected
Definition Classes
Params
final
def
set
(
param:
String
,
value:
Any
)
:
RankingAdapter
.this.type
Attributes
protected
Definition Classes
Params
final
def
set
[
T
]
(
param:
Param
[
T
]
,
value:
T
)
:
RankingAdapter
.this.type
Definition Classes
Params
final
def
setDefault
(
paramPairs:
ParamPair
[_]*
)
:
RankingAdapter
.this.type
Attributes
protected
Definition Classes
Params
final
def
setDefault
[
T
]
(
param:
Param
[
T
]
,
value:
T
)
:
RankingAdapter
.this.type
Attributes
protected
Definition Classes
Params
def
setItemCol
(
value:
String
)
:
RankingAdapter
.this.type
Definition Classes
HasRecommenderCols
def
setK
(
value:
Int
)
:
RankingAdapter
.this.type
Definition Classes
hasK
def
setLabelCol
(
value:
String
)
:
RankingAdapter
.this.type
Definition Classes
HasLabelCol
def
setMinRatingsPerItem
(
value:
Int
)
:
RankingAdapter
.this.type
Definition Classes
RankingParams
def
setMinRatingsPerUser
(
value:
Int
)
:
RankingAdapter
.this.type
Definition Classes
RankingParams
def
setMode
(
value:
String
)
:
RankingAdapter
.this.type
Definition Classes
Mode
def
setRatingCol
(
value:
String
)
:
RankingAdapter
.this.type
Definition Classes
HasRecommenderCols
def
setRecommender
(
value:
Estimator
[_ <:
Model
[_]]
)
:
RankingAdapter
.this.type
Definition Classes
RankingParams
def
setUserCol
(
value:
String
)
:
RankingAdapter
.this.type
Definition Classes
HasRecommenderCols
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
Identifiable → AnyRef → Any
def
transformSchema
(
schema:
StructType
)
:
StructType
Definition Classes
Mode
def
transformSchema
(
schema:
StructType
,
logging:
Boolean
)
:
StructType
Attributes
protected
Definition Classes
PipelineStage
Annotations
@DeveloperApi
()
val
uid
:
String
Definition Classes
RankingAdapter
→ Identifiable
val
userCol
:
Param
[
String
]
Definition Classes
HasRecommenderCols
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
(
...
)
def
write
:
MLWriter
Definition Classes
ComplexParamsWritable
→ MLWritable
Inherited from
Mode
Inherited from
RankingParams
Inherited from
hasK
Inherited from
HasLabelCol
Inherited from
Wrappable
Inherited from
HasRecommenderCols
Inherited from
ComplexParamsWritable
Inherited from
MLWritable
Inherited from
Estimator
[
RankingAdapterModel
]
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
param
setParam
Ungrouped