Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.961 | stmt_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 111 | Bio/HMM/MarkovModel.py |
2 | 3 | 116 | Bio/HMM/MarkovModel.py |
| ||||
# first set the transitions new_trans_prob = float(1)/float(len(self.transition_prob.keys( ))) for key in self.transition_prob.keys( ): self.transition_prob[key] = new_trans_prob # now set the emissions |
| ||||
new_emission_prob = float(1)/float(len(self.emission_prob.keys( ))) for key in self.emission_prob.keys( ): self.emission_prob[key] = new_emission_prob |
| |||
[[#variable18c5d320]]= float(1)/float(len(self. [[#variable174b0ea0]].keys( ))) for key in self. [[#variable174b0ea0]].keys( ): self. [[#variable174b0ea0]][key] = [[#variable18c5d320]] # now set the emissions |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18c5d320]] | # first set the transitions new_trans_prob |
1 | 2 | [[#18c5d320]] | new_emission_prob |
2 | 1 | [[#174b0ea0]] | transition_prob |
2 | 2 | [[#174b0ea0]] | emission_prob |