Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

How to deal with constant variables?

$
0
0

@pjoshi15 wrote:

Hi guys, I have a set of train and test data and I have to build a regression model using them. All the predictors are binary variables. Some of the predictors are constant (have a single value) in the train dataset but not in the test dataset. How do I train a model a model in such situation without dropping any predictor ?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles