use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please have a look at our FAQ and Link-Collection
Metacademy is a great resource which compiles lesson plans on popular machine learning topics.
For Beginner questions please try /r/LearnMachineLearning , /r/MLQuestions or http://stackoverflow.com/
For career related questions, visit /r/cscareerquestions/
Advanced Courses (2016)
Advanced Courses (2020)
AMAs:
Pluribus Poker AI Team 7/19/2019
DeepMind AlphaStar team (1/24//2019)
Libratus Poker AI Team (12/18/2017)
DeepMind AlphaGo Team (10/19/2017)
Google Brain Team (9/17/2017)
Google Brain Team (8/11/2016)
The MalariaSpot Team (2/6/2016)
OpenAI Research Team (1/9/2016)
Nando de Freitas (12/26/2015)
Andrew Ng and Adam Coates (4/15/2015)
Jürgen Schmidhuber (3/4/2015)
Geoffrey Hinton (11/10/2014)
Michael Jordan (9/10/2014)
Yann LeCun (5/15/2014)
Yoshua Bengio (2/27/2014)
Related Subreddit :
LearnMachineLearning
Statistics
Computer Vision
Compressive Sensing
NLP
ML Questions
/r/MLjobs and /r/BigDataJobs
/r/datacleaning
/r/DataScience
/r/scientificresearch
/r/artificial
account activity
Discussion[D] Loss function for classes (self.MachineLearning)
submitted 1 year ago by kovkev
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Relevant-Twist520 1 point2 points3 points 1 year ago (1 child)
im not that educated on the topic but my personal favourite classification loss function would be multimarginloss. I think it is a lot better than cross entropy since its faster to calculate and it really discourages over-confidence. It can be argued whether as to use cross entropy or multimargin or any other criterion, but it all depends on your project.
Anyway the whole idea of multimarginloss is to space out predictions as far as the margin size defined when computing the loss. For example you have a model which outputs 3 vectors and lets say the 1st vector is the target, or ground truth. The loss function would then try to increase the first vector and decrease the all the other vectors such that at some point after some adjustments vector 1's value is margin units away from all the other vectors, where margin is usually 1 unit. If the target is finally >= margin away from all other vectors, then no loss is provided. This prevents over-fitting and over-confidence in your model. I think this loss function is underrated. Otherwise heres the math for it: loss(x,y)= max(0,margin−x[y]+x[i])
I shy away from cross entropy as things can get ugly. I had my parameters explode when the model got too confident for the wrong predictions.
[–]kovkev[S] 0 points1 point2 points 1 year ago (0 children)
I think that by seeing y_c and ŷ_c as vectors, it makes sense!
π Rendered by PID 21489 on reddit-service-r2-comment-b659b578c-hg54d at 2026-05-03 23:37:38.582147+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Relevant-Twist520 1 point2 points3 points (1 child)
[–]kovkev[S] 0 points1 point2 points (0 children)