I am trying to optimise a cost function where I find the mean Euclidean 
distance between each data point and a weight. However, depending on the 
class of the data, I use the weight for that particular class. So the cost 
function looks like:
sum_i ||x_i - w_{y_i}||^2

How do I implement this cost function in Theano?

Thanks

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to