ML-DL-implementation icon indicating copy to clipboard operation
ML-DL-implementation copied to clipboard

Add more loss functions like cross-entropy...

Open TarunTomar122 opened this issue 5 years ago • 22 comments

Right we have implemented only Mean Squared Error and Logarithmic Error as our loss functions in our module. As we are going to implement more and more machine learning algorithms we will need more loss functions. There in this issue you can add one or more loss functions like cross-entropy etc.

Resources:-

https://keras.io/api/losses/ <--------(Most of the known loss functions)

https://machinelearningmastery.com/how-to-choose-loss-functions-when-training-deep-learning-neural-networks/ https://heartbeat.fritz.ai/5-regression-loss-functions-all-machine-learners-should-know-4fb140e9d4b0 https://www.analyticsvidhya.com/blog/2019/08/detailed-guide-7-loss-functions-machine-learning-python-code/

TarunTomar122 avatar Oct 01 '20 14:10 TarunTomar122

I would love to work on this part.

quadri-haider-ali avatar Oct 02 '20 06:10 quadri-haider-ali

@quadri-haider-ali Sure go ahead. Issue assigned to you.

rohansingh9001 avatar Oct 02 '20 06:10 rohansingh9001

I would also like to work on this issue

SaiSrichandra avatar Oct 02 '20 17:10 SaiSrichandra

@SaiSrichandra You can work on this... Do Tell prior what loss function are you going to add?

TarunTomar122 avatar Oct 03 '20 14:10 TarunTomar122

I will add the KL Divergence loss

SaiSrichandra avatar Oct 05 '20 06:10 SaiSrichandra

Okay @SaiSrichandra do keep us updated

TarunTomar122 avatar Oct 05 '20 14:10 TarunTomar122

Hey I would like to add mean squared logarithmic error(msle) and root mean squared logarithmic error(rmlse).

parva-jain avatar Nov 28 '20 15:11 parva-jain

@parva-jain sure go ahead. Keep us updated on your progress and feel free to ask anything in the Gitter channel for further clarification.

rohansingh9001 avatar Dec 02 '20 14:12 rohansingh9001

Hey @rohansingh9001 I would like to add root mean squared logarithmic error (rmsle)

Halix267 avatar Dec 07 '20 16:12 Halix267

Hey @rohansingh9001 I would like to add root mean squared logarithmic error (rmsle)

Actually, I'm ready with the loss function of mean squared logarithmic error and derivative equation of mean squared logarithmic error(handly written) and only left with its implementation in python. Also @rohansingh9001, the equation is a bit complex so how should I justify it?

parva-jain avatar Dec 07 '20 17:12 parva-jain

Hey I would like to add the Triplet loss. Refer this for more info. on it.

Vinit-source avatar Jan 31 '21 18:01 Vinit-source

I would like to add cosine similarity loss function.

Udit-git-acc avatar Feb 25 '21 08:02 Udit-git-acc

@Vinit-source and @Udit-git-acc, Okay 👍

kwanit1142 avatar Feb 26 '21 07:02 kwanit1142

I would like to add logcosh_loss function

ssiddharth27 avatar Feb 26 '21 17:02 ssiddharth27

@Siddharth-Singh27 sure, go on

kwanit1142 avatar Feb 26 '21 18:02 kwanit1142

Completion Phase-1

Huber Loss -> Shreya Sachan Cosine Similarity -> Udit Agarwal Mean Squared log loss -> Devyani Gorkar Log cosh loss -> Siddharth Singh

kwanit1142 avatar Mar 28 '21 08:03 kwanit1142

I would like to add the Binary Crossentropy loss function

dr-ghost avatar Oct 03 '22 18:10 dr-ghost

Sure, go ahead

kwanit1142 avatar Oct 05 '22 06:10 kwanit1142

I want to add hinge function loss , Will I ?

Ritik-in-Tech avatar Dec 23 '22 09:12 Ritik-in-Tech

Sure, Go ahead :) Just check in the files, whether hinge function loss is already there or not?

kwanit1142 avatar Dec 23 '22 12:12 kwanit1142

I would like to add the Poisson Loss function.

yorozuya-2003 avatar Dec 24 '22 01:12 yorozuya-2003

Sure, Go ahead :) Just check in the files, whether Poisson function loss is already there or not?

kwanit1142 avatar Dec 24 '22 06:12 kwanit1142