Python 3.x 在azure ML环境中使用xgboost

Python 3.x 在azure ML环境中使用xgboost,python-3.x,azure,machine-learning,Python 3.x,Azure,Machine Learning,我无法在Azure机器学习工作室解释器中成功使用xgboost包。我正在尝试使用xgboost导入一个模型,为了在这里部署它,我对xgboost进行了培训。但我的包似乎设置不正确,因为我无法访问某些函数,特别是“xgboost.sklearn” 我的模型当然是使用xgboost.sklearn.something来进行分类 我尝试通过以下两种不同的方法实现该包: 根据tar.gz原理,如下所示: 也可以用沙箱清洁包装,如下所示: 这是我得到的错误 Error 0085: The follow

我无法在Azure机器学习工作室解释器中成功使用xgboost包。我正在尝试使用xgboost导入一个模型,为了在这里部署它,我对xgboost进行了培训。但我的包似乎设置不正确,因为我无法访问某些函数,特别是“xgboost.sklearn”

我的模型当然是使用xgboost.sklearn.something来进行分类

我尝试通过以下两种不同的方法实现该包: 根据tar.gz原理,如下所示:

也可以用沙箱清洁包装,如下所示:

这是我得到的错误

Error 0085: The following error occurred during script evaluation, please view the output log for more information:
---------- Start of error message from Python interpreter ----------
Caught exception while executing function: Traceback (most recent call last):
  File "C:\server\invokepy.py", line 199, in batch
    odfs = mod.azureml_main(*idfs)
  File "C:\temp\1098d8754a52467181a9509ed16de8ac.py", line 89, in azureml_main
    model = pickle.load(open(".\\Script Bundle\\xgboost\\XGBv1.pkl", 'rb'))
ImportError: No module named 'xgboost.sklearn'
Process returned with non-zero exit code 1

---------- End of error message from Python  interpreter  ----------
Start time: UTC 05/22/2019 13:11:08
End time: UTC 05/22/2019 13:11:49

你找到解决办法了吗?我也有同样的问题。
Error 0085: The following error occurred during script evaluation, please view the output log for more information:
---------- Start of error message from Python interpreter ----------
Caught exception while executing function: Traceback (most recent call last):
  File "C:\server\invokepy.py", line 199, in batch
    odfs = mod.azureml_main(*idfs)
  File "C:\temp\1098d8754a52467181a9509ed16de8ac.py", line 89, in azureml_main
    model = pickle.load(open(".\\Script Bundle\\xgboost\\XGBv1.pkl", 'rb'))
ImportError: No module named 'xgboost.sklearn'
Process returned with non-zero exit code 1

---------- End of error message from Python  interpreter  ----------
Start time: UTC 05/22/2019 13:11:08
End time: UTC 05/22/2019 13:11:49