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

Function Implementation for Python? #4

Open
bblfish opened this issue Jul 1, 2022 · 3 comments
Open

Function Implementation for Python? #4

bblfish opened this issue Jul 1, 2022 · 3 comments

Comments

@bblfish
Copy link

bblfish commented Jul 1, 2022

I have been tasked to describe some machine learning algorithm using the function ontology.
The implementation is in Python, but there is nothing for Python in fno-io. I guess we would need something like NpmPackage for Python. The packaging system used is Conda https://docs.conda.io/en/latest/
\cc @SemanticBeeng

@bjdmeest
Copy link
Collaborator

bjdmeest commented Jul 1, 2022

oh yes, happy to add it, but as I'm not experienced with Python nor Conda, could you create a suggestion as a PR? Happy to review!

@bblfish
Copy link
Author

bblfish commented Jul 1, 2022

Do you have perhaps a repo somerwhere with good examples using NpmPackage or perhaps something like maven jars? Then I could get a good idea how it should be used before I propose something. I am also a newbie to Python. :-/

@bjdmeest
Copy link
Collaborator

bjdmeest commented Jul 1, 2022

We had a working poc with the code at https://github.com/FnOio/grel-functions-fno/blob/5274db25ebd754a95441614a240e08ce596c194f/resources/fnhub/extra_fn.ttl#L44-L49 (which doesn't use more that what is already mentioned in the spec).

I don't think we did a maven example already, but many JAVAClass examples at https://github.com/FnOio/grel-functions-java/blob/master/src/main/resources/grel_java_mapping.ttl

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

No branches or pull requests

2 participants