org
.
apache
.
spark
.
ml
.
odkl
PartitionedRankingEvaluator
Related Docs:
class PartitionedRankingEvaluator
|
package odkl
object
PartitionedRankingEvaluator
extends
Serializable
Linear Supertypes
Serializable
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
PartitionedRankingEvaluator
Serializable
Serializable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
class
CollectStruct
extends
UserDefinedAggregateFunction
class
Metric
extends
Serializable
class
MultiLabelMetricEvaluator
extends
CollectStruct
case class
ScoreLabel
(
label:
Double
,
score:
Double
,
row:
Row
)
extends
Product
with
Serializable
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
auc
(
name:
String
=
"auc"
)
:
Metric
lazy val
byLabelComparator
:
Comparator
[
ScoreLabel
]
lazy val
byScoreComparator
:
Comparator
[
ScoreLabel
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
countDistinctIf
[
T
]
(
name:
String
,
filter: (
Row
) ⇒
Boolean
,
extractor: (
Row
) ⇒
T
)
:
Metric
def
countDistinctIfAt
[
T
]
(
name:
String
,
size:
Int
,
filter: (
Row
) ⇒
Boolean
,
extractor: (
Row
) ⇒
T
)
:
Metric
def
countDistinctRelevantIf
[
T
]
(
name:
String
,
filter: (
Row
) ⇒
Boolean
,
extractor: (
Row
) ⇒
T
)
:
Metric
def
countDistinctRelevantIfAt
[
T
]
(
name:
String
,
size:
Int
,
filter: (
Row
) ⇒
Boolean
,
extractor: (
Row
) ⇒
T
)
:
Metric
def
countIf
(
name:
String
,
filter: (
Row
) ⇒
Boolean
)
:
Metric
def
countIfAt
(
name:
String
,
size:
Int
,
filter: (
Row
) ⇒
Boolean
)
:
Metric
def
countRelevantIf
(
name:
String
,
filter: (
Row
) ⇒
Boolean
)
:
Metric
def
countRelevantIfAt
(
name:
String
,
size:
Int
,
filter: (
Row
) ⇒
Boolean
)
:
Metric
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
f1
(
name:
String
=
"f1"
)
:
Metric
def
f1At
(
at:
Int
,
name:
Option
[
String
] =
None
)
:
Metric
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
foundNegatves
(
name:
String
=
"foundNegatives"
)
:
Metric
def
foundPositives
(
name:
String
=
"foundPositives"
)
:
Metric
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
ndcgStrong
(
name:
String
=
"ndcg"
)
:
Metric
def
ndcgStrongAt
(
at:
Int
,
name:
Option
[
String
] =
None
)
:
Metric
def
ndcgWeak
(
name:
String
=
"ndcgWeak"
)
:
Metric
def
ndcgWeakAt
(
at:
Int
,
name:
Option
[
String
] =
None
)
:
Metric
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
numNegatives
(
name:
String
=
"numNegatives"
)
:
Metric
def
numPositives
(
name:
String
=
"numPositives"
)
:
Metric
def
precision
(
name:
String
=
"precision"
)
:
Metric
def
precisionAt
(
at:
Int
,
name:
Option
[
String
] =
None
)
:
Metric
def
recall
(
name:
String
=
"recall"
)
:
Metric
def
recallAt
(
at:
Int
,
name:
Option
[
String
] =
None
)
:
Metric
def
relativeSortedMetric
(
byLabel:
Iterable
[
ScoreLabel
]
,
byScoreAll:
Iterator
[
ScoreLabel
]
,
op: (
Double
, (
ScoreLabel
,
Int
)) ⇒
Double
,
initial:
Double
=
0.0
)
:
Double
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
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
Serializable
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped