Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Commit

Permalink
Separate recommendations and cautions for usage
Browse files Browse the repository at this point in the history
  • Loading branch information
duckontheweb committed May 17, 2021
1 parent 4f5a558 commit a829170
Showing 1 changed file with 33 additions and 12 deletions.
45 changes: 33 additions & 12 deletions fragments/usage/usage-fragment.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,47 @@
# Usage Recommendations Specification

The Usage Recommendations section defines conditions under which the model publishers believe the
model will perform as expected. It is important to note that these are *recommendations* and that
they **in no way provide any guarantee of model performance under the given conditions**.
model will perform as expected. It also provides a mechanism for publishers to explicitly call out
conditions under which they believe the model is likely to not performa as expected. It is important
to note that these are *recommendations* and that they **in no way provide any guarantee of model
performance under the given conditions**.

If no Usage Recommendation section is provided, then users should assume that the model will only
perform as expected under conditions that match those described in the [Model Training] section.
This also applies to any fields that are not present in the Usage Recommendations section. For
instance, if no `temporal` field is provided, users should assume the model will only perform as
expected for data in the time range given in the [Model Training] section.

## Usage Recommendation Fields

| Field Name | Type | Description |
|------------------|--------------------------|-------------------------------------------------------------------------|
| spatial | [Spatial Extent Object] | The spatial extents within which the model should perform as expected. |
| temporal | [Temporal Extent Object] | The temporal extents within which the model should perform as expected. |
| description | string | A human-readable description of conditions under which the model should perform as expected. |
## Usage Recommendations Fields

The `recommendations` and `cautions` fields in this section are arrays of objects that describe
conditions under which the model either should perform as expected or should *not* behave as
expected, respectively.

If the Usage Recommendations section is present, then at least one of these fields is required and
must be a non-empty array.

| Field Name | Type | Description |
| ----------------- | --------------------- | ---------------------------------------------------------------------------------------------- |
| `recommendations` | \[[Usage Conditions]] | An array of objects describing conditions under which the model *should* perform as expected. |
| `cautions` | \[[Usage Conditions]] | An array of objects describing conditions under which the model *may not* perform as expected. |

## Usage Conditions

This object is used to described conditions under which model usage is either recommended (if found
in the `recommendations` list) or discouraged (if found in the `cautions` list).

| Field Name | Type | Description |
| ----------- | ------------------------ | ------------------------------------------------------------------------------------------ |
| spatial | [Spatial Extent Object] | The spatial extents to which the recommendation or caution applies. |
| temporal | [Temporal Extent Object] | The temporal extents to which the recommendation or caution applies. |
| description | string | A human-readable description of conditions to which the recommendation or caution applies. |

### Spatial Extent Object

| Element | Type | Description |
| ------- | ------------ | -------------------------------------------------------------------- |
| Element | Type | Description |
| ------- | ------------ | -------------------------------------------------------------------------------------------- |
| bbox | \[\[number]] | **REQUIRED.** Potential *spatial extents* within which the model should perform as expected. |

The `bbox` element is an *array* whose elements are themselves arrays. Each inner array is a bounding
Expand All @@ -36,8 +56,8 @@ spatial extent, when in fact there may be only specific areas in which this is t

### Temporal Extent Object

| Element | Type | Description |
| -------- | ------------------ | --------------------------------------------------------------------- |
| Element | Type | Description |
| -------- | ------------------ | --------------------------------------------------------------------------------------------- |
| interval | \[\[string\|null]] | **REQUIRED.** Potential *temporal extents* within which the model should perform as expected. |

The `interval` element is an *array* whose elements are themselves arrays. Each inner array is an
Expand All @@ -55,5 +75,6 @@ when in fact there may be only specific ranges in which this is true.
[Model Training]: ../training
[Spatial Extent Object]: #spatial-extent-object
[Temporal Extent Object]: #temporal-extent-object
[Usage Conditions]: #usage-conditions
[STAC Spatial Extent Object]: https://github.com/radiantearth/stac-spec/blob/v1.0.0-rc.4/collection-spec/collection-spec.md#spatial-extent-object
[STAC Temporal Extent Object]: https://github.com/radiantearth/stac-spec/blob/v1.0.0-rc.4/collection-spec/collection-spec.md#temporal-extent-object

0 comments on commit a829170

Please sign in to comment.