Skip to content

Commit

Permalink
misc: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
DoktorMike committed Jul 18, 2022
1 parent e412f92 commit 20b1280
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/losses.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,3 @@ function dirloss(y, α, t)
sum(loss .+ λₜ .* reg)
end

#y = Flux.onehotbatch(rand(Categorical([0.2, 0.2, 0.2, 0.2, 0.2]), 10), 1:5)
#α = reshape(1:50, (5, 10))
#S = sum(α, dims = 1)
#p̂ = α ./ S
#α̂ = @. y + (1 - y) * α
#kl(α̂)

0 comments on commit 20b1280

Please sign in to comment.