Reputation: 53
This question is maybe general. Can a feature space consisting of negative feature values be used train a machine learning algorithm i.e., Logistic regression?
feature,feature,feature,class-label
-0.5,0.2,1,yes
0.9,-0.7,2,no
..........
...........
Upvotes: 0
Views: 215
Reputation: 66835
Feature space has to be consistent with given model. Most of the machine learning classifiers (including Logistic regression) require features to be:
and that's all.
Upvotes: 2