Skip to content

[FEATURE] : ML-based Smart Package Recommendation (TF-IDF) #56

@mehakar09

Description

@mehakar09

Enhance archpkg-helper by adding a feature that suggests related or alternative packages using TF-IDF vectorization and cosine similarity on package names and descriptions

Proposed Implementation:

  • Create a module ml_suggestions.py.
  • Use scikit-learn’s TfidfVectorizer on package names + descriptions.
  • Compute cosine similarity for the user query and return top N suggestions.
  • Optional: add a CLI flag like --smart for enabling suggestions.
  • Cache results to improve performance (optional enhancement).

Please assign this issue to me. I'm raising this issue with the intention of working on it for GSSOC'25. Please add the required labels when assigning the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GSSoC'25Level 3Requires heavy coding earns you 10 points.NLPenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions