Public Member Functions | Static Public Attributes

MGT::ParamScanApp::ParamScanApp Class Reference

Inheritance diagram for MGT::ParamScanApp::ParamScanApp:
MGT::App::App

List of all members.

Public Member Functions

def doWork
def getOptFileName
def gather

Static Public Attributes

tuple batchDepModes = ("scatter",)
 Derived classes should set this to a list of opt.mode values that can result in submision of new batch jobs.

Detailed Description

Class that runs cross-validation for different combinations of classifier's hyper-parameters.

Member Function Documentation

def MGT::ParamScanApp::ParamScanApp::doWork (   self,
  kw 
)
Do the actual work.
Must be redefined in the derived classes.
Should not be called directly by the user except from doWork() in a derived class.
Should work with empty keyword dict, using only self.opt.
If doing batch submision of other App instances, must return a list of sink (final) BatchJob objects.

Reimplemented from MGT::App::App.

def MGT::ParamScanApp::ParamScanApp::gather (   self,
  kw 
)
Collect results from cross-validation jobs and save performance metrics in a single PerfMetricsSet
def MGT::ParamScanApp::ParamScanApp::getOptFileName (   self )
Return stable file name for options dump.
This file can be updated as computation progresses.
It can hold file names for final result files etc.

Member Data Documentation

tuple MGT::ParamScanApp::ParamScanApp::batchDepModes = ("scatter",) [static]

Derived classes should set this to a list of opt.mode values that can result in submision of new batch jobs.

Reimplemented from MGT::App::App.


The documentation for this class was generated from the following file: