View Single Post
  #22  
Old 01-16-2013, 04:40 AM
alternate alternate is offline
Member
 
Join Date: Jan 2013
Posts: 14
Default Re: PLA - Need Guidance

Does your program print out the number of iterations and probability of error after every individual trial?

If not, you might want to add that so that you can watch it calculate and compare those numbers to the mean you get at the end. It will help narrow down whether the problem is in your algorithm or a simple math error.

I.e., if you're getting 1.5 for the average iterations per trial, then most of your individual trials should have numbers like 1 or 2 iterations.
Reply With Quote