Re: [Dev] [ML] Decision tree fails when a feature contains only a single value

2015-06-02 Thread Nirmal Fernando
Yes, discarding is the best option which is currently supported. On Wed, Jun 3, 2015 at 12:10 PM, Maheshakya Wijewardena wrote: > Sparks' Decision tree does not accept datasets with a single value in a > feature. It produces the following error: > >> requirement failed: DecisionTree Strategy giv

[Dev] [ML] Decision tree fails when a feature contains only a single value

2015-06-02 Thread Maheshakya Wijewardena
Sparks' Decision tree does not accept datasets with a single value in a feature. It produces the following error: > requirement failed: DecisionTree Strategy given invalid > categoricalFeaturesInfo setting: feature 645 has 1 categories. The number > of categories should be >= 2 > This is not an