model.deploy to table and s.table.loadTable don't work well together

Đang mở
#280 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
database

Hướng nghiên cứu

Start by reproducing the interaction between model.deploy(..., output_format='table') and s.table.loadTable(..., loadattrs=True) using the paths and table names in the report. Trace how the deployed attributes table is named versus the name loadTable expects; done means the generated tables load without manually renaming the attributes file.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

If I deploy a model to table using,
model.deploy(path='/path/to/dir', output_format='table')
it produces 3 tables

modelname.sashdat
modelname_weights.sashdat
modelname_weights_attr.sashdat

If I try to load these tables with

s.table.loadTable it will complain that it can't find modelname.ATTRS.sashdat , if I rename the attributes table to what it expects it will work.

modeldetect = s.table.loadTable(caslib='scz', path='detectmobile/Model_M43t70.sashdat', loadattrs=True)
modeldetectname = s.table.loadTable(caslib='scz',casout={'name':'mobiledetect'}, path='detectmobile/Model_M43t70_weights.sashdat')

Ngôn ngữ chính
Python
Star
224
Fork
129
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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sassoftware/python-dlpy

Tất cả issue của sassoftware/python-dlpy

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.