Ignore:
Timestamp:
11/01/13 02:09:11 (6 months ago)
Author:
blaz <blaz.zupan@…>
Branch:
default
Message:

Changes in headers, widget descriptions text.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/Data/OWDataSampler.py

    r11096 r11748  
    1 r""" 
    2 <name>Data Sampler</name> 
    3 <description>Selects a subset of instances from the data set.</description> 
    4 <icon>icons/DataSampler.svg</icon> 
    5 <contact>Aleksander Sadikov (aleksander.sadikov(@at@)fri.uni-lj.si)</contact> 
    6 <priority>1125</priority> 
    7 """ 
     1import random 
     2import Orange 
     3import OWGUI 
    84from OWWidget import * 
    9 import OWGUI 
    10 import random 
     5 
     6NAME = "Data Sampler" 
     7DESCRIPTION = "Samples data from a data set." 
     8ICON = "icons/DataSampler.svg" 
     9PRIORITY = 1125 
     10CATEGORY = "Data" 
     11MAINTAINER = "Aleksander Sadikov" 
     12MAINTAINER_EMAIL = "aleksander.sadikov(@at@)fri.uni-lj.si" 
     13INPUTS = [("Data", Orange.data.Table, "setData", Default)] 
     14OUTPUTS = [("Data Sample", Orange.data.Table, ), 
     15           ("Remaining Data", Orange.data.Table, )] 
     16 
    1117 
    1218class OWDataSampler(OWWidget): 
    1319    settingsList=["Stratified", "Repeat", "UseSpecificSeed", "RandomSeed", 
    14     "GroupSeed", "outFold", "Folds", "SelectType", "useCases", "nCases", "selPercentage", "LOO", 
     20    "GroupSeed", "outFold", "Folds", "SelectType", "useCases", "nCases", 
     21    "selPercentage", "LOO", 
    1522    "CVFolds", "CVFoldsInternal", "nGroups", "pGroups", "GroupText"] 
    1623     
     
    337344    appl = QApplication(sys.argv) 
    338345    ow = OWDataSampler() 
    339     data = orange.ExampleTable('../../doc/datasets/iris.tab') 
     346    data = Orange.data.Table('iris.tab') 
    340347    ow.setData(data) 
    341348    ow.show() 
Note: See TracChangeset for help on using the changeset viewer.