Fingerprint Similarity

Fingerprint Similarity

📚 深度解析:指纹图谱相似度评价

💡 常见使用场景

相似度算例
参照峰强 [120,130,110,90],样品 [125,128,115,88];pearson≈0.998、cosine≈0.999,取大者 score≈0.999>0.95 判定一致。
异常批次
对照 [120,130,110,90],异常样 [80,60,55,40];pearson≈0.21,明显偏离,提示投料或工艺偏差。

❓ 常见问题(FAQ)

取哪个相似度?
一般取 pearson 与 cosine 的较大值作为综合 score,避免单一指标失稳。
合格线多少?
中药注射剂/提取物常要求相似度≥0.90~0.95,具体看法定标准。

Formula & Standard References

ItemFormulaSource / Standard
Correlation r = Σ((x−x̄)(y−ȳ)) ÷ √(Σ(x−x̄)² Σ(y−ȳ)²) Pearson correlation
Cosine cosθ = Σ(xᵢ yᵢ) ÷ (√Σxᵢ² × √Σyᵢ²) Cosine similarity
Pass rule ChP requires similarity ≥ 0.9 for consistency Pharmacopoeia fingerprint
⚠️ 使用说明与注意事项