public double EvaluateClassImageSet(ClassImageSet_Int32 cis, vector_int classesRes, vector_double confidencies, vector_vector_double outputs, ref double meanError) { double ret = VisionLabPINVOKE.BPN_ImageClassifier_Int32_EvaluateClassImageSet(swigCPtr, ClassImageSet_Int32.getCPtr(cis), vector_int.getCPtr(classesRes), vector_double.getCPtr(confidencies), vector_vector_double.getCPtr(outputs), ref meanError); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public override float EvaluateClassImageSet(ClassImageSet_Int32 cis, float beginAngle, float endAngle, vector_PatternEvalResult tabs, ref float meanError) { float ret = VisionLabPINVOKE.BlobMatcher_Int32_EvaluateClassImageSet(swigCPtr, ClassImageSet_Int32.getCPtr(cis), beginAngle, endAngle, vector_PatternEvalResult.getCPtr(tabs), ref meanError); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public double EvaluateClassImageSet(ClassImageSet_Int32 cis, vector_int classesRes, vector_double confidencies, vector_vector_double outputs, ref double meanError) { double ret = VisionLabPINVOKE.BPN_ImageClassifier_Int32_EvaluateClassImageSet(swigCPtr, ClassImageSet_Int32.getCPtr(cis), vector_int.getCPtr(classesRes), vector_double.getCPtr(confidencies), vector_vector_double.getCPtr(outputs), ref meanError); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public double TrainClassImageSet(int nrOfEpochs, double learnRate, double momentum, ClassImageSet_Int32 cis, ref double meanError) { double ret = VisionLabPINVOKE.BPN_ImageClassifier_Int32_TrainClassImageSet(swigCPtr, nrOfEpochs, learnRate, momentum, ClassImageSet_Int32.getCPtr(cis), ref meanError); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(ClassImageSet_Int32 obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public BPN_ImageOptimizer_Int32(int populationSize, int nrEpochs, double lowConfidence, ClassImageSet_Int32 trainCIS, ClassImageSet_Int32 evalCIS, int hidden1Low, int hidden1High, int hidden2Low, int hidden2High, double learnRateLow, double learnRateHigh, double momentumLow, double momentumHigh) : this(VisionLabPINVOKE.new_BPN_ImageOptimizer_Int32(populationSize, nrEpochs, lowConfidence, ClassImageSet_Int32.getCPtr(trainCIS), ClassImageSet_Int32.getCPtr(evalCIS), hidden1Low, hidden1High, hidden2Low, hidden2High, learnRateLow, learnRateHigh, momentumLow, momentumHigh), true) { if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } }
internal static HandleRef getCPtr(ClassImageSet_Int32 obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public double TrainClassImageSet(int nrOfEpochs, double learnRate, double momentum, ClassImageSet_Int32 cis, ref double meanError) { double ret = VisionLabPINVOKE.BPN_ImageClassifier_Int32_TrainClassImageSet(swigCPtr, nrOfEpochs, learnRate, momentum, ClassImageSet_Int32.getCPtr(cis), ref meanError); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ClassImageSet_Int32 obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public virtual float EvaluateClassImageSet(ClassImageSet_Int32 cis, float beginAngle, float endAngle, vector_PatternEvalResult tabs, ref float meanError) { float ret = VisionLabPINVOKE.PatternMatcher_Int32_EvaluateClassImageSet(swigCPtr, ClassImageSet_Int32.getCPtr(cis), beginAngle, endAngle, vector_PatternEvalResult.getCPtr(tabs), ref meanError); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public BPN_ImageOptimizer_Int32(int populationSize, int nrEpochs, double lowConfidence, ClassImageSet_Int32 trainCIS, ClassImageSet_Int32 evalCIS, int hidden1Low, int hidden1High, int hidden2Low, int hidden2High, double learnRateLow, double learnRateHigh, double momentumLow, double momentumHigh) : this(VisionLabPINVOKE.new_BPN_ImageOptimizer_Int32(populationSize, nrEpochs, lowConfidence, ClassImageSet_Int32.getCPtr(trainCIS), ClassImageSet_Int32.getCPtr(evalCIS), hidden1Low, hidden1High, hidden2Low, hidden2High, learnRateLow, learnRateHigh, momentumLow, momentumHigh), true) { if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }