Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Column with real numbers identified as integer type
iar73
I have version 5.0.003. A data column in the csv file contains the following values: 0.0001 and 1.0001 RapidMiner recognizes the attribute as type INTEGER instead of REAL. However, values are handled correctly (they are not converted to integer).
Looking at the source I think the problem is here, with the rounding:
CSVDataReader(AbstractDataReader).init() line: 266
if (canParseInteger
) {
if (!Tools.isEqual(Math.round(number.doubleValue()), number.intValue())) {
canParseInteger
= false;
}
}
Best regards,
András
Find more posts tagged with
AI Studio
Developer
Accepted answers
All comments
fischer
Hi,
input operators have been overhauled for 5.1. The line of code you mention is no longer there.
Cheers,
Simon
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups