kaggle
ts_sky
这个作者很懒,什么都没留下…
展开
-
kaggle Categorical Feature Encoding Challenge II
df_train = pd.read_csv('train.csv') df_test = pd.read_csv('test.csv') id_test = df_test['id'] y_train=df_train['target'] df_train.drop(['id','target','bin_3'],axis=1,inplace=True) df_test.drop(['id','bin_3'],axis=1,inplace=True) obj=df_train.select_dty原创 2020-10-18 16:45:52 · 177 阅读 · 1 评论 -
kaggle Categorical Feature Encoding Challenge II
df_train = pd.read_csv('train.csv') df_test = pd.read_csv('test.csv') id_test = df_test['id'] y_train=df_train['target'] df_train.drop(['id','target','bin_3','nom_6'],axis=1,inplace=True) df_test.drop(['id','bin_3','nom_6'],axis=1,inplace=True) obj=df_原创 2020-10-18 16:40:24 · 130 阅读 · 0 评论 -
kaggle Categorical Feature Encoding Challenge
df_train = pd.read_csv(train.csv') df_test = pd.read_csv('test.csv') id_test = df_test['id'] y_train=df_train['target'] df_train.drop(['id','target'],axis=1,inplace=True) df_test.drop(['id'],axis=1,inplace=True) df_train['ord_6']=df_train['ord_5'].map(原创 2020-10-18 16:21:12 · 214 阅读 · 0 评论