You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by gjj <no...@github.com> on 2020/06/18 09:57:16 UTC

[apache/incubator-teaclave] about write a new function with python (#363)

the mesapy_echo_payload.py is too easy , how can i write a python function just like private_join_and_compute.rs?  private_join_and_compute.rs more in line with the actual case ,but 
But learning rust is too expensive

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/363

Re: [apache/incubator-teaclave] about write a new function with python (#363)

Posted by gjj <no...@github.com>.
> Thanks, that's a good suggestion! We had a more complex example of implementing a logistic regression with Python in our previous legacy version (https://github.com/apache/incubator-teaclave/blob/legacy/examples/py_logistic_reg/payload.py). If you have interest to contribute, I can help you to migrate this function to our current platform as an example.

I'll learn teacraft first . 
i have anthor question : when i finish install teaclave  in simulation mode, i can not find the The Teaclave command line tool (teaclave_cli) , where is it ? 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/363#issuecomment-646408336

Re: [apache/incubator-teaclave] about write a new function with python (#363)

Posted by Mingshen Sun <no...@github.com>.
Closed #363.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/363#event-3480176092

Re: [apache/incubator-teaclave] about write a new function with python (#363)

Posted by Mingshen Sun <no...@github.com>.
Please install the openssl library: `sudo apt-get install libssl-dev` (for Ubuntu).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/363#issuecomment-646417240

Re: [apache/incubator-teaclave] about write a new function with python (#363)

Posted by Mingshen Sun <no...@github.com>.
Thanks to @GeminiCarrie, a PR (0316757e2dfe748185b84d1bff5ae04701b46c8f) of an example on using Python to implement logistic regression has been merged. Please check it out. Thanks.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/363#issuecomment-647785165

Re: [apache/incubator-teaclave] about write a new function with python (#363)

Posted by Mingshen Sun <no...@github.com>.
Tutorial on writing functions in Python is also added: https://teaclave.apache.org/docs/functions-in-python/.

I think this issue can be closed. Thanks!


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/363#issuecomment-649192400

Re: [apache/incubator-teaclave] about write a new function with python (#363)

Posted by gjj <no...@github.com>.
> After building the platform, all compilation output will be copied to the `release/` directory. The CLI will be at `release/cli/teaclave_cli`.

ok  find it.
but....
`./teaclave_cli: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory`
the release/lib is blank

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/363#issuecomment-646414442

Re: [apache/incubator-teaclave] about write a new function with python (#363)

Posted by Mingshen Sun <no...@github.com>.
After building the platform, all compilation output will be copied to the `release/` directory. The CLI will be at `release/cli/teaclave_cli`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/363#issuecomment-646411727

Re: [apache/incubator-teaclave] about write a new function with python (#363)

Posted by Mingshen Sun <no...@github.com>.
Thanks, that's a good suggestion! We had a more complex example of implementing a logistic regression with Python in our previous legacy version (https://github.com/apache/incubator-teaclave/blob/legacy/examples/py_logistic_reg/payload.py). If you have interest to contribute, I can help you to migrate this function to our current platform as an example.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/363#issuecomment-646362863