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

Problem with writing ID column

naiknaik Member Posts: 1 Learner III
edited November 2018 in Help
I use a Generate ID operator to add to a column to an existing ExampleSet. Then I write the new ExampleSet with Write CSV operator.  Unfortunately, the row ID are written as Floats (e.g. 1.0, 2.0, 3.0...) rather than Integers.

Is there a work around?

Answers

  • CharlieFirpoCharlieFirpo Member Posts: 48 Contributor II
    Hi!

    I think it is a very bad "feature" of RapidMiner. You can try to set the 'rapidminer.general.fractiondigits.numbers' parameter at Tools menu -> Preferences -> General tab. But if you do this, all your numbers would have only the set fractiondigits.numbers, even if you want more fractiondigits.

    So I suggest you to convert the type of the ID to nominal before the Write CSV operator. Do not forget to check the 'include special atttributes' parameter at Numerical to Polynominal operator.

    Good luck!
Sign In or Register to comment.