You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've changed the parameter order in the examples:
>>> from sasctl import Session, register_model
>>> from sklearn import linear_model as lm
>>> with Session('example.com', authinfo=<authinfo file>):
... model = lm.LogisticRegression()
... register_model('Sklearn Model', model, 'My Project')
When running it, I received errors. It seems like the order of the parameters for the register_model function is not correct.
Running the code:
register_model('Sklearn Model', model, 'My Project')
Gives an error.
Running the following code:
register_model(model, 'Sklearn Model', 'My Project')
Executes successfully.
Based on the function definition in tasks.py, the order is the following:
def register_model(model, name, project, repository=None, input=None, version=None, files=None, force=False)
Let me know if I missed something.
0 commit comments