Skip to content

[RFC] Files Recommendations: Improve algorithm and data sources #888

Description

@skjnldsv

Goals

I think we can improve the current state.
Right now we support three providers:

  • Recently Commented
  • Recently Edited
  • Recently Shared

Sources suggestions

  • Recently Accessed
  • Recently Uploaded (because we keep the mtime when uploading, so new files might not appear as Recently Edited)
  • Frequently Accessed
  • Time of day: Accessed files during specific time of days ?

Aggregation bonus

  • Some data could be regrouped too. Like if you frequently access more than x files in the same folder, also recommend the folder directly?

Distribution

I also suggest to add a weight combining score
Something that can be fined tuned over time, but we could weight the relevancy of a result if it matches multiple criterias (dumb values used for this example below)

$score = (
    0.3 * $recencyScore +
    0.2 * $frequencyScore +
    0.1 * $editScore +
    0.1 * $sharedScore +
    0.1 * $commentedScore
);

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions