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 3 years ago
1 Answers
Paras answered 3 years ago

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

Your Answer

12 + 17 =