Skip to contents

Composes morie_geron_softmax_score_grsmxs() with the grn021 softmax.

Usage

morie_geron_softmax_probability(X, theta)

Arguments

X, theta

Design and (n, K) parameters.

Value

List with probabilities, 0-based predictions, scores.

Examples

V <- c(1, 2, 3, 4, 5, 6, 7, 8)
morie_geron_softmax_probability(V, V)
#> $probabilities
#>      [,1]
#> [1,]    1
#> 
#> $predictions
#> [1] 0
#> 
#> $scores
#>      [,1]
#> [1,]  204
#> 
#> $estimate
#>      [,1]
#> [1,]    1
#> 
#> $n
#> [1] 1
#>