Skip to content

Commit

Permalink
Feature/save visual (#85)
Browse files Browse the repository at this point in the history
- Added saving and loading to `VisualApp`
- Added pd.DataFrame support for `reco` parameter in `VisualApp`
- Corrected app classes inheritance and construction
Closes #65
  • Loading branch information
blondered authored Mar 20, 2024
1 parent f7aee48 commit 3a2f0fb
Show file tree
Hide file tree
Showing 4 changed files with 804 additions and 352 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased

### Added
- VisualApp and ItemToItemVisualApp widgets for visual comparison of recommendations ([#80](https://github.com/MobileTeleSystems/RecTools/pull/80), [#82](https://github.com/MobileTeleSystems/RecTools/pull/82)) (Need examples and readme update)
- `VisualApp` and `ItemToItemVisualApp` widgets for visual comparison of recommendations ([#80](https://github.com/MobileTeleSystems/RecTools/pull/80), [#82](https://github.com/MobileTeleSystems/RecTools/pull/82), [#85](https://github.com/MobileTeleSystems/RecTools/pull/85)) (Need examples and readme update)
- Methods for conversion `Interactions` to raw form and for getting raw interactions from `Dataset` ([#69](https://github.com/MobileTeleSystems/RecTools/pull/69))
- `AvgRecPopularity (Average Recommendation Popularity)` to `metrics` ([#81](https://github.com/MobileTeleSystems/RecTools/pull/81))
- Added `normalized` parameter to `AvgRecPopularity` metric ([#89](https://github.com/MobileTeleSystems/RecTools/pull/89))
Expand Down
1 change: 1 addition & 0 deletions rectools/columns.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class Columns:
Datetime = "datetime"
Rank = "rank"
Score = "score"
Model = "model"
UserItem = [User, Item]
Interactions = [User, Item, Weight, Datetime]
Recommendations = [User, Item, Score, Rank]
Expand Down
Loading

0 comments on commit 3a2f0fb

Please sign in to comment.