Public Member Functions | Static Public Attributes

MGT::CrossValidatorApp::CrossValidatorApp Class Reference

Inheritance diagram for MGT::CrossValidatorApp::CrossValidatorApp:
MGT::App::App

List of all members.

Public Member Functions

def doWork
def getOptFileName
def gatherSplits

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 performs cross validation

Member Function Documentation

def MGT::CrossValidatorApp::CrossValidatorApp::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::CrossValidatorApp::CrossValidatorApp::gatherSplits (   self,
  kw 
)
Collect results from training/testing all splits and compute total performance metrics
def MGT::CrossValidatorApp::CrossValidatorApp::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

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: