Convert multiple class data to two class data
sangihi
New Altair Community Member
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")?
how can I convert this to two class data (e.g. "normal", "anomaly")?
Tagged:
0
Answers
-
I just found the solution.
I can use regex "^((?!normal).)*$" just to replace everything rather than "normal" to "anomaly"0