// // MPT_DataLoader.h // AUCoderDemo // // Created by Andrew Salamon on 11/13/06. // Copyright 2006 Machine Perception Laboratory, University of California San Diego.. All rights reserved. // #import /** This class loads all SVM weights files. * Calling loadAllWeights on a separate thread from the main thread will let the UI * continue to be responsive to the user. * Two methods will be called on the delegate, one for each SVM step, the other after they are all loaded. * - (void)incrementWeightsProgress * - (void)loaderFinished:(MPT_DataLoader *)loader * * The errors array will contain any plugins that had errors while loading. */ @interface MPT_DataLoader : NSObject { id delegate; void *pluginWeights; NSMutableArray *errors; } - (id)initWithDelegate:(id)_delegate; - (int)weightsFileCount; // Number of files we need to load for each set of weights. - (void)loadAllWeights; - (NSArray *)errors; @end