CloneSet353


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.958block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11075
Bio/HMM/DynamicProgramming.py
210141
Bio/HMM/DynamicProgramming.py
Clone Instance
1
Line Count
10
Source Line
75
Source File
Bio/HMM/DynamicProgramming.py

            # now loop over the letters in the state path
            for main_state in state_letters: 
                 # calculate the forward value using the appropriate
                 # method to prevent underflow errors
                 forward_value = self._forward_recursion(main_state,i,forward_var) 


                 if forward_value is not None: 
                      forward_var[(main_state,i)] =  forward_value 

          # -- termination step - calculate the probability of the sequence
                 


Clone Instance
2
Line Count
10
Source Line
141
Source File
Bio/HMM/DynamicProgramming.py

            # now loop over the letters in the state path
            for main_state in state_letters: 
                 # calculate the backward value using the appropriate
                 # method to prevent underflow errors
                 backward_value = self._backward_recursion(main_state,i,backward_var) 


                 if backward_value is not None: 
                      backward_var[(main_state,i)] =  backward_value 

          # skip the termination step to avoid recalculations -- you should
          # get sequence probabilities using the forward algorithm
                 


Clone AbstractionParameter Count: 3Parameter Bindings

  # now loop over the letters in the state path
  for main_state in state_letters:
  
    # calculate the forward value using the appropriate
    # calculate the backward value using the appropriate
    # method to prevent underflow errors
     [[#variable77a84160]]= self. [[#variable77a840a0]](main_state,i, [[#variable78b5bfa0]]) 
    if [[#variable77a84160]]is not None:
    
       [[#variable78b5bfa0]][(main_state,i)] = [[#variable77a84160]]
      # -- termination step - calculate the probability of the sequence
      # skip the termination step to avoid recalculations -- you should
      # get sequence probabilities using the forward algorithm
    
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#77a84160]]
forward_value 
12[[#77a84160]]
backward_value 
21[[#77a840a0]]
_forward_recursion 
22[[#77a840a0]]
_backward_recursion 
31[[#78b5bfa0]]
forward_var 
32[[#78b5bfa0]]
backward_var