Ignore:
Timestamp:
03/18/11 14:53:13 (3 years ago)
Author:
markotoplak
Branch:
default
Convert:
5ddd67ca8e82c904ae3837cdc2e4cc8d9856626b
Message:

Imputation for 2.5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/doc/Orange/rst/code/imputation-minimal-imputer.py

    r7568 r7764  
    88 
    99ba = Orange.classification.bayes.NaiveLearner() 
    10 imba = Orange.feature.imputation.ImputeLearner(baseLearner=ba,  
    11        imputerConstructor=Orange.feature.imputation.ImputerConstructor_minimal) 
     10imba = Orange.feature.imputation.ImputeLearner(base_learner=ba,  
     11       imputer_constructor=Orange.feature.imputation.ImputerConstructor_minimal) 
    1212 
    1313table = Orange.data.Table("voting") 
    14 res = Orange.evaluation.testing.crossValidation([ba, imba], table) 
     14res = Orange.evaluation.testing.cross_validation([ba, imba], table) 
    1515CAs = Orange.evaluation.scoring.CA(res) 
    1616 
Note: See TracChangeset for help on using the changeset viewer.