“…Then, CaPSim is then calculated in the following procedure: - Given a query q and a library scriptL = { R 1 , ··· , R N } , we use an algorithm scriptA to extract the potential CP locations from each molecule’s spectra, i.e., scriptK j = scriptA ( R j ) , ∀ j ∈[ N ].
- After obtaining scriptK j , we perform a spectral max-pooling over each spectrum r i , j in R j , ∀ i ∈[ n j ], and obtain the compressed spectrum r̃ i , j = false[ max k ∈ K 1 , j r i , j , k , max k ∈ K 2 , j r i , j , k , ··· , max k ∈ K m j , j r i , j , k false] T . In other words, for each set of potential CP indices K l , j , ∀ l ∈[ m j ], we take the maximum intensity in this specific area of the spectrum r ...
…”