问答交流

stockranker训练GBDT问题

由18896984241创建,最终由small_q 被浏览 37 用户

XGBoostError Traceback (most recent call last) <ipython-input-4-7a905fb432e3> in <module> 83 ) 84 ---> 85 m12 = M.stock_ranker_train_gbdt.v1( 86 training_ds=m13.data, 87 features=m3.data,

XGBoostError: [17:26:55] /workspace/dmlc-core/src/io/input_split_base.cc:173: Check failed: files_.size() != 0U (0 vs. 0) : Cannot find any files that matches the URI pattern /tmp/bq_ds_74c7abfd53b143ebb968f87ffdf090a6T Stack trace: [bt] (0) /usr/local/python3/xgboost/libxgboost.so(dmlc::LogMessageFatal::~LogMessageFatal()+0x24) [0x7f44a4cd7cb4] [bt] (1) /usr/local/python3/xgboost/libxgboost.so(dmlc::io::InputSplitBase::InitInputFileInfo(std::string const&, bool)+0x68c) [0x7f44a4f73a1c] [bt] (2) /usr/local/python3/xgboost/libxgboost.so(dmlc::io::InputSplitBase::Init(dmlc::io::FileSystem*, char const*, unsigned long, bool)+0x43) [0x7f44a4f73be3] [bt] (3) /usr/local/python3/xgboost/libxgboost.so(dmlc::InputSplit::Create(char const*, char const*, unsigned int, unsigned int, char const*, bool, int, unsigned long, bool)+0xb7a) [0x7f44a4f5c18a] [bt] (4) /usr/local/python3/xgboost/libxgboost.so(dmlc::InputSplit::Create(char const*, unsigned int, unsigned int, char const*)+0x1e) [0x7f44a4f5c81e] [bt] (5) /usr/local/python3/xgboost/libxgboost.so(dmlc::Parser<unsigned int, float>* dmlc::data::CreateLibSVMParser<unsigned int, float>(std::string const&, std::map<std::string, std::string, std::lessstd::string, std::allocator<std::pair<std::string const, std::string> > > const&, unsigned int, unsigned int)+0x1a) [0x7f44a4f3a09a] [bt] (6) /usr/local/python3/xgboost/libxgboost.so(dmlc::Parser<unsigned int, float>* dmlc::data::CreateParser_<unsigned int, float>(char const*, unsigned int, unsigned int, char const*)+0x15b) [0x7f44a4f2b23b] [bt] (7) /usr/local/python3/xgboost/libxgboost.so(xgboost::DMatrix::Load(std::string const&, bool, bool, std::string const&, unsigned long)+0x2df) [0x7f44a4d00a0f] [bt] (8) /usr/local/python3/xgboost/libxgboost.so(XGDMatrixCreateFromFile+0xc2) [0x7f44a4cce5b2]



我在使用stockranker训练GBDT模型时,提示如上错误,实在看不懂,跪求各位大佬解答

标签

StockRanker算法Stockranker
评论
  • 我不确定是否是传入的数据类型问题,因为我换别的模块不报错,只有换stockranker(GBDT)这两个会出错,直接换GBDT也不出错
  • 查看下传入的数据类型格式是否正确,方便的话把策略分享给小Q,帮你看看具体的问题。
  • 你好,如何分享呢
  • 我也遇到了这个错误,怎么解决的呢
{link}