Error using SASCTL to register a Python model to MM in Viya 4
@jlwalke2 已经在做这个了。
开始于 2023年1月6日。
评估
这个 Issue 还没有评估数据。
描述
Describe the issue
SASCTL 1.7.3 can register a simple Python model to MM in Viya 4, but when trying to execute a Scoring Task it produces an error.
To Reproduce
import pandas as pd
from sasctl import Session, register_model, publish_model
from sklearn.linear_model import LogisticRegression
Load the Iris data set and split into features and target.
df = pd.read_csv('Data/iris.csv')
X = df.drop('species', axis=1)
y = df.species.astype('category')
Fit a sci-kit learn model
model = LogisticRegression()
model.fit(X, y)
with Session('budsprod.viyamtes.com', 'gegrab', 'XXXXX', verify_ssl=False):
model_name = 'Iris Regression2'
# Register the model in Model Manager
register_model(model,
model_name,
input=X, # Use X to determine model inputs
project='Iris2', # Register in "Iris" project
force=True) # Create project if it doesn't exist
Expected behavior
The Scoring Task in MM should execute and score on a sample set of records. The error received in MM:
NOTE: Created package _076796cfb3ca459eb8a285e3cd30c38 in data set "casuser(gegrab)"._076796cfb3ca459eb8a285e3cd30c38.
NOTE: Execution succeeded. No rows affected.
NOTE: Running 'modelPublishing' action set with 0 workers.
NOTE: Execution of model 'TempModel_781437f5-15be-3842-99a0-eea05a45c6ba ' succeeded.
ERROR: There is no session-scope table Test_3_Iris_Regression2_v1_0_2022_11_04_14_42_49_output in caslib gegrab_s of Cloud Analytic Services.
NOTE: Cloud Analytic Services dropped table TempModel_781437f5-15be-3842-99a0-eea05a45c6ba**
Stack Trace
If you're experiencing an exception, include the full stack trace and error message.
Version
What version of sasctl are you using? 1.7.3
- 主要语言
- Python
- 星标
- 52
- 派生
- 45
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sassoftware/python-sasctl 的其他 Issue
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
sassoftware/python-sasctl#224 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 25/100
sassoftware/python-sasctl#216 ·
-
bug
难度 4/5 3-5 天 新手友好度 35/100
sassoftware/python-sasctl#207 · 1 个 reaction ·
-
bug
难度 3/5 1-2 天 新手友好度 45/100
sassoftware/python-sasctl#202 ·
-
bug
难度 4/5 3-5 天 新手友好度 30/100
sassoftware/python-sasctl#193 ·
查看 sassoftware/python-sasctl 的全部 Issue
相似的 Issue
-
documentation
难度 2/5 1-3 小时 新手友好度 76/100
awslabs/social-messaging-agent-runtime-toolkit#140 ·
维护者通常 1 天内回复
-
subtask
难度 2/5 1-3 小时 新手友好度 72/100
fga-eps-mds/2026.2-MeasureSoftGram-DOC#187 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 83/100
txn2/mcp-data-platform#2493 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
YO-WHATS-UP2/minigit#78 ·
维护者通常 3 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 78/100
liberation-data/drivine-python#432 ·
维护者通常 1 天内回复