public double TrainClassSet(int nrOfEpochs, double learnRate, double momentum, vector_vector_double inputs, vector_int classes, ref double meanError)
    {
        double ret = VisionLabPINVOKE.BPN_Classifier_TrainClassSet(swigCPtr, nrOfEpochs, learnRate, momentum, vector_vector_double.getCPtr(inputs), vector_int.getCPtr(classes), ref meanError);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }