Power BI || Интеграция машинного обучения PyCaret || Не работает

Я столкнулся с одной проблемой с Power BI при запуске моего нижеприведенного скрипта Python:

# 'dataset' holds the input data for this script
from pycaret.classification import *
dt = load_model('C:/Users/abc/model1')
dataset = predict_model(dt, data = dataset)

Ниже приводится ошибка:

DataSource.Error: ADO.NET: A problem occurred while processing your Python script.
Here are the technical details: Process must exit before requested information can be determined.
Details:
DataSourceKind=Python
DataSourcePath=Python
Message=A problem occurred while processing your Python script.
Here are the technical details: Process must exit before requested information can be determined.
ErrorCode=-2147467259
ExceptionType=Microsoft.PowerBI.Scripting.Python.Exceptions.PythonUnexpectedException

0 ответов

Другие вопросы по тегам