DataIO.py 文件源码

python
阅读 33 收藏 0 点赞 0 评论 0

项目:kaggle 作者: RankingAI 项目源码 文件源码
def LoadFromPklFile(InputDir):

        with open('%s/train.pkl' % InputDir, 'rb') as i_file:
            TrainData = pickle.load(i_file)
        i_file.close()

        with open('%s/test.pkl' % InputDir, 'rb') as i_file:
            TestData = pickle.load(i_file)
        i_file.close()

        return TrainData,TestData

    ## class method, load data with text format
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号