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

Convert multiple class data to two class data

sangihisangihi Member Posts: 5 Contributor II
edited November 2018 in Help
I have some data with multiple labels (e.g. "normal", "anomaly type 2", "anomaly type 3", ..., "anomaly type N").
how can I convert this to two class data (e.g. "normal", "anomaly")?

Answers

  • sangihisangihi Member Posts: 5 Contributor II
    I just found the solution.

    I can use regex "^((?!normal).)*$" just to replace everything rather than "normal" to "anomaly"
Sign In or Register to comment.