scSLAT.metrics.edge_score
- scSLAT.metrics.edge_score(edges, matching, score=[1, -1], punish_distance=False, punish_scale=1)[source]
Calculate edge score in two aligned graph (higher means better)
- Parameters:
edges (
typing.List
[torch.Tensor
]) – list of edge of every datasetmatching (
torch.Tensor
) – matching resultscore (
typing.Optional
[typing.List
[float
]]) – score of [match_edge, mismatch_edge]punish_distance (
typing.Optional
[bool
]) – if punish on the distance of mismatch cellpunish_scale (
typing.Optional
[float
]) – punish scale if punish_distance is TrueReference –
---------- –
Alignment" (Joel Douglas et al. "Metrics for Evaluating Network) –
- Return type: