Error using SASCTL to register a Python model to MM in Viya 4
@jlwalke2 đang làm issue này rồi.
Từ ngày 6/1/2023.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 52
- Fork
- 45
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sassoftware/python-sasctl
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
sassoftware/python-sasctl#224 ·
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
sassoftware/python-sasctl#216 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
sassoftware/python-sasctl#207 · 1 reaction ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
sassoftware/python-sasctl#202 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
sassoftware/python-sasctl#193 ·
Tất cả issue của sassoftware/python-sasctl
Issue tương tự
-
area/test type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Clodmony/starship-coop#70 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
punitarani/fli#270 ·
-
🐛 Bug 🔔 Pending processing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
jumpserver/jumpserver#17980 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
community enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Claiming namespace `prodmetrics`Đang mởnamespace
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
EclipseFdn/open-vsx.org#15341 ·
Maintainer thường phản hồi trong vòng 1 ngày