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
"Impute Missing Value" example set is empty
im running a basic titanic data cleansing, and im trying to fill the na's of the cabin column with the impute missing value operator. i insert the missing values as input, i can even visualize them if i dragg to result, but once i connect it to Impute Missing Value, it says the example set is empty, could anyone help
0
Best Answer
-
varunm1 Member Posts: 1,207 UnicornHello @pablo_199
The issue in your process is that you are selecting a single attribute that has missing values in "impute missing values" operator. This doesn't work as the KNN needs predictor attributes to learn and impute missing values in a column. For this purpose, I selected all attributes. Once more issue is with filter examples before impute missing values, this will get only examples with missing value columns. The issue here is KNN doesn't have a clue what it needs to place in "Cabin" column as all the values in that column are missing due to this filter. I removed that.
Please find attached .rmp file. To run this go to File __> Import Process and point it to the file location you download into PC. Please let us know if you have any questions.
Regards,
Varun
https://www.varunmandalapu.com/Be Safe. Follow precautions and Maintain Social Distancing
6
Answers
Can you post your process by exporting using FILE --> Export process and attach the process here?
We will check it.
Thanks
Varun
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
thanks for your reply, i have added the proccess now
thanks in advance for the help
Thanks, Can you provide dataset as well? I thought you used titanic from Rapidminer samples, but its unable to retrieve.
I also see that the screenshot you mentioned earlier doesn't match with the current process you provided. The "impute missing values" operator is missing in the attached process.
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
According the error "example set is empty", It seems that the Filter examples operator is filtering all the examples. (the condition missing attributes seems to be always true)
I think you don't need to add this operator for the task you want to aschieve ("trying to fill the na's of the cabin column").
Try to remove Filter Examples operator...
But I agree with Varun : Can you please share your data in order we can run your process ?
Thanks and regards,
Lionel
yes i submitted a wrong proccess and since i couldn`t erase it i added the right one. ill attach the dataset now, i tried both erasing the operator and adding it but the error remains the same. i want to thank you for the time in attempting to help me