Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expected behavior for updates between MIX #840

Closed
kmaehashi opened this issue Jul 7, 2014 · 2 comments
Closed

Expected behavior for updates between MIX #840

kmaehashi opened this issue Jul 7, 2014 · 2 comments
Assignees
Milestone

Comments

@kmaehashi
Copy link
Member

Thinking of the following scenario:

  1. Server received UPDATE request from client
  2. Server starts MIX
  3. get_diff done.
  4. Server received UPDATE request from client
  5. put_diff done.

For classifier, UPDATE request given in 4. will be lost (overwritten by 5.).
However, for recommender, it persists in sparse_matrix_storage that holds the original feature vectors.
What behavior should I expect in such case for each engine?

@kmaehashi kmaehashi added this to the Far Future milestone Jul 14, 2014
@kmaehashi kmaehashi modified the milestones: Near Future, Far Future Jul 28, 2014
@kmaehashi kmaehashi self-assigned this Jul 28, 2014
@kmaehashi kmaehashi modified the milestones: 0.6.4, Near Future Oct 1, 2014
@kmaehashi kmaehashi modified the milestones: 0.6.4, 0.6.5 Oct 23, 2014
@kmaehashi kmaehashi modified the milestones: 0.6.5, 0.6.6 Nov 26, 2014
@kmaehashi kmaehashi modified the milestones: 0.6.6, 0.7.0 Jan 13, 2015
@kmaehashi kmaehashi modified the milestones: 0.7.0, 0.7.1 Feb 23, 2015
@kmaehashi kmaehashi modified the milestones: 0.7.1, 0.7.2 Apr 3, 2015
@kmaehashi kmaehashi modified the milestones: 0.7.2, 0.8.0 Apr 28, 2015
@kmaehashi kmaehashi modified the milestones: 0.8.0, 0.7.2 Apr 28, 2015
@kmaehashi kmaehashi modified the milestones: 0.8.0, 0.8.1 Jul 3, 2015
@kmaehashi kmaehashi modified the milestones: 0.8.1, 0.8.2 Jul 29, 2015
@kmaehashi
Copy link
Member Author

+------------------+-----------------------------------+-----------------------------+
| Engine           | Algorithm                         | Behaviour                   |
+==================+===================================+=============================+
| Classifier       |  `nn`                             | Preserve                    |
|                  +-----------------------------------+-----------------------------+
|                  |  Others                           | Discard                     |
+------------------+-----------------------------------+-----------------------------+
| Regression       |  -                                | Discard                     |
+------------------+-----------------------------------+-----------------------------+
| Recommender      |  `nearest_neighbor_recommender`   | Preserve [^1]               |
|                  +-----------------------------------+-----------------------------+
|                  |  Others                           | Discard [^2]                |
+------------------+-----------------------------------+-----------------------------+
| Nearest Neighbor |  -                                | Preserve [^3]               |
+------------------+-----------------------------------+-----------------------------+
| Anomaly          |  `lof`                            | Discard [^2]                |
|                  +-----------------------------------+-----------------------------+
|                  |  `light_lof`                      | Preserve [^3]               |
+------------------+-----------------------------------+-----------------------------+
| Clustering       |  -                                | Preserve                    |
+------------------+-----------------------------------+-----------------------------+
| Burst            |  -                                | Discard                     |
+------------------+-----------------------------------+-----------------------------+
| Stat             |  -                                | Preserve                    |
+------------------+-----------------------------------+-----------------------------+
| Graph            |  -                                | Preserve                    |
+------------------+-----------------------------------+-----------------------------+
| Bandit           |  -                                | Discard                     |
+------------------+-----------------------------------+-----------------------------+

Footnotes

  1. When adding new rows between MIX, the newly added row will be preserved. When overwriting existing rows between MIX, the modification will be discarded.

@kmaehashi kmaehashi modified the milestones: 0.8.2, 0.8.3 Sep 1, 2015
@kmaehashi kmaehashi modified the milestones: 0.8.3, 0.8.4 Sep 28, 2015
@kmaehashi kmaehashi modified the milestones: 0.8.4, 0.8.5 Oct 30, 2015
@kmaehashi kmaehashi modified the milestones: 0.8.5, 0.8.6 Dec 3, 2015
@kmaehashi
Copy link
Member Author

I've updated the table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant