Changeset 10123:5965da1f088b in orange


Ignore:
Timestamp:
02/08/12 18:14:41 (2 years ago)
Author:
lanumek
Branch:
default
rebase_source:
f92e227da3b69fccca2fb44d29e060425cd8f5ad
Message:

Added ClassifierFromVar

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • Orange/classification/__init__.py

    r9671 r10123  
    1010   ClassifierFromVar, \ 
    1111   RandomClassifier, \ 
    12    RandomLearner 
     12   RandomLearner, \ 
     13   ClassifierFromVar 
     14    
    1315 
    1416from orange import DefaultClassifier as ConstantClassifier 
  • Orange/feature/__init__.py

    r10121 r10123  
    99import continuization 
    1010import imputation 
    11 import classifier 
    1211 
    1312from Orange.core import Variable as Descriptor 
  • Orange/testing/regression/tests_20/modules_bayes.py

    r9952 r10123  
    1 import orange, orngBayes, orngTest, orngStat 
    2  
     1import orange, orngTest, orngStat 
    32data = orange.ExampleTable("lung-cancer") 
    4  
    53bayes = orngBayes.BayesLearner() 
    64bayes_m = orngBayes.BayesLearner(m=2) 
  • docs/reference/rst/Orange.classification.rst

    r10075 r10123  
    8080   Orange.classification.svm 
    8181   Orange.classification.tree 
    82  
     82   Orange.classification.classfromvar 
     83    
    8384Constant Classifier 
    8485------------------- 
  • docs/reference/rst/code/classifier-from-var-example.py

    r10122 r10123  
    1111        return 1 
    1212 
    13 e1.getValueFrom = Orange.feature.classifier.ClassifierFromVar() 
     13e1.getValueFrom = Orange.classification.ClassifierFromVar() 
    1414e1.getValueFrom.whichVar = e 
    1515e1.getValueFrom.transformer = eTransformer 
     
    1919    print i 
    2020 
    21 e1.getValueFrom = Orange.feature.classifier.ClassifierFromVarFD() 
     21e1.getValueFrom = Orange.classification.ClassifierFromVarFD() 
    2222e1.getValueFrom.domain = monks.domain 
    2323e1.getValueFrom.position = monks.domain.attributes.index(e) 
Note: See TracChangeset for help on using the changeset viewer.