The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
[SOLVED] problem at numerical to polynominal operator: decimals loss
CharlieFirpo
Member Posts: 48 Contributor II
Dear All,
I have a real attribute with this value: 0.0000123
I want a macro to hold this value (with Extract Macro operator). The macro value is: 0.000
When I convert the real attribute to string (with Numerical to Polynominal operator), the attribute value will be 0.000
If I use the 'str()' function at Generate Attributes operator, the value will be 0.000
Why? Why? Why... Why does the 'real to string' function truncate the decimals?
At Tools menu in General tab I have 3 at rapidminer.general.fractiondigits.number. I can change it to eg. 10 but I can do this only on my local RapidMiner. What is the workaround when creating a process for a remote machine / other RM? Can I set this option via my RapidMiner process? Or can I solve this problem otherwise?
My task can be eg. to count the decimals. Eg. at 0.0000123 value, the decimals number is 7.
Thank you!
I have a real attribute with this value: 0.0000123
I want a macro to hold this value (with Extract Macro operator). The macro value is: 0.000
When I convert the real attribute to string (with Numerical to Polynominal operator), the attribute value will be 0.000
If I use the 'str()' function at Generate Attributes operator, the value will be 0.000
Why? Why? Why... Why does the 'real to string' function truncate the decimals?
At Tools menu in General tab I have 3 at rapidminer.general.fractiondigits.number. I can change it to eg. 10 but I can do this only on my local RapidMiner. What is the workaround when creating a process for a remote machine / other RM? Can I set this option via my RapidMiner process? Or can I solve this problem otherwise?
My task can be eg. to count the decimals. Eg. at 0.0000123 value, the decimals number is 7.
Thank you!
0
Answers
It works perfectly!!!!!!!!!