Added (limited) support for incremental updates in ItemRecommendation::ItemKNN
- Adjustments to incremental training in ItemKNN item recommendation
ItemRecommendation::ItemKNN: Corrected item retraining
Neighbor list handling for incremental ItemKNN
Incremental ItemKNN for Item Recommendation:
- Corrected selective neighborhood retraining
- Still not deals with removed items/users
Changed Predict() prediction score function: score is now normalized by sum of all neighbor scores
Bug in type conversion (ItemKNN predict)
replaced 0f entries by plain 0
capitalize new methods; some code cleaning
Implemented RemoveFeedback; code reorganized;
Added incremental support to ItemRecommendation/UserKNN; Moved ResizeNearestNeighbors method to parent class (KNN)
Corrected NN data structure from array to list (for in-place resizing)
UserKNN: feedback removal code; Comment corrections
KNN Bug correction: occurrence count (cooccurrence diagonal) was being calculated before being populated