![]() |
Problem 1.5 Adaline
I had bad luck with the ALA: for all but the smallest training data sets and with more than 2 dimensions, the weights would go scooting off to infinity.
I modified the algorithm so as to become a regression vs categorization problem, I changed the update criteria to be: Code:
s = np.dot(x[i,:], w) So rather than choosing a plane that separates the data, this chooses the plan that gets the correct distance (within the 0.01) between the plan and the data point for every training data point. |
Re: Problem 1.5 Adaline
Though this is interesting, on further thought, it seems to be quite useless. The y associated with each training point is the distance between that point to the separating plane. So you would have to know the plane to begin with..
|
Re: Problem 1.5 Adaline
|
Re: Problem 1.5 Adaline
Actually, it isn't that useless if the data happens to be that then adaline is a quick way of converging to a plane that fits the data. Yes, thanks for that wikipedia reference.
|
Re: Problem 1.5 Adaline
Well Said Don!
Wikipedia reference was helpful - Thanks Htlin! |
All times are GMT -7. The time now is 01:49 AM. |
Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2021, 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.