Options

How to keep the type of the attributes when saving a dataset?

PandaBVPandaBV Member Posts: 1 Newbie
When I change the type of some columns in a dataset from nominal to nummeric for example, then save this dataset(whether through Turbo Prep or the operator write csv or store), when I open the dataset again, the column types that I changed to nummeric turn automatically into "Real". How can I avoid that and keep them as nummeric?  Ive tried many different ways to save the dataset but all these ways return the dataset with the column as real instead of nummeric

Answers

  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,509 RM Data Scientist
    Hi,
    Real is basically numeric. I think in the backend all columns of type numeric are actually represented as reals. I also think TurboPrep automatically does some conversion here.

    I am not sure why this difference matters?

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.