<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Meenakshi on Medium]]></title>
        <description><![CDATA[Stories by Meenakshi on Medium]]></description>
        <link>https://medium.com/@miinaengg312?source=rss-5978b1e5f960------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*K3tJS3k-QG-mPZsA</url>
            <title>Stories by Meenakshi on Medium</title>
            <link>https://medium.com/@miinaengg312?source=rss-5978b1e5f960------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 23:31:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@miinaengg312/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Collaborative Filtering-Better way to make relatable recommendations]]></title>
            <link>https://medium.com/@miinaengg312/collaborative-filtering-better-way-to-make-relatable-recommendations-b80549007de9?source=rss-5978b1e5f960------2</link>
            <guid isPermaLink="false">https://medium.com/p/b80549007de9</guid>
            <category><![CDATA[recommendations]]></category>
            <category><![CDATA[neighborhood-filtering]]></category>
            <category><![CDATA[recommendation-system]]></category>
            <category><![CDATA[memory-based-filtering]]></category>
            <category><![CDATA[collaborative-filtering]]></category>
            <dc:creator><![CDATA[Meenakshi]]></dc:creator>
            <pubDate>Sun, 04 Feb 2024 12:09:17 GMT</pubDate>
            <atom:updated>2024-02-04T12:09:17.637Z</atom:updated>
            <content:encoded><![CDATA[<p>We are in the era of online shopping which had transformed offline marketing to digital thus creating market space in the web.Now considering the factor of recommendations it is a way easy to recommend products in online purchase as we have the potential to store user’s history and buying patterns.In constrast to this offline commerce just follows the tradition of storing the transactions whereas the knowledge about purchasing behaviour is almost nill .So it is necessary to leverage online shopping and incorporate recommendation systems into them in a way providing users with a relatability driven purchasing experience.</p><blockquote>Collaborative filtering is one such technique which is responsible for providing users with recommendations based on relatablility(similarity ) of user A with like minded users of target user A .</blockquote><p>Working of collaborative filtering can be understood from following diagram</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*Z-jI_szH1Tf7RvV4W4V1Ow.jpeg" /><figcaption>Fig 1:Working of Collaborative Filtering</figcaption></figure><p>Consider the following example</p><p>Let us assume that there are 2 users Alice and Bob.Alice and Bob like laptop (assume both of them purchased it) thus we can conclude both the users are similar.Now if Alice likes mouse (as it necessary product when laptop is purchased) as both the users are relatable that means they being similar , item <strong>mouse </strong>is recommended to Bob.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*O76b7npw7uQb3_1KKsOB6Q.jpeg" /><figcaption>Fig 2:Example for Collaborative Filtering</figcaption></figure><h3>Neighborhood Based Collaborative Filtering</h3><p>This techhnique also referred as memory based collaborative filtering, used in recommendation systems which relies on preferences and behaviour of users in similar neighbourhood to make predictions or suggetions about items.The underlying idea is that users who have similar preferences in past are likely to have similar preferences in future.It is again classified to two types:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*4BSgj2fDasBCWOnPBdlWtg.jpeg" /><figcaption>Fig 3:Classification of NBCF</figcaption></figure><ol><li>User-Based Collaborative Filtering:In UBCF , recommendations are made based on preferences and behaviour of users who are similar to the target user.Similarity between users is determined using metrics such as cosine similarity or pearson corelation.</li><li>Item-Based Collaborative Filtering:In this technique recommendations are made based on similarity between items rather than users.Similarity metrics used are same as in UBCF , either cosine similarity or pearson correlation.</li></ol><blockquote><em>Note:These two approaches are mathematically equivalent but there exists conceptual difference between them.</em></blockquote><h4>Steps involved in implementing NBCF:</h4><ol><li>User-Item Matrix: Create a user x item matrix where users are along rows and items represents columns .Entries represent user-item interactions.</li><li>Similarity Calculation:Calculate similarity between users or items using a similarity metric.</li><li>Neighborhood Selection:Discover community of users or items that are most similar to target user or item.</li><li>Prediction: Predict the rating or preference of the target user for items they haven’t interacted with by aggregation the preferences of users in neighborhood.</li><li>Recommendations:Recommend the top -n items with the highest predicted ratings to the target user.</li></ol><h4>Limitations of Collaborative Filtering:</h4><ol><li>Data Sparsity:It is highly unlikely for all users to rate all items available hence this results in sparsity which implies cells in user-item matrix remain empty.</li><li>Cold Start Problem:When new users or items enter the system with no similarity with existing users or items the system struggles to provide recommendations.</li><li>Complexity issues:As number of users and items grow the computational complexity of calculationg similarities increases.</li></ol><p>Collaborative Filtering has multiple applications such as movie recommendations,e-commerce product recommendations to provide users with relatable content.Limitations of collaborative filtering can be mitigated by combining it with other possible approaches such as content based filtering or matrix factorization thus improving its accuracy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b80549007de9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>