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

PandaBVPandaBV MemberPosts:1Newbie
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

  • mschmitzmschmitz Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University ProfessorPosts:3,238RM 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
    - Head of Data Science Services at RapidMiner -
    Dortmund, Germany
Sign InorRegisterto comment.