Kmeans error message for string features

User 2568 | 2/28/2016, 12:35:12 AM

I have a feature that is type str and I get this error when i use kmeans.create [WARNING] Feature 'fault_severity' excluded because of its type. Kmeans features must be int, str, dict, or array.array type.

The warning indicates the feature not an acceptable type, but list the types as including str. I'm assuming the error message is jut wrong.

Comments

User 12 | 2/29/2016, 5:08:59 AM

Yeah, that's a mistake in the error message, not the code. Strings aren't allowed in Kmeans. Thanks for reporting it.

-Brian