Skip to content

Commit

Permalink
fixing type aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
vilen committed Nov 13, 2015
1 parent d926070 commit 1a660fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/loss_derivative.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#

# Solution evaluation at sample(s) At with or w/o labels yt
evaluate(At::AbstractArray,yt,w) = map(i->sum(At[:,i].*w),1:1:length(yt)).*yt
evaluate(At::AbstractMatrix,yt,w) = map(i->sum(At[:,i].*w),1:1:length(yt)).*yt
evaluate(At::AbstractMatrix,w) = map(i->sum(At[:,i].*w),1:1:size(At,2))
evaluate(At::Vector,yt,w) = dot(At,w[:])*yt
Expand Down

0 comments on commit 1a660fb

Please sign in to comment.