Skip to content

How to deal with ordinal features? #3374

Answered by tgaddair
anakin87 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @anakin87, great question! One option would typically be to use the NUMBER type and then post-process the output to conform to the correct set of outputs.

That said, there's been some interesting work recently with adding ordinal loss functions for multi-class classification. I took a stab at adding one of the newer ones (CORN loss) to Ludwig in #3375. Please try it out and let me know if it works better for your task.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@anakin87
Comment options

Answer selected by anakin87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants