Nominal Attributes in LibSVM

Posted by Chris S on Stack Overflow See other posts from Stack Overflow or by Chris S
Published on 2010-04-03T03:36:31Z Indexed on 2010/04/03 3:43 UTC
Read the original article Hit count: 553

When creating a libsvm training file, how do you differentiate between a nominal attribute verses a numeric attribute? I'm trying to encode certain nominal attributes as integers, but I want to ensure libsvm doesn't misinterpret them as numeric values. Unfortunately, libsvm's site seems to have very little documentation. Pentaho's docs seem to imply libsvm makes this distinction, but I'm still not clear how it's made.

© Stack Overflow or respective owner

Related posts about machine-learning

Related posts about artificial-intelligence