Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 781863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:17:50+00:00 2026-05-14T20:17:50+00:00

I am wondering what algorithm would be clever to use for a tag driven

  • 0

I am wondering what algorithm would be clever to use for a tag driven e-commerce enviroment:

  • Each item has several tags. IE:

    Item name: “Metallica – Black Album CD”, Tags: “metallica”, “black-album”, “rock”, “music”

  • Each user has several tags and friends(other users) bound to
    them. IE:

    Username: “testguy”, Interests: “python”, “rock”, “metal”, “computer-science”
    Friends: “testguy2”, “testguy3”

I need to generate recommendations to such users by checking their interest tags and generating recommendations in a sophisticated way.

Ideas:

  • A Hybrid recommendation algorithm can be used as each user has friends.(mixture of collaborative + context based recommendations).
  • Maybe using user tags, similar users (peers) can be found to generate recommendations.

  • Maybe directly matching tags between users and items via tags.

Any suggestion is welcome. Any python based library is also welcome as I will be doing this experimental engine on python language.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T20:17:51+00:00Added an answer on May 14, 2026 at 8:17 pm

    1) Weight your tags.

    Tags fall into several groups of interest:

    • My tags that none of my friends share
    • Tags a number of my friends share, but I don’t
    • My tags that are shared by a number of my friends.

    (sometimes you may want to consider friend-of-a-friend tags too, but in my experience the effort hasn’t been worth it. YMMV.)

    Identify all tags that the person and/or the person’s friends have in interests, and attach a weight to the tags for this individual. One simple possible formula for tag weight is

    (tag_is_in_my_list) * 2 + (friends_with_tag)/(number_of_friends)
    

    Note the magic number 2, which makes your own opinion worth twice as much as that of all of your friends put together. Feel free to tweak 🙂

    2) Weight your items

    For each item that has any of the tags in your list, just add up all of the weighted values of the tags. A higher value = more interest.

    3) Apply a threshold.

    The simplest way is to show the user the top n results.

    More sophisticated systems also apply anti-tags (i.e. topics of non-interest) and do many other things, but I have found this simple formula effective and quick.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering if there is an algorithm which would find shortest paths in
I'm wondering how you would make the recursive calls in Strassen's algorithm, and where
I'm studying string searching algorithms now and wondering what algorithm is used for .NET
I was wondering if you know any algorithm that can do an automatic assignment
I'm wondering if this is a sufficient algorithm for finding the best value with
Just wondering if there was a nice (already implemented/documented) algorithm to do the following
Im creating a minesweeper and just wondering what is the best algorithm to search
I am running a parallel algorithm using light threads and I am wondering how
I'm implementing a binary representation of an equal-side bi-partitioning algorithm and I'm wondering what
I was wondering if there is an algorithm to split a line into multiple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.