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

Aperta
#280 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
database

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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')

Lingua principale
Python
Stelle
224
Fork
129
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sassoftware/python-dlpy

Tutte le issue di sassoftware/python-dlpy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.