czwchenzhun / tfinterpy

GNU General Public License v3.0
15 stars 4 forks source link

Extreme values when running OK and SK in the example #3

Open tcw98 opened 6 days ago

tcw98 commented 6 days ago

Hello,

After cloning the repository and following the examples provided in the example folder, I encountered an issue when running OK and SK. Specifically, the results contain extremely large and small values. My colleague and I tested this on multiple computers and Python environments, but the issue persists.

5ed571191eee7dded73ce734e17d2db

In plot, there are some very distinct points with deep colors, which are extreme values. After testing, the results are like this:

grid.pro.max() Out[4]: 1.5227636913626886e+29

grid.pro.min() Out[5]: -2.400975308253525e+30

Could you kindly let us know if this might be due to a mistake in our usage or if there are specific details we should pay attention to?

Thank you very much for your help!

czwchenzhun commented 5 days ago

应该是float32精度不够再加上计算的数据比较多很小的小数导致的,把输入计算的数据变成float64或者将所有数据乘以10的n次方将数据尺度变换一下

------------------ 原始邮件 ------------------ 发件人: "Tiancheng @.>; 发送时间: 2024年11月22日(星期五) 晚上10:51 收件人: @.>; 抄送: @.***>; 主题: [czwchenzhun/tfinterpy] Extreme values when running OK and SK in the example (Issue #3)

Hello,

After cloning the repository and following the examples provided in the example folder, I encountered an issue when running OK and SK. Specifically, the results contain extremely large and small values. My colleague and I tested this on multiple computers and Python environments, but the issue persists.

5ed571191eee7dded73ce734e17d2db.png (view on web)

In plot, there are some very distinct points with deep colors, which are extreme values. After testing, the results are like this:

grid.pro.max() Out[4]: 1.5227636913626886e+29

grid.pro.min() Out[5]: -2.400975308253525e+30

Could you kindly let us know if this might be due to a mistake in our usage or if there are specific details we should pay attention to?

Thank you very much for your help!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>