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

add validation of MLM output using classification:classes (fixes #48) #50

Merged
merged 6 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Validation by the JSON schema of `classification:classes` definition within a
[Machine Learning Model (MLM)](https://github.com/crim-ca/mlm-extension) output.
- Example STAC `item-model-classes.json` demonstrating the use of `classification:classes` within a `mlm:output`.
- `nodata` to `classification:classes`
- `nodata` to Class Object
- `percentage` to Class Object
- `count` to Class Object
Comment on lines +15 to 18
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- `nodata` to `classification:classes`
- `nodata` to Class Object
- `percentage` to Class Object
- `count` to Class Object
- `nodata` to the Class Object
- `nodata` to the Class Object
- `percentage` to the Class Object
- `count` to the Class Object

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ This document explains the Classification Extension to the

- Examples:
- Asset level:
- [Classes example](examples/item-classes-maxar.json): STAC Item with classified raster bands in asset (Maxar)
- [Raster Classes example](examples/item-classes-maxar.json): STAC Item with classified raster bands in asset (Maxar)
- [Bitfields example](examples/item-bitfields-landsat.json): STAC Item with bit fields in asset (Landsat)
- Item level:
- [Model Classes example](examples/item-model-classes.json): STAC Item with classes of a Machine Learning Model output
- Collection level:
- [Item Assets example](examples/collection-item-assets.json): STAC Collection using Item Assets for classed child Items
- [JSON Schema](json-schema/schema.json)
Expand Down
Loading