icub-client
Namespaces | Functions | Variables
SAMTesting.py File Reference

Go to the source code of this file.

Namespaces

 SAM.SAM_Core.SAMTesting
 

Functions

def SAM.SAM_Core.SAMTesting.deep_getsizeof (o, ids)
 Method to calculate the size of an object o in bytes. More...
 
def SAM.SAM_Core.SAMTesting.calibrateModelRecall (thisModel)
 Logic to initialise calibration of model recall in order to recognize known from unknown instances. More...
 
def SAM.SAM_Core.SAMTesting.calibrateSingleModelRecall (thisModel)
 Perform calibration for single model implementations. More...
 
def SAM.SAM_Core.SAMTesting.calibrateMultipleModelRecall (thisModel)
 Perform calibration for multiple model implementations. More...
 
def SAM.SAM_Core.SAMTesting.formatDataFunc (Ydata)
 Utility function to format data for testing. More...
 
def SAM.SAM_Core.SAMTesting.singleRecall (thisModel, testInstance, verbose, visualiseInfo=None, optimise=100)
 Method that performs classification for single model implementations. More...
 
def SAM.SAM_Core.SAMTesting.multipleRecall_noCalib (thisModel, testInstance, verbose, visualiseInfo=None, optimise=True)
 Method that performs classification for uncalibrated multiple model implementations. More...
 
def SAM.SAM_Core.SAMTesting.multipleRecall (thisModel, testInstance, verbose, visualiseInfo=None, optimise=100)
 Method that performs classification for calibrated multiple model implementations. More...
 
def SAM.SAM_Core.SAMTesting.wait_watching_stdout (ar, dt=1, truncate=1000)
 Monitoring function that logs to stdout the logging output of multiple threads. More...
 
def SAM.SAM_Core.SAMTesting.testSegment (thisModel, Ysample, verbose, visualiseInfo=None, optimise=100)
 Utility function to test a sample. More...
 
def SAM.SAM_Core.SAMTesting.segmentTesting (thisModel, Ysample, Lnum, verbose, label, serialMode=False, optimise=100, calibrate=False)
 Method to test multiple samples at a time. More...
 
def SAM.SAM_Core.SAMTesting.testSegments (thisModel, Ysample, Lnum, verbose, label, serialMode=False)
 Function to test segments and return a confusion matrix. More...
 
def SAM.SAM_Core.SAMTesting.calculateVarianceThreshold (segIntersections, mk, muk, vk, vuk)
 Method to decide on the approach to be used for setting variance thresholds and method of thresholding. More...
 
def SAM.SAM_Core.SAMTesting.calculateData (textLabels, confMatrix, numItems=None)
 Calculate the normalised confusion matrix. More...
 
def SAM.SAM_Core.SAMTesting.combineClassifications (thisModel, labels, likelihoods)
 Combine multiple classifications into a single classification. More...
 

Variables

 SAM.SAM_Core.SAMTesting.threshold
 
 SAM.SAM_Core.SAMTesting.nan
 
 SAM.SAM_Core.SAMTesting.precision