Very simple implementation of PLA algorithm. Really worth to try by anyone interesting to Machine Leaning.
Though the input x has only 4 features in this problem, we need to add one more feature as bias during learning, meaning that the weight vector should be 5 dimensions too.
No comments:
Post a Comment