Day 22: Implementing new lifelong learning models

Today I implemented a reservoir sampling algorithm as well as a queue nearest neighbor program. The reservoir algorithm functions similarly to the incremental nearest neighbor program i implemented on Friday. The only difference is that it only holds on to a certain amount of data points per class and when new data points are added it removes an existing point at random. This is an effective way to update your prediction function and it uses less memory than the standard nearest neighbor function. The other program I implemented was the queue nearest neighbor program. This is similar to the reservoir program. The thing queue does differently is that it removes the oldest data point for a specific class when new data points are added. This is also an effective way to reduce memory usage. Tomorrow I plan to combine the VQA data set and these classifiers in order to test the effectiveness of lifelong learning on VQA.

Comments

Popular posts from this blog

Day 11: Network success and an interesting lecture

Day 26: Polishing my presentation