Changeset 7752:04bd4603f9f2 in orange for orange/orngTest.py


Ignore:
Timestamp:
03/15/11 17:37:40 (3 years ago)
Author:
jzbontar <jure.zbontar@…>
Branch:
default
Convert:
740acd1f10088836cd59cc02a37c51b69bb0c588
Message:

Rename camel case identifiers in Orange.evaluation.testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/orngTest.py

    r7413 r7752  
    1 from Orange.evaluation.testing import * 
     1from Orange.evaluation.testing import \ 
     2    encode_PP as encodePP,\ 
     3    TestedExample,\ 
     4    ExperimentResults,\ 
     5    leave_one_out as leaveOneOut,\ 
     6    proportion_test as proportionTest,\ 
     7    cross_validation as crossValidation,\ 
     8    learning_curve_n as learningCurveN,\ 
     9    learning_curve as learningCurve,\ 
     10    learning_curve_with_test_data as learningCurveWithTestData,\ 
     11    test_with_indices as testWithIndices,\ 
     12    learn_and_test_on_test_data as learnAndTestOnTestData,\ 
     13    learn_and_test_on_learn_data as learnAndTestOnLearnData,\ 
     14    test_on_data as testOnData 
     15     
     16 
     17''' 
     18RENAMED METHODS: 
     19 
     20TestedExample.addResult -> TestedExample.add_result 
     21TestedExample.setResult -> TestedExample.set_result 
     22ExperimentResults.loadFromFiles -> ExperimentResults.load_from_files 
     23ExperimentResults.saveToFiles -> ExperimentResults.save_to_files 
     24''' 
Note: See TracChangeset for help on using the changeset viewer.