Changeset 8104:f7a57da739a0 in orange


Ignore:
Timestamp:
07/19/11 15:55:04 (3 years ago)
Author:
lanz <lan.zagar@…>
Branch:
default
Convert:
f75cad0e47d4e8408ffefee8af8663b16383d7b7
Message:

Changed CamelCase attribute names in documentation of MajorityLearner.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/classification/majority.py

    r8042 r8104  
    1717 
    1818    MajorityLearner will most often be used as is, without setting any 
    19     features. Nevertheless, it has two. 
     19    parameters. Nevertheless, it has two. 
    2020 
    21     .. attribute:: estimatorConstructor 
     21    .. attribute:: estimator_constructor 
    2222     
    2323        An estimator constructor that can be used for estimation of 
     
    2626        this class. 
    2727         
    28     .. attribute:: aprioriDistribution 
     28    .. attribute:: apriori_distribution 
    2929     
    3030        Apriori class distribution that is passed to estimator 
     
    3636    same class probabilities. 
    3737 
    38     .. attribute:: defaultVal 
     38    .. attribute:: default_val 
    3939     
    4040        Value that is returned by the classifier. 
    4141     
    42     .. attribute:: defaultDistribution 
     42    .. attribute:: default_distribution 
    4343 
    4444        Class probabilities returned by the classifier. 
    4545 
    4646The ConstantClassifier's constructor can be called without arguments, 
    47 with value (for defaultVal), variable (for classVar). If the value is 
    48 given and is of type orange.Value (alternatives are an integer index 
    49 of a discrete value or a continuous value), its field variable is will 
    50 either be used for initializing classVar if variable is not given as 
     47with value (for default_val), variable (for class_var). If the value is 
     48given and is of type Orange.data.Value (alternatives are an integer index 
     49of a discrete value or a continuous value), its field variable will 
     50either be used for initializing class_var if variable is not given as 
    5151an argument, or checked against the variable argument, if it is given.  
    5252 
Note: See TracChangeset for help on using the changeset viewer.