Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
Select all attributes having only missing value
zubairali_j
Member Posts: 1 Learner II
Hi,
How shall I select all the attributes which has ONLY missing values in Rapidminer tool. I dont want to select other attributes which has both missing and non-missing values. If I put 'no_missing_values' in attribute_filter_type option in 'Select Attributes' operator and inverse selection, it select the rows which has both missing and non-missing values. But I need to select attributes which has all the values missing.
Thanks,
Zubair
Tagged:
0
Answers
Dear Zubairali,
interesting question. I did not find a one operator solution. Attached is a longer process doing the job. I would be curious if there is an easier way to do it.
~Martin
Dortmund, Germany
Well, a shorter version (although not exactly the same) is to just use "Replace Missing Values" with a constant value NOT in the data. Then use "Remove Useless Attributes". Of course this one also removes other attributes which are constant (but how useful are those?). You can then turn the constant value you have used above back into a missing again with "Declare Missing Value".
Here is the code:
Cheers,
Ingo