Skip to main content
. 2020 Feb 25;14:155. doi: 10.3389/fnins.2020.00155

Algorithm 1.

Expanded similarity of MIL representation

Ensure:  Optimal bag formed by atom combination from instances having a window-size vector Δ^pq
1:  Δpq = ϕ
2:  for q = [τinit, Nτ] do
3:        for p = [q, Nτ] do
4:              Sτ=[s(d^τk,Br,τ):r,k]         Calculate similarity matrix
5:              ΔpqSpΔτ
6:              l~ipq=SVM(Δpq)
7:  Δ^pq=arg maxpqE{li-l~ipqE}