Description Usage Arguments Value
View source: R/segmentation_loss_metric.R
Function for calculating dice coefficient.
1 | dice_coeff(y_true, y_pred, smooth = 1)
|
y_true |
Tensor of true probabilities. |
y_pred |
Tensor of predicted probabilities. |
smooth |
Smoothing Factor. |
Dice coefficient.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.