#include "Basis/CmdOptions.h"
#include "Link/Mpi/MpiFuncs.h"
#include "Core/Matrix/DistributedAccess.h"
#include "Core/Array/Pattern/PatMPixOp.h"
#include "Core/Array/PixSum.h"
#include "Core/Array/Set.h"
#include "Core/Array/Add.h"
#include "Core/Array/DivVal.h"
#include "Core/Array/MulVal.h"
#include "Core/Array/Exp.h"
#include "Core/Array/WriteRaw.h"
#include "Core/Array/MakeFromValue.h"
#include "Core/Array/PrintData.h"
#include "Core/Feature/FeatureTable.h"
#include "Core/Feature/FeatureDefinition.h"
#include "Core/Table/Write.h"
#include "Core/Table/Equals.h"
#include "Core/Table/Select.h"
#include "Core/Vector/Apply.h"
#include "Core/VideoSet/MakeVideoSet.h"
#include "Core/ImageSet/MakeImageSet.h"
#include "Core/Training/KernelFunctions.h"
#include "Util/PropertySet.h"
#include "Core/Database/MakeRawDataSet.h"
Include dependency graph for mainPrecomputeKernelMatrix.cpp:
Go to the source code of this file.
Namespaces | |
namespace | Impala |
namespace | Impala::Application |
Functions | |
bool | Impala::Application::CheckParameteres (CmdOptions &options, RawDataSet *dataset, RawDataSet *dataset2, std::vector< Feature::FeatureDefinition > &featureDefs, std::vector< double > &weights, String resultname) |
This function loops over the command line arguments to find (weight,featureDef)-pairs. | |
Feature::FeatureTable * | Impala::Application::OpenFeatureTable (Feature::FeatureDefinition &featureDef, RawDataSet *dataset) |
opens feature table in MPI mode only node0 reads the table, then it is broadcasted | |
void | Impala::Application::GetPartialTask (int &partcount, int &row, int &column) |
This functions figures out which part of the table this process should process. | |
void | Impala::Application::CheckQuids (Feature::FeatureTable *f, RawDataSet *set, RawDataSet *set2, String resultname, int part, int partcount) |
This function does two things:
| |
Feature::FeatureTable * | Impala::Application::GetPartial (Feature::FeatureTable *f, int partnumber, int partcount) |
Split table in subtables depending on this nodes id and the number of nodes if partcount == 1 the the full table is returned. | |
Matrix::Mat * | Impala::Application::ComputeMatrix (Feature::FeatureTable *devel, Feature::FeatureTable *test, String resultname, RawDataSet *set, RawDataSet *set2) |
Input one or two feature tables and out comes the kernel distance matrix. | |
double | Impala::Application::GetAverage (Matrix::Mat *distanceMatrix) |
the average is broadcasted over all nodes | |
void | Impala::Application::WriteInfoFile (int columns, int rows, int partcount, String filepathname, Util::Database *db) |
void | Impala::Application::WriteAverages (String filepathname, Util::Database *db, std::vector< double > averages) |
void | Impala::Application::LoadAverages (RawDataSet *set, String filepathname, std::vector< double > &averages) |
void | Impala::Application::WriteResult (String resultname, Util::Database *db, Matrix::Mat *accumulator) |
int | Impala::Application::mainPrecomputeKernelMatrix (CmdOptions &options) |
Matrix::Mat * | Impala::Application::CreateTestMat (int row, int column, int partCount, int totalSize) |
void | Impala::Application::CreateTestQuids (String resultname, Util::Database *db, int part, int partCount, int totalSize) |
int | Impala::Application::makeTestMatrix (CmdOptions &options) |
int | main (int argc, char *argv[]) |