CloneSet413


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4201.000stmt_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14225
Bio/MaxEntropy.py
24128
Bio/NaiveBayes.py
Clone Instance
1
Line Count
4
Source Line
225
Source File
Bio/MaxEntropy.py

    if not len(training_set): 
         raise ValueError("No data in the training set.") 
    if len(training_set)!=len(results):  
        raise ValueError("training_set and results should be parallel lists.") 

    # Rename variables for convenience.


Clone Instance
2
Line Count
4
Source Line
128
Source File
Bio/NaiveBayes.py

    if not len(training_set): 
         raise ValueError("No data in the training set.") 
    if len(training_set)!=len(results):  
        raise ValueError("training_set and results should be parallel lists.") 

    # If no typecode is specified, try to pick a reasonable one.  If
    # training_set is a Numeric array, then use that typecode.
    # Otherwise, choose a reasonable default.
    # XXX NOT IMPLEMENTED

    # Check to make sure each vector in the training set has the same
    # dimensionality.


Clone AbstractionParameter Count: 0Parameter Bindings

if not len(training_set):
  raise ValueError("No data in the training set.") 
if len(training_set)!=len(results):
  raise ValueError("training_set and results should be parallel lists.") 
  # If no typecode is specified, try to pick a reasonable one.  If
  # training_set is a Numeric array, then use that typecode.
  # Otherwise, choose a reasonable default.
  # XXX NOT IMPLEMENTED
  # Check to make sure each vector in the training set has the same
  # dimensionality.
  # Rename variables for convenience.
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None