microglia_analyzer.custom_loss module

microglia_analyzer.custom_loss.compute_connected_components_penalty(y_pred, max_allowed=1)[source]
microglia_analyzer.custom_loss.compute_skeleton_reward(y_pred, min_length=10)[source]
microglia_analyzer.custom_loss.custom_loss(y_true, y_pred, alpha=0.5, beta=0.3, gamma=0.2)[source]
microglia_analyzer.custom_loss.dice_loss_function(y_true, y_pred)[source]