com
.
spotify
.
noether
ClassificationAggregator
Related Doc:
package noether
final
case class
ClassificationAggregator
(
threshold:
Double
=
0.5
,
beta:
Double
=
1.0
)
extends
Aggregator
[
Prediction
,
ConfusionMatrix
,
Scores
] with
Product
with
Serializable
Linear Supertypes
Serializable
,
Product
,
Equals
,
Aggregator
[
Prediction
,
ConfusionMatrix
,
Scores
],
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
ClassificationAggregator
Serializable
Product
Equals
Aggregator
Serializable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
ClassificationAggregator
(
threshold:
Double
=
0.5
,
beta:
Double
=
1.0
)
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
def
andThenPresent
[
D
]
(
present2: (
Scores
) ⇒
D
)
:
Aggregator
[
Prediction
,
ConfusionMatrix
,
D
]
Definition Classes
Aggregator
def
append
(
l:
ConfusionMatrix
,
r:
Prediction
)
:
ConfusionMatrix
Definition Classes
Aggregator
def
appendAll
(
old:
ConfusionMatrix
,
items:
TraversableOnce
[
Prediction
]
)
:
ConfusionMatrix
Definition Classes
Aggregator
def
apply
(
inputs:
TraversableOnce
[
Prediction
]
)
:
Scores
Definition Classes
Aggregator
def
applyCumulatively
[
In <:
TraversableOnce
[
Prediction
]
,
Out
]
(
inputs:
In
)
(
implicit
bf:
CanBuildFrom
[
In
,
Scores
,
Out
]
)
:
Out
Definition Classes
Aggregator
def
applyOption
(
inputs:
TraversableOnce
[
Prediction
]
)
:
Option
[
Scores
]
Definition Classes
Aggregator
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
beta
:
Double
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
composePrepare
[
A1
]
(
prepare2: (
A1
) ⇒
Prediction
)
:
Aggregator
[
A1
,
ConfusionMatrix
,
Scores
]
Definition Classes
Aggregator
def
cumulativeIterator
(
inputs:
Iterator
[
Prediction
]
)
:
Iterator
[
Scores
]
Definition Classes
Aggregator
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
join
[
A2 <:
Prediction
,
B2
,
C2
]
(
that:
Aggregator
[
A2
,
B2
,
C2
]
)
:
Aggregator
[
A2
, (
ConfusionMatrix
,
B2
), (
Scores
,
C2
)]
Definition Classes
Aggregator
def
lift
:
MonoidAggregator
[
Prediction
,
Option
[
ConfusionMatrix
],
Option
[
Scores
]]
Definition Classes
Aggregator
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
prepare
(
input:
Prediction
)
:
ConfusionMatrix
Definition Classes
ClassificationAggregator
→ Aggregator
def
present
(
m:
ConfusionMatrix
)
:
Scores
Definition Classes
ClassificationAggregator
→ Aggregator
def
reduce
(
items:
TraversableOnce
[
ConfusionMatrix
]
)
:
ConfusionMatrix
Definition Classes
Aggregator
def
reduce
(
l:
ConfusionMatrix
,
r:
ConfusionMatrix
)
:
ConfusionMatrix
Definition Classes
Aggregator
def
reduceOption
(
items:
TraversableOnce
[
ConfusionMatrix
]
)
:
Option
[
ConfusionMatrix
]
Definition Classes
Aggregator
def
semigroup
:
Semigroup
[
ConfusionMatrix
]
Definition Classes
ClassificationAggregator
→ Aggregator
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
threshold
:
Double
def
toFold
:
Fold
[
Prediction
,
Option
[
Scores
]]
Definition Classes
Aggregator
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
zip
[
A2
,
B2
,
C2
]
(
ag2:
Aggregator
[
A2
,
B2
,
C2
]
)
:
Aggregator
[(
Prediction
,
A2
), (
ConfusionMatrix
,
B2
), (
Scores
,
C2
)]
Definition Classes
Aggregator
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
Aggregator
[
Prediction
,
ConfusionMatrix
,
Scores
]
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped