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/OWPreprocess.py

    r11096 r11748  
    1 """<name>Preprocess</name> 
    2 <description>Construct and apply data preprocessors</description> 
    3 <icon>icons/Preprocess.svg</icon> 
    4 <priority>2105</priority> 
    5 <contact>Ales Erjavec (ales.erjavec(@at@)fri.uni-lj.si)</contact> 
    6 """ 
    7  
    81from OWWidget import * 
    92from OWItemModels import PyListModel, ListSingleSelectionModel, ModelActionsWidget 
     
    147import orngSVM 
    158 
    16 import sys, os 
    17 import math 
     9import sys 
    1810 
    1911from Orange.data import preprocess 
     12 
     13NAME = "Preprocess" 
     14DESCRIPTION = """Supports construction of data preprocessors. 
     15Can apply them on input data sets or offer them to predictors.""" 
     16LONG_DESCRIPTION = "" 
     17ICON = "icons/Preprocess.svg" 
     18PRIORITY = 2105 
     19AUTHOR = "Ales Erjavec" 
     20AUTHOR_EMAIL = "ales.erjavec(@at@)fri.uni-lj.si" 
     21INPUTS = [("Data", Orange.data.Table, "setData")] 
     22OUTPUTS = [("Preprocess", orngWrap.PreprocessedLearner, ), 
     23           ("Preprocessed Data", Orange.data.Table, )] 
     24 
    2025 
    2126def _gettype(obj): 
     
    2631    else: 
    2732        return type(obj) 
    28          
     33 
     34 
    2935def _pyqtProperty(type, **kwargs): 
    3036    # check for Qt version, 4.4 supports only C++ classes  
     
    3541            del kwargs["user"] 
    3642        return property(**kwargs) 
     43 
    3744 
    3845## Preprocessor item editor widgets 
     
    470477        OWWidget.__init__(self, parent, signalManager, name) 
    471478         
    472         self.inputs = [("Data", ExampleTable, self.setData)] #, ("Learner", orange.Learner, self.setLearner)] 
    473         self.outputs = [("Preprocess", orngWrap.PreprocessedLearner), ("Preprocessed Data", ExampleTable)] #, ("Preprocessor", orange.Preprocessor)] 
     479        self.inputs = [("Data", Orange.data.Table, self.setData)] 
     480        self.outputs = [("Preprocess", orngWrap.PreprocessedLearner), 
     481                        ("Preprocessed Data", Orange.data.Table)] 
    474482         
    475483        self.autoCommit = False 
Note: See TracChangeset for help on using the changeset viewer.