You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a learner and was going through your ClubMahindra Hackathon Feature Engineering file.
Could you please explain the benefits of the these steps or what you are trying to gain from this
Hi,
I am a learner and was going through your ClubMahindra Hackathon Feature Engineering file.
Could you please explain the benefits of the these steps or what you are trying to gain from this
member_id_info = pd.DataFrame()
member_id_info['memberid'] = train.memberid.unique()
member_id_info['tag'] = np.random.rand(member_id_info.shape[0])
member_id_info['val_tag'] = np.random.randint(1,6,member_id_info.shape[0])
member_id_info['tag'] = np.where(member_id_info.tag>0.2,"Train","Val")
Thanks in Advance
The text was updated successfully, but these errors were encountered: