As a part of feature scaling, if you are doing Log transformation and run into "divide by zero encountered in log" error — what would you do?

Data Science Interview QuestionsCategory: Data ScienceAs a part of feature scaling, if you are doing Log transformation and run into "divide by zero encountered in log" error — what would you do?
Paras Doshi asked 4 years ago
1 Answers
Paras answered 4 years ago

One option is: log(x+1) transformation instead. 

Your Answer

6 + 16 =