mOutput = getOutput();
inputs = new ActivityInput[3];
// input image vector as double[]
inputs[0] = new TypedActivityInput(INPUT_DATA, Object.class);
inputs[0].setBlockReader((BlockReader)getInput(INPUT_DATA));
// input image group/class as int
inputs[1] = new TypedActivityInput(INPUT_CLASSIFIER, Object.class);
inputs[1].setBlockReader((BlockReader)getInput(INPUT_CLASSIFIER));
// input image vector to be tested as double[]
inputs[2] = new TypedActivityInput(INPUT_RESULT_COLUMN_NAME, String.class);
inputs[2].setBlockReader((BlockReader)getInput(INPUT_RESULT_COLUMN_NAME));
NumberOfNeighbour = 3;
metadataSent = false;
classifier = new Classifier();