Changeset 9304:f7364697386d in orange


Ignore:
Timestamp:
12/05/11 19:02:24 (2 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
f3f2131d48d5e75ac6593abb5b22d03b126bebe6
Message:

Added reporting to EARTH widget.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Regression/OWEarth.py

    r9223 r9304  
    9090        self.send("Predictor", predictor) 
    9191         
     92    def sendReport(self): 
     93        self.reportSettings("Learning parameters",  
     94                            [("Degree", self.degree), 
     95                             ("Terms", self.terms), 
     96                             ("Knot penalty", "%.2f" % self.penalty) 
     97                             ]) 
     98        self.reportData(self.data) 
     99         
    92100if __name__ == "__main__": 
    93101    app = QApplication(sys.argv) 
Note: See TracChangeset for help on using the changeset viewer.