-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ALE doesn't preserve factor level order in the output #82
Comments
Ceteris Paribus does that:
|
Not that easy, as Maybe the easiest solution would to add some postprocessing that will convert characters into factors with an ordered derived from the input. |
Yes, this should be the best solution. |
CP is working fine
it's a problem with |
Sure, I meant that it is working fine. We can just sort
|
Consider the following code:
I deliberately changed the factor levels to showcase the problem.
_x_
column should probably be sorted ond2$gender
levels (they matter in computation). The same may apply to allaggregate_profiles
outputs.The text was updated successfully, but these errors were encountered: