changing type at the beginning or later in process?

maxell
maxell New Altair Community Member
edited November 2024 in Community Q&A
hello,
I am rapid miner beginner and have a question:
I have an actually binominal attribute with wrong values (0 means no, 1 means yes and there is still a third value: 2).
Do I have to change the type of the attribute to binomial right at the beginning (when reading the csv file into RM)?

Thanks in advance!
KR
Tagged:

Best Answer

  • Caperez
    Caperez Altair Community Member
    edited December 2021 Answer ✓
    Hi @maxell,
    Welcome to Rapidminer community.
    When you use the read csv operator with the import configuration wizard, in the second step you can change the attribute type.
    please see the attached image.
    After that, inside of your process, you can use the numerical to binomial, numerical to polynominal or map operators to handle with data types and transformations

    Best, 
    Cesar

Answers

  • Caperez
    Caperez Altair Community Member
    edited December 2021 Answer ✓
    Hi @maxell,
    Welcome to Rapidminer community.
    When you use the read csv operator with the import configuration wizard, in the second step you can change the attribute type.
    please see the attached image.
    After that, inside of your process, you can use the numerical to binomial, numerical to polynominal or map operators to handle with data types and transformations

    Best, 
    Cesar

  • maxell
    maxell New Altair Community Member
    Hi @ceaperez

    thank you very much. This helps me a lot!

    Kind regards :)