KNN: A feature is constant

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

KNN: A feature is constant

Bruce Johnson
I running Modeler 13 using the KNN algortihm to predict a scale target. I am getting an error mesage that says "A feature is constant." I have removed all input variables that are constants. I am not sure which feature in the KNN dialog to manipulate to try to get around this error.

Any ideas?

Bruce
Reply | Threaded
Open this post in threaded view
|

Re: KNN: A feature is constant

Bruce Johnson
I tried running the feature Selection node and removing the fields that the node suggested. While none of them were constants, they each exhibited one of the following conditions:
* Single category too large
* Coefficient of variation below threshhold.

Then I was able to run a KNN node, though I have not yet had it converge.