CloneSet142


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12240.952block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112324
Bio/MarkovModel.py
212340
Bio/MarkovModel.py
Clone Instance
1
Line Count
12
Source Line
324
Source File
Bio/MarkovModel.py

        k = outputs[t-1] 
        for j in range(N): 
             # The probability of the state is the sum of the
             # transitions from all the states from time t-1.
             lprob = LOG0 
             for i in range(N): 
                  lp = matrix[i][t-1]+lp_transition[i][j]+lp_emission[i][k] 


                  lprob = _logadd(lprob,lp) 
             matrix[j][t] = lprob 
        


Clone Instance
2
Line Count
12
Source Line
340
Source File
Bio/MarkovModel.py

        k = outputs[t] 
        for i in range(N): 
             # The probability of the state is the sum of the
             # transitions from all the states from time t+1.
             lprob = LOG0 
             for j in range(N): 
                  lp = matrix[j][t+1]+lp_transition[i][j]+lp_emission[i][k] 


                  lprob = _logadd(lprob,lp) 
             matrix[i][t] = lprob 
        


Clone AbstractionParameter Count: 4Parameter Bindings

  k = outputs[ [[#variable72eb4c80]]] 
  for [[#variable72eb4c00]]in range(N):
  
    # The probability of the state is the sum of the
    # transitions from all the states from time t+1.
    # transitions from all the states from time t-1.
    lprob = LOG0 
    for [[#variable72eb4ba0]]in range(N):
    
      lp = matrix[ [[#variable72eb4ba0]]][ [[#variable72eb4b40]]]+lp_transition[i][j]+lp_emission[i][k] 
      lprob = _logadd(lprob,lp) 
    matrix[ [[#variable72eb4c00]]][t] = lprob 
  
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#72eb4c80]]
t 
12[[#72eb4c80]]
t-1 
21[[#72eb4c00]]
i 
22[[#72eb4c00]]
j 
31[[#72eb4ba0]]
j 
32[[#72eb4ba0]]
i 
41[[#72eb4b40]]
t+1 
42[[#72eb4b40]]
t-1