ios - How do I run Python code for my function calculations in my Swift software App? -
i creating app user inputs 2 values (x , y). these 2 values used in function output answer displayed @ bottom of app. these calculations include gaussian covariance calculations, must done in python script, result in 1 final value outputted. can connect python file in swift app?
i know how create xcode project external file can connect python, how do in swift project have built?
implement algorithm in swift
i don't think covariance particularly hard , if implement in open source upsurge library unbelievably better performance uses accelerate framework (i.e. specially tuned calls simd apple engineers have spent lot of time on).
i added linear regression upsurge , @ least order of magnitude faster python/numpy code running on same machine.
Comments
Post a Comment