The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

How to deal with this woe graph?

How to deal with this woe graph?

0
Votes
1
Answer

WOE Graph
The problem is possibly because there were null values which were replaced by fillna() method.
But then even after running the method with integer 0/0.0 as parameter to the method, the problem persists.

1 Answer

0
Votes

I’ve tried doing this, and I’m successful in combining the two. But is it allowed in case of continuous or discrete coarse mapping? 
X_train_pre['empexp:0'] = sum([np.where((X_train_pre['emp_length_int'] == 0.0), 1, 0),
np.where((X_train_pre['emp_length_int'] == '0'), 1, 0)])

×
LAST CHANCE
Ready to Learn Data Science?
50% OFF