CloneSet261


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2310.968compound_stmt
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12428
Bio/MarkovModel.py
22440
Bio/MarkovModel.py
32521
Bio/MarkovModel.py
Clone Instance
1
Line Count
2
Source Line
428
Source File
Bio/MarkovModel.py

    for i in range(len(p_transition)): 
         p_transition[i, : ] = p_transition[i, : ]/sum(p_transition[i, : ]) 

     # p_emission is the probability of an output given a state.
     # C(s,o)|C(s) where o is an output and s is a state.


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

    for i in range(len(p_emission)): 
         p_emission[i, : ] = p_emission[i, : ]/sum(p_emission[i, : ]) 


Clone Instance
3
Line Count
2
Source Line
521
Source File
Bio/MarkovModel.py

        for i in range(len(matrix)): 
             matrix[i, : ] = matrix[i, : ]/sum(matrix[i, : ]) 


Clone AbstractionParameter Count: 1Parameter Bindings

for i in range(len( [[#variable1982eda0]])):
   [[#variable1982eda0]][i, : ] = [[#variable1982eda0]][i, : ]/sum( [[#variable1982eda0]][i, : ]) 
  # p_emission is the probability of an output given a state.
  # C(s,o)|C(s) where o is an output and s is a state.
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1982eda0]]
p_transition 
12[[#1982eda0]]
p_emission 
13[[#1982eda0]]
matrix