Changeset 9298:27854b9a5976 in orange


Ignore:
Timestamp:
12/05/11 16:29:38 (2 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
892ef940843c876b1cd21d81f70d173699f80d49
Message:

Added orngDisc and orngMisc modules mapping.
Added mapping for orngTree tree print functions.
Fixed rule_to_string name mapping.

Location:
orange/fixes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orange/fixes/fix_changed_names.py

    r9286 r9298  
    215215            
    216216           "orngTree.printTxt": "Orange.classification.tree:TreeClassifier.dump", 
     217           "orngTree.printTree": "Orange.classification.tree:TreeClassifier.dump", 
     218           "orngTree.dumpTree": "Orange.classification.tree:TreeClassifier.dump", 
    217219           "orngTree.printDot": "Orange.classification.tree:TreeClassifier.dot", 
     220           "orngTree.dotTree": "Orange.classification.tree:TreeClassifier.dot", 
     221           "orngTree.dump": "Orange.classification.tree:TreeClassifier.dump", 
     222           "orngTree.dot": "Orange.classification.tree:TreeClassifier.dot", 
     223           "orngTree.countLeaves": "Orange.classification.tree:TreeClassifier.count_leaves", 
     224           "orngTree.countNodes": "Orange.classification.tree:TreeClassifier.count_nodes", 
     225           "orngTree.byWhom": "Orange.classification.tree.by_whom", 
     226           "orngTree.insertStr": "Orange.classification.tree.insert_str", 
     227           "orngTree.insertDot": "Orange.classification.tree.insert_dot", 
     228           "orngTree.insertNum": "Orange.classification.tree.insert_num", 
    218229            
    219230           "orange.MajorityLearner":"Orange.classification.majority.MajorityLearner", 
     
    239250           "orange.ItemsetsSparseInducer" : "Orange.associate.ItemsetsSparseInducer", 
    240251 
    241            "orngCN2.ruleToString": "Orange.classification.rules.ruleToString", 
     252           "orngCN2.ruleToString": "Orange.classification.rules.rule_to_string", 
    242253           "orngCN2.LaplaceEvaluator": "Orange.classification.rules.LaplaceEvaluator", 
    243254           "orngCN2.WRACCEvaluator": "Orange.classification.rules.WRACCEvaluator", 
  • orange/fixes/fix_orange_imports.py

    r9148 r9298  
    2525 
    2626from lib2to3.fixes import fix_imports 
     27 
     28import fix_changed_names 
     29 
     30NAMES_MAPPING = fix_changed_names.MAPPING 
    2731     
    2832 
     
    4953           "orngWrap": "Orange.optimization", 
    5054           "orngClustering": "Orange.clustering", 
     55           "orngDisc": "Orange.feature.discretization", 
    5156           "orngLookup": "Orange.classification.lookup", 
    5257           "orngLinProj": "Orange.projection.linear", 
     58           "orngEnviron": "Orange.misc.environ", 
    5359           } 
    54  
    5560 
    5661def alternates(members): 
Note: See TracChangeset for help on using the changeset viewer.