Skip to content

Commit

Permalink
feat: Add generic validation text
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeschamps committed Dec 9, 2024
1 parent 3a1e91f commit e803960
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/careamics/model_io/bioimage/_readme_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def readme_factory(
description.append(config.get_algorithm_description())
description.append("\n\n")

# training description
# configuration description
description.append("## Configuration\n\n")

description.append(
Expand All @@ -81,6 +81,18 @@ def readme_factory(
description.append(_yaml_block(yaml.dump(config.model_dump(exclude_none=True))))
description.append("\n\n")

# validation
description.append("## Validation\n\n")

description.append(
"In order to validate the model, we encourage users to acquire a "
"test dataset with ground-truth data. Comparing the ground-truth data "
"with the prediction allows unbiased evaluation of the model performances. "
"In the absence of ground-truth, inspecting the residual image (difference "
"between input and predicted image) can be helpful to identify "
"whether real signal is removed from the input image.\n\n"
)

# references
reference = config.get_algorithm_references()
if reference != "":
Expand Down

0 comments on commit e803960

Please sign in to comment.