Orange Forum • View topic - RemoveUnusedValues changes names

RemoveUnusedValues changes names

A place to ask questions about methods in Orange and how they are used and other general support.

RemoveUnusedValues changes names

Postby phusen » Wed Mar 14, 2012 16:57

The function RemoveUnusedValues prepends "R_" to attribute names, whenever the domain is actually reduced (if I understand correctly). This is quite annoying when using the "Select Data" widget (and probably other widgets), as names change unpredictably when filtering data for further processing where particular names of attributes are expected. It seems to happen on line 399 of redundancy.cpp. I could change this, but it seems to be by design. What is the reason behind this?

Re: RemoveUnusedValues changes names

Postby Ales » Thu Mar 15, 2012 12:57

This is to indicate that the two variables are not compatible.
If you expect the same variables in downstream widgets you can uncheck the 'Remove unused ...' options in the widget.


Return to Questions & Support



cron