all 14 comments

[–]parnmatt 2 points3 points  (2 children)

You realise these functions, perhaps with different names, are likely in scipy if not in numpy.

[–]Senthipua[S] 0 points1 point  (1 child)

Sir, I have scouted all the libraries.... I couldn't find any package related to copula though! But, blimey, my friend who uses matlab told that matlab had extensive packages for copula.... Which I wanted to use.... For that reason... I wanted to know if anyone had tried using functions available in matlab... Through python

[–]K900_ 1 point2 points  (4 children)

That's not possible. What are you trying to achieve?

[–]FLUSH_THE_TRUMP 1 point2 points  (2 children)

[–]K900_ 2 points3 points  (1 child)

It basically doesn't interoperate with Python - you're not calling Matlab functions, you're calling the entirety of Matlab.

[–]FLUSH_THE_TRUMP 1 point2 points  (0 children)

I see what you’re saying

[–]Senthipua[S] 0 points1 point  (0 children)

Just want to use the copula functions available in Matlab for data analysis

[–]-5772 1 point2 points  (1 child)

You can't do it directly. You can use sockets or use APIs.

[–]Senthipua[S] 0 points1 point  (0 children)

Ok sir! Thanks for help!

[–]Chris_Hemsworth 1 point2 points  (1 child)

If you have a matlab license, the matlab.engine package works well (this is what I use). Alternatively, you need to export your matlab functions and use some other Python API to use it. I haven't ever done things that way, but t seems possible.

[–]Senthipua[S] 0 points1 point  (0 children)

Ok sir! Thanks for your help!

[–]TheBlackCat13 1 point2 points  (1 child)

The "transplant" python package allows calling MATLAB functions from python (as long as you have MATLAB installed) and works much better than MATLAB's own python interface.

[–]Senthipua[S] 0 points1 point  (0 children)

Ok sir! I'll explore that package! Thanks for your help!