Ignore:
Timestamp:
02/06/12 20:01:02 (2 years ago)
Author:
lanumek
Branch:
default
Children:
9835:e48466fc6eb2, 9841:05a160804431
rebase_source:
8cf30121654f25c9cb6d8ac9bdaf163e305d62da
Message:

Changed names of data sets (table replaced with data or name of the data set).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/reliability-basic.py

    r9681 r9823  
    1 # Description: Reliability estimation - basic & fast 
    2 # Category:    evaluation 
    3 # Uses:        housing 
    4 # Referenced:  Orange.evaluation.reliability 
    5 # Classes:     Orange.evaluation.reliability.Mahalanobis, Orange.evaluation.reliability.LocalCrossValidation, Orange.evaluation.reliability.Learner 
    6  
    71import Orange 
    82 
    9 data = Orange.data.Table("housing.tab") 
     3housing = Orange.data.Table("housing.tab") 
    104 
    115knn = Orange.classification.knn.kNNLearner() 
     
    1610reliability = Orange.evaluation.reliability.Learner(knn, estimators = estimators) 
    1711 
    18 restimator = reliability(data) 
    19 instance = data[0] 
     12restimator = reliability(housing) 
     13instance = housing[0] 
    2014 
    2115value, probability = restimator(instance, result_type=Orange.core.GetBoth) 
Note: See TracChangeset for help on using the changeset viewer.