Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standard interface for predict #208

Open
ots22 opened this issue Mar 29, 2022 · 1 comment
Open

Standard interface for predict #208

ots22 opened this issue Mar 29, 2022 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@ots22
Copy link
Member

ots22 commented Mar 29, 2022

At the moment there are very few constraints on a model's predict method (particularly its return type). This is hard for a user (who must figure this out for each model - it isn't recorded in a standard place), and makes switching models tedious.

One idea is to settle on a standard interface for each task, although a drawback is that there may be too many task variants to do this exhaustively.

Another is to record the function signature somewhere (perhaps in .scivision/model.yml - beyond what is there now) and make this available from the library.

We could start by writing down the interfaces used in each example currently in the gallery and try to settle on something for common tasks.

Some more discussion here: https://hackmd.io/14jVOkbtTQOgxtc636kdJw

@ots22 ots22 added this to the Scivision phase 2 milestone May 3, 2022
@ots22 ots22 added the enhancement New feature or request label May 3, 2022
@ots22
Copy link
Member Author

ots22 commented Nov 8, 2022

Potential source of 'tasks' to consider: http://taskonomy.stanford.edu/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants