Performance issues and faster implementation in Scala #74
pmeheut
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
Hi, Thanks for sharing. I'd be interested in looking into this. Do you have any shareable code? Thanks! Josh |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can look at it here: https://github.com/pmeheut/lppls_scala Main class sample is ComputeIndicators: it reads a pandas dataframe from a feather file in the home directory called spx.feather Let me know if you need more informations. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Just to let you know, I encountered CPU and memory issues when running the Python code on long time series with big windows.
Also, the Python multiprocessing is efficient on some processor such as Core i7/i9 but not at all on Xeon multiprocessor machines.
So I implemented the algorithm in Scala and it runs 5 to 15 times faster depending on the computer (tested up to a 48 Cpu AWS machine).
It is based on a June version of the Python code but it could easily be adapted and using Scalapy, I can even read and write Panda dataframes.
Let me know if someone is interested.
Beta Was this translation helpful? Give feedback.
All reactions