Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

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.