LFD Book Forum  

Go Back   LFD Book Forum > Course Discussions > Online LFD course > Homework 1

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 04-08-2012, 08:46 AM
tcristo tcristo is offline
Member
 
Join Date: Apr 2012
Posts: 23
Default Re: Perceptron Learning Algorithm

Quote:
Originally Posted by GraceLAX View Post

If an algorithm always converges would the Pr(f(x) ne g(x)) = 0?

I believe you will need to generate a separate set of test data to process and determine the error rate. Don't update the weights when processing the test data, just process each data point and determine whether it was correct or not. Aggregate those results and you should have your classifier error rate.

BTW: This is how I did it which I guess shouldn't necessarily be confused with the correct way of doing it
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:16 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.