You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if anyone plans to add these things or what they would be used for if they were added. If you think that there are good reasons to add them then please:
Explain precisely what these functions are.
Explain precisely how these might work in SymPy.
Describe what they might be used for.
Explain why there is a benefit in adding them rather than using the existing capabilities of SymPy.
The idea that someone imports the softmax function just to "see" an equation is not a convincing argument for adding these to SymPy. Any mathematical function added to SymPy entails a long tail of maintenance work and bug fixes and there needs to be a nontrivial benefit for that to be worthwhile.
Here are two pull requests in the past that are related to the sigmoid function in the past: #15952#20758 (comment)
Those two pull requests were sort of rejected. I say sort of because essentially what happened is the authors proposed something and then gave up when challenged to give a good motivation for the proposed changes. Likewise here I suggest closing this unless a significant motivation is given.
Is there a plan to add common loss functions like MSE, CrossEntropy to sympy.
Including functions like softmax, sigmoid.
so one could do something like,
and see the softmax equation, along with adding additional arguments required for softmax
The text was updated successfully, but these errors were encountered: