def pic_viewer(df_cf, _id):
'''
Function:
- If X and Y columns exist in your dataframe, you can use this function
to view drawing with specific id.
- run this after running CNN_feat_eng_pt1 or feature_eng_pt2
Input:
1. dataframe df_cf
2. object id _id
Output:
1. scatter plot of x and y
'''
plt.scatter(df_cf.X[_id],df_cf.Y[_id])
plt.gca().invert_yaxis()
feature_engineering_func.py 文件源码
python
阅读 29
收藏 0
点赞 0
评论 0
评论列表
文章目录