Replies: 4 comments 16 replies
-
Dear @wenpw, Also can you paste the code into your answer directly rather than through a zip file? |
Beta Was this translation helpful? Give feedback.
-
(e.g., you requested 400 cores in PySR, but only 2 cores in SymbolicRegression.jl) |
Beta Was this translation helpful? Give feedback.
-
Just to be clear – if you only have 20 cores, then you should not set a higher number than 20 for procs. Even if it is working, that would slow things down quite a bit as it overload the CPU scheduler. |
Beta Was this translation helpful? Give feedback.
-
I noticed you have |
Beta Was this translation helpful? Give feedback.
-
Dear Miles,
Thank you very much for the powerful code.
Please help check the following problems.
Recently, I have compared the Pysr and the Julia version to fit the same formula:
y = 4log(1+exp(2pi*(x-100)/4)/2/x.
The codes are in the attached zip file.
Two serious problems were found:
In Julia, it takes only few minutes to obtain the correct formula using only two cpus.
In Python, I have tried for more than one day using even twenty cpu, however, I still could not get the right result.
I have also tried different parameters and could still not find the correct answer.
May I ask why this happens, and how to improve the python script to get the correct results?
In julia, hundreds of G RAM memory are needed in my servers for the running for example using numprocs=20.
In python, no large RAM memroy is needed in my test.
Is there any way to release the memory during the running of Julia code?
Thank you very much in advance.
log1p-v2.zip
Beta Was this translation helpful? Give feedback.
All reactions