nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Math.Core / LSHParameterEstimator

LSHParameterEstimator

Full name Microsoft.VisualBasic.Math.HashMaps.MinHash.LSHParameterEstimator Assembly Microsoft.VisualBasic.Math.Core Members 3

01 Syntax

Microsoft.VisualBasic.Math.HashMaps.MinHash.LSHParameterEstimator

02 Methods

NameOverloadsSummary
GetThresholdFromIdentity 1 核心推荐函数:根据目标序列一致性,计算应该使用的 MinHash 相似度阈值
EstimateLSHThreshold 1 估算当前 LSH 参数对应的“临界相似度” 相似度高于此值的序列有极高概率被选中,低于此值的极大概率被过滤
RecommendConfig 1 辅助工具:根据目标相似度推荐 b 和 r 的配置

03 Members

method GetThresholdFromIdentity #
GetThresholdFromIdentity(Double, Int32)

核心推荐函数:根据目标序列一致性,计算应该使用的 MinHash 相似度阈值

Parameters
NameTypeDescription
targetIdentityDouble

目标序列一致性 (如 CD-hit 的 0.8)

kInt32

k-mer 大小

Returns

建议的 MinHash Jaccard 阈值

method EstimateLSHThreshold #
EstimateLSHThreshold(Int32, Int32)

估算当前 LSH 参数对应的“临界相似度” 相似度高于此值的序列有极高概率被选中,低于此值的极大概率被过滤

Parameters
NameTypeDescription
numBandsInt32

波段数

rowsPerBandInt32

每波段行数

Returns

LSH 临界阈值

method RecommendConfig #
RecommendConfig(Double, Int32)

辅助工具:根据目标相似度推荐 b 和 r 的配置

Parameters
NameTypeDescription
targetJaccardDouble

目标 Jaccard 相似度

totalHashFunctionsInt32

总哈希函数数量 (如 100)

Returns

建议的波段数和每波段行数