Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from Open-EO/feature/oge48-catboost-probabili…
…ties Feature/oge48: Catboost Probabilities
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
openeo_driver/specs/openeo-processes/experimental/predict_probabilities.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"id": "predict_probabilities", | ||
"summary": "Predict class probabilities from a machine learning model", | ||
"description": "Applies a machine learning model to an array and predicts a probability for each class.", | ||
"categories": [ | ||
"machine learning", | ||
"reducer" | ||
], | ||
"experimental": true, | ||
"parameters": [ | ||
{ | ||
"name": "data", | ||
"description": "An array of numbers.", | ||
"schema": { | ||
"type": "array", | ||
"items": { | ||
"type": [ | ||
"number", | ||
"null" | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "model", | ||
"description": "A model object that can be trained with the processes ``fit_regr_<model_name>()`` (regression) and ``fit_class_<model_name>()`` (classification).", | ||
"schema": { | ||
"type": "object", | ||
"subtype": "ml-model" | ||
} | ||
} | ||
], | ||
"returns": { | ||
"description": "A probability for each class", | ||
"schema": { | ||
"type": "array", | ||
"items": { | ||
"type": [ | ||
"number", | ||
"null" | ||
] | ||
} | ||
} | ||
} | ||
} |