In a simple experiment, I have a dataset with 200 samples, each includes 5 attributes and a binary class label. 3 of these attributes are supposed to have equal measures for all samples in the dataset (we suppose there are 3 fixed numbers). Now I classified the dataset by random forest using R but the result is strange.

Having these 3 attributes in a dataset, classification is going wrong and all the samples take just 1 label (say label A) .

Eliminating these 3 fixed attributes, classification is correct with more than 96% accuracy.

The question is: what is the reason for this different result?

What is the effect of eliminating some fixed equal attributes on the classification problem?

More Pouya Sinaian's questions See All
Similar questions and discussions