-
Notifications
You must be signed in to change notification settings - Fork 225
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
[Feature]: Custom loss function implementation in python #672
Comments
Maybe you could try PythonCall.jl? https://juliapy.github.io/PythonCall.jl/stable/pythoncall/ It lets you call Python functions from Julia. See https://astroautomata.com/PySR/examples/#7-julia-packages-and-types for an example of using an external Julia package in the loss function. |
It somewhat worked thanks.
Though I had to do because of
also, how can I do loss_function intead of elemenetwise_loss? I think seval needs to have explicit types in args
|
btw is it possible to do multivaritive prediction (multiple outpouts)? |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Feature Request
Hello. I would like to have a feature, where I can pass custom function loss implemented in python instead of in julia. I'm not able to implement it in julia as it part of bigger optimization pipeline. I believe this feature can be implemented by passing python function pointer to julia and executing it from there.
The text was updated successfully, but these errors were encountered: