smile-kotlin
Toggle table of contents
7.1.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
smile-kotlin
smile-kotlin
/
smile.validation
/
crossentropy
crossentropy
fun
crossentropy
(
truth
:
IntArray
,
probability
:
Array
<
DoubleArray
>
)
:
Double
(
source
)
Cross entropy generalizes the log loss metric to multiclass problems.