Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Adding Loss functions of Machine Learning in maths folder #559

Open
5 of 8 tasks
GreatRSingh opened this issue Oct 9, 2023 · 14 comments
Open
5 of 8 tasks

Comments

@GreatRSingh
Copy link
Contributor

GreatRSingh commented Oct 9, 2023

I would like to suggest adding Loss functions in this repo.

The loss function estimates how well a particular algorithm models the provided data.

Add Loss Functions to: machine_learning/loss_functions

Task List:

  • Cross-Entropy
  • Hinge loss
  • Huber loss.
  • MSE
  • NLL
  • MAE
  • Marginal Ranking
  • KL Divergence
@Navaneeth-Sharma
Copy link
Contributor

Hi @GreatRSingh ,
Thanks for the suggestion. Just to give an update, Some of them already implemented in maths section. Please check that. I have taken this up to add as many functions as possible.

@GreatRSingh
Copy link
Contributor Author

@Navaneeth-Sharma Can you put up a list of loss functions that you are going to implement and which you have already implemented?

@Navaneeth-Sharma
Copy link
Contributor

Navaneeth-Sharma commented Oct 10, 2023

Sorry @GreatRSingh ,
I think I miss read loss as activation functions. Loss functions aren't implemented. But have a plans to do that specially the basic ones like Cross Entropy, MSE, RMSE. You can take it up some of those, if you like to contribute.

@GreatRSingh
Copy link
Contributor Author

@Navaneeth-Sharma ok I will do that.

@Navaneeth-Sharma
Copy link
Contributor

Hi, Just an info so that we dont implement the same losses, I will try to take up these loss functions

  • Cross-Entropy loss (bin class, multi class)
  • Hinge loss
  • Huber loss.
    Let me know if any of them are already taken @GreatRSingh

@GreatRSingh
Copy link
Contributor Author

@Navaneeth-Sharma No none of them are already taken.

I will take up MSE, NLL, MAE, MarginRanking, KLDivergence.

@GreatRSingh
Copy link
Contributor Author

GreatRSingh commented Oct 11, 2023

@Navaneeth-Sharma @siriak I have added a list of Loss Functions in the description.
Keep Suggesting any other if needed.

Copy link

This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Nov 20, 2023
@GreatRSingh
Copy link
Contributor Author

Working on adding Hinge Loss

@github-actions github-actions bot removed the stale label Nov 21, 2023
Copy link

This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@mobley-trent
Copy link
Contributor

Are all these functions taken ?

@GreatRSingh
Copy link
Contributor Author

GreatRSingh commented Jan 4, 2024 via email

@avats-dev
Copy link
Contributor

Opened a PR to add KL divergence loss as a sub task of this issue. #656
Kindly review.

@TruongNhanNguyen
Copy link
Contributor

I have opened a PR that implements Huber loss function, which is mentioned is this issue #697 🚀.
Let's take a look on this PR 🤗.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants