-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
We have an old spec of load_ml_model in openeo-python-driver:
openeo-python-driver/openeo_driver/specs/openeo-processes/experimental/load_ml_model.json
Lines 2 to 37 in 22f89cf
| "id": "load_ml_model", | |
| "summary": "Load a ML model", | |
| "description": "Loads a machine learning model from a STAC Item.\n\nSuch a model could be trained and saved as part of a previous batch job with processes such as ``fit_random_forest()`` and ``save_ml_model()``.", | |
| "categories": [ | |
| "machine learning", | |
| "import" | |
| ], | |
| "experimental": true, | |
| "parameters": [ | |
| { | |
| "name": "id", | |
| "description": "The STAC Item to load the machine learning model from. The STAC Item must implement the `ml-model` extension.", | |
| "schema": [ | |
| { | |
| "title": "URL", | |
| "type": "string", | |
| "format": "uri", | |
| "subtype": "uri", | |
| "pattern": "^https?://" | |
| }, | |
| { | |
| "title": "Batch Job ID", | |
| "description": "Loading a model by batch job ID is possible only if a single model has been saved by the job. Otherwise, you have to load a specific model from a batch job by URL.", | |
| "type": "string", | |
| "subtype": "job-id", | |
| "pattern": "^[\\w\\-\\.~]+$" | |
| }, | |
| { | |
| "title": "User-uploaded Files", | |
| "type": "string", | |
| "subtype": "file-path", | |
| "pattern": "^[^\r\n\\:'\"]+$" | |
| } | |
| ] | |
| } | |
| ], |
this was based on an old version of load_ml_model in openeo-processes, which was removed by Open-EO/openeo-processes#417
The new version of load_ml_model is under construction at Open-EO/openeo-processes#441
Important detail: the single argument of old load_ml_model was named id (which will be weird because only urls will be passed in practice), while the new one is uri which makes more sense
Metadata
Metadata
Assignees
Labels
No labels