<?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 Guillaume Galante on Medium]]></title>
        <description><![CDATA[Stories by Guillaume Galante on Medium]]></description>
        <link>https://medium.com/@guillaumegalante?source=rss-4182d1af8aff------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*FC_d_i8MN_qAe-RqgmxeTw@2x.jpeg</url>
            <title>Stories by Guillaume Galante on Medium</title>
            <link>https://medium.com/@guillaumegalante?source=rss-4182d1af8aff------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 00:07:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@guillaumegalante/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[A practical guide to content-based recommender systems]]></title>
            <link>https://medium.com/@guillaumegalante/a-practical-guide-to-content-based-recommender-systems-865708a8595d?source=rss-4182d1af8aff------2</link>
            <guid isPermaLink="false">https://medium.com/p/865708a8595d</guid>
            <category><![CDATA[content-based-filtering]]></category>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[personalisation]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[recommender-systems]]></category>
            <dc:creator><![CDATA[Guillaume Galante]]></dc:creator>
            <pubDate>Thu, 12 May 2022 18:02:36 GMT</pubDate>
            <atom:updated>2022-05-12T18:02:36.246Z</atom:updated>
            <content:encoded><![CDATA[<p>Recommendations are all around us, from Youtube recommending what we should watch to Amazon proposing what book we should read. We’re constantly being suggested things, but have you ever thought how these recommendations work behind the curtains?</p><p>Before we start, if recommender systems don’t mean anything to you, I highly recommend to have a quick read through my previous post which is an <a href="https://medium.com/@guillaumegalante/5-levels-of-product-personalization-an-intro-to-recommender-systems-601153e4b9f4">intro to recommender systems</a>.</p><h3>What is content-based filtering?</h3><p>Content based filtering is a recommender system that uses item features to recommend similar items a user might be interested in. For example, if a user likes a song, you can highlight other songs that share the same features.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tm1VxOW9_3pt-zqJgmaSmw.png" /></figure><p>While users performs actions within your product, you get to understand their intent (“what are they looking for?”). These actions are the key to increasing the relevancy of your recommendations.</p><blockquote>For example, if a user watches multiple movie genre (Drama, Comedy, Action) but you find out that the same actor is part of these movies, you can recommend other movies featuring this actor.</blockquote><h4>Datasets</h4><p>Before we start, you’ll need to have a dataset to work with, you can decide to build your own, for example by <a href="https://towardsdev.com/build-a-dataset-from-scratch-by-web-scraping-in-python-5edd50ae1301">web scraping websites</a> to collect data, or you can use an existing one on <a href="https://www.kaggle.com/datasets">Kaggle</a> (<a href="https://grouplens.org/datasets/movielens/">MovieLens</a> is a popular one for movie recommendations). In this article, we’ll be using a Craft Beer dataset I’ve created (referencing 60.000+ active beers) in order to build a recommendation engine that can suggest which beers I should try next.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CebqibFJvaM-q5ovYnx3WQ.png" /></figure><h3>Applications of content-based recommendations</h3><p>There are many applications for content-based filtering, with a bit of practice, you’ll find multiples ways to recommend content to your users. In order to build them by yourself, you’ll require some knowledge of <a href="https://www.python.org/">Python</a> and be familiar with using <a href="https://pandas.pydata.org/">Pandas</a> (a data analysis and manipulation tool).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ba1H6ovMdw4LYq6DCL4ugQ.png" /></figure><h4>Categories</h4><p>One easy way to cluster your recommendations is to sort them by categories. From music genres, book authors or for this example, beer styles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nye1k6cZ_TwSKogvxNActA.png" /><figcaption>In this example above, I’ve decided to split my dataset by beer styles (IPA, Stout, Sour, Pale Ales, …). I’ve filtered only the beers that have at least 15 user ratings and sorted by highest to lowest rating.</figcaption></figure><p>There’s endless ways to categorise your dataset as long as it creates value for users. For example, I could decide to display similar beer style recommendations on certain pages of my product, whereas on other pages I could cluster recommendations by breweries.</p><h4>Popularity</h4><p>Another way to highlight certain items is using a popularity score. For example, Netflix could highlight the top trending series this month based on views. It is a common way of highlighting which of your products are popular, however it is good to keep in mind that popularity don’t always mean it is relevant for a specific user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z2wKDudM8Zj7YMPM3YPqBg.png" /><figcaption>In this example above, I’ve decided to sort the dataset based on popularity and refine the results only for the month of July.</figcaption></figure><h4>User preferences</h4><p>If you’re aiming for more relevant recommendations, you’ll require to get an understanding of your users. As your users interact with your product, you can start understanding their preferences. For example, Netflix can have a look at what you’ve added to your watchlist, or Spotify can learn from the playlists you’ve created, Amazon can deduct what you’re looking for based on what pages you’ve explored.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rj3t46IHisgIflVSdts0SQ.png" /><figcaption>In this example, I’m using the breweries a user “liked” to recommend the top rated beers from these breweries.</figcaption></figure><h3>Last but not least, avoid these mistakes</h3><p>Making recommendations comes with a great sense of responsibility. If badly executed, it can deteriorate your brand or even reduce trust in your product. That’s why performing regular research studies (user interviews/testing to understand user needs) in addition to experiments within the product (such as A/B test) are highly recommended. Last but not least, below are the common mistakes teams make when developing recommendations for the first time:</p><ul><li><strong>The Filter Bubble</strong></li></ul><p>Recommendations can narrow down users into a single thread of ideas or products. Be careful to regularly highlight different opinions or ideas to your user. If you want to learn more, I recommend this <a href="https://www.ted.com/talks/eli_pariser_beware_online_filter_bubbles?language=en">great talk from Eli Pariser</a>.</p><ul><li><strong>Internal Biases</strong></li></ul><p>Biases are everywhere. Make sure to constantly remind your team of them. Diversity makes us stronger, so make sure to get people with different opinions and cultural background in your team. It’s worth sharing an early beta around (company, friends, family) before making bigger mistakes.</p><ul><li><strong>Be Explicit</strong></li></ul><p>Avoid vagueness or ambiguity of your recommendations. Be clear on why these are being recommended making sure users understand why these might be good recommendations for them.</p><ul><li><strong>Give Controls</strong></li></ul><p>Allow user to give feedback on your recommendations, from thumbs up/down vote for any recommendation to simply being able to remove a suggestion, this will bring huge insights to your team in understanding what can be improved and where.</p><p><strong>Thanks for reading! :)</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=865708a8595d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build a dataset from scratch by web scraping in Python]]></title>
            <link>https://towardsdev.com/build-a-dataset-from-scratch-by-web-scraping-in-python-5edd50ae1301?source=rss-4182d1af8aff------2</link>
            <guid isPermaLink="false">https://medium.com/p/5edd50ae1301</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[dataset]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Guillaume Galante]]></dc:creator>
            <pubDate>Mon, 11 Apr 2022 06:34:32 GMT</pubDate>
            <atom:updated>2022-04-17T09:54:02.190Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*9gXp1SSUp1dhGj_nbX_qUw.gif" /></figure><p>As you embark on growing your data-science skills, you come to realize that data is the start of everything. But how might you start a project without having the relevant data you need to pursue that project?</p><p>This is where web scraping comes in, by solving this need of quickly building your very first dataset in order to pursue whatever project you have in mind.</p><h3>Step 1: Find your subject</h3><p>They are many reasons why you might want to have a dataset to begin with, for example:</p><ul><li>Market research (e.g vegan food consumption in France)</li><li>Predict price increases (e.g rent prices in Berlin)</li><li>Build a recommender system (e.g Recommend Netflix movies)</li><li>Sentiment/opinion detection (e.g Fake news detection on Facebook)</li><li>Disease predictions (e.g breast cancer prediction)</li><li>User segmentation (e.g bad reviewers on TripAdvisor)</li><li>Competitor analysis (e.g Scan competitors prices)</li><li>etc…</li></ul><p>They are many pre-existing datasets out there (on <a href="https://www.kaggle.com/datasets">Kaggle</a>). In my case, for fun purposes only, I’ve decided to build a dataset of beers in order to recommend beers based on someone’s very own beer preferences.</p><h3>Step 2: Find your source(s) and data features</h3><p>The idea of web scraping is to extract content from one or multiple sources in an automated way. You then use the extracted data to build a structured table you can use for your project.</p><p>Once you have found a subject, you will have to write down what type of data you would need surrounding that subject. For example, in the case of beers, I’ve decided that of the following features to collect:</p><ul><li><strong>beer_name</strong>: Name of the beer</li><li><strong>brewery_name</strong>: Name of the brewery</li><li><strong>brewery_city</strong>: City where the brewery operates</li><li><strong>brewery_country</strong>: Country where the brewery operates</li><li><strong>beer_style</strong>: Type of beer (e.g “Stout”, “Belgian Blonde” etc…)</li><li><strong>beer_abv</strong>: ABV stands for alcohol by volume</li><li><strong>beer_rating</strong>: Overall user ratings of the beer</li><li><strong>beer_popularity</strong>: number of times the beer has been checked-in.</li><li><strong>beer_image</strong>: Jpeg image of the beer</li></ul><p>The goal in this step is to find which website has the data you need, in my case, I’ve discovered that <a href="https://www.beeradvocate.com/beer/top-rated/"><strong>BeerAdvocate</strong></a> has around 600.000 unique beers listed with all the features I needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fOAMH1dBqDDwRvyf5ldEUw.png" /></figure><h3>Step 3: Extract the data (Python)</h3><p>This is the part I believe most of you might run away, but don’t worry, it took me a week or so to get myself familiar with some basic theory of Python and the library you will need.</p><ol><li><strong>No need to install anything</strong></li></ol><p>In order to run the Python commands, we will be using the free and easy-to-use <a href="https://colab.research.google.com/">Google Collab</a> tool. It allows you to run some Python command without the need to install any third party software and it even has all the libraries you might need already in it.</p><p><strong>2. Importing the libraries</strong></p><p>Once you’re in Google Collab, you will need to load specific libraries in order to perform some web scraping. Think of libraries as special powers, they allow you to write a code that performs powerful actions that are not covered initially in “standard” Python. Create a block of code with the following libraries to import.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*Y_ACDS9N-JMf-X4rkNd8Ow.png" /></figure><ul><li><strong>requests</strong>: This will allow you to request loading specific url (website).</li><li><strong>BeautifulSoup</strong>: This is a very popular library that allows you to perform data scraping. The library comes with functions to navigate the html code of any website and extract the content from the code.</li><li><strong>random</strong>: This will allow us to set random times when to scrap the data from a website to avoid stressing the servers and performing web scraping respectfully.</li></ul><p><strong>3. Load the html code from a website</strong></p><p>This step is to load the html code from any website in order to start looking what elements you would like to extract.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xKjdAPiRDB38NwtulimIkQ.png" /></figure><p>If you then ask to print(soup), you will receive all the html code from that webpage.</p><p><strong>4. Extract specific elements from a website</strong></p><p>This step requires you to get a bit familiar with the <a href="https://www.crummy.com/software/BeautifulSoup/bs4/doc/">BeautifulSoup </a>documentation. You can of course copy/paste my code, but it’s highly likely that your website is different from mine, therefore you will receive errors you might not know how to fix. The best way to approach it is with trial and error, that’s the way I’ve learnt what I was doing wrong, by googling the errors.</p><p>In a short summary, you can use “soup.find_all” function to ask BeautifulSoup to look at all similar elements on a web page. For example, you could ask “soup.find_all(‘h1”)” and it will return all the H1 titles on the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GNtU9dSh5LTIeAJ3yx_Meg.png" /></figure><p><strong>5. Print the elements in Python</strong></p><p>In my case, I’ve translated all scraped elements and extracted only the strings from the html code. You can do this by transforming your variable to contain only the text with “variablename.text”.</p><p>You can then <strong>Print()</strong> your extracted elements onto a single line.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yHtSrQe8F_PHCCVEK2T1Kw.png" /></figure><p><strong>6. Scrape multiple pages from a website (Optional and Advanced)</strong></p><p>In case you would need to scrape the exact same content from multiple pages at once, Python enables you to do that with the “while loop” function. You will have to find the pattern in your website’s URL that indicates the page number.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*fcXQz4hZlrqhfAF0bWP1fA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/1*NZ0shotGRwhye7COmt3XkQ.jpeg" /><figcaption>I’ve detected that beeradvocate uses the last number to differentiate each beer page.</figcaption></figure><p>Once you’ve found that URL pattern, it is as simple as to create a variable for the number and make it loop to always add “+1” for every round.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4GAcGSKNsAMinoUoQo314A.png" /></figure><p>If you’re about to scrap a large amount of pages, make sure to respect the people behind your target website and don’t stress their servers. In order to scrape without risking to get banned from their servers, make sure to scrape each page with random refresh times. This is where you can use the following code to ask the loop to happen in random times between 1 and 10 seconds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*0_h2T9tXRfcCkhCjFYqCCA.png" /></figure><p>And now let’s run the command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*EdRJ89lMUHunq5ZZ7ZA6SQ.gif" /></figure><p><strong>6. Paste your output to a google sheet</strong></p><p>Once you’ve ran your python code and extracted the data you need, you can simply copy/paste the output into a google spreadsheet. Make sure to have a look around to clean the data if needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*vRwK36Kr_6KDmoxyxEIHlg.gif" /></figure><h3><strong>Conclusion</strong></h3><p>As you might have seen, web scraping is a useful and quick method to build a dataset from scratch. However, make sure to respect website owners by not stressing their servers and using the data for personal/non-profit projects.</p><p>As scary Python might look at first, in the end it is a language easy to grasp in a short amount of time. Python allows you to do many other things for different data science projects, so make sure to invest a little time to learn it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5edd50ae1301" width="1" height="1" alt=""><hr><p><a href="https://towardsdev.com/build-a-dataset-from-scratch-by-web-scraping-in-python-5edd50ae1301">Build a dataset from scratch by web scraping in Python</a> was originally published in <a href="https://towardsdev.com/">Towards Dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 levels of product personalization: an intro to recommender systems.]]></title>
            <link>https://medium.com/@guillaumegalante/5-levels-of-product-personalization-an-intro-to-recommender-systems-601153e4b9f4?source=rss-4182d1af8aff------2</link>
            <guid isPermaLink="false">https://medium.com/p/601153e4b9f4</guid>
            <category><![CDATA[personalization]]></category>
            <category><![CDATA[recommendations]]></category>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[recommender-systems]]></category>
            <category><![CDATA[product]]></category>
            <dc:creator><![CDATA[Guillaume Galante]]></dc:creator>
            <pubDate>Tue, 23 Nov 2021 19:59:53 GMT</pubDate>
            <atom:updated>2022-01-10T07:52:16.166Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gJ32OGxrAvEzs8rQngB-tg.png" /></figure><p>Personalization can unlock many opportunities within your product, throughout my experience, it proved to be a powerful tool for engagement, increasing customer retention and can also be beneficial to acquire new customers.</p><p>It’s such an easy concept, to give every users exactly what they’re looking for, but behind the curtain, it requires a solid understanding of how recommender systems work to serve highly relevant content to your end user.</p><blockquote>Level 1.1: Work with your copywriters</blockquote><p>When speaking about personalization, the bear minimum you can bring with a really low cost is to work closely with your copywriters. Copy can be a powerful tool to bring a more delightful product experience. From a simple “Good morning, Dave!” to giving special deals on your customer’s birthday.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uqukzTIkVxa6ItG75qJ3IQ.png" /></figure><blockquote>Level 1.2: Be creative</blockquote><p>Imagery and icons can play a major role in making your product feel more personalized. Either having seasonal images (Autumn/Winter/Summer/Fall), or small touches on the icons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*wWMzrUYE9AMblFJ3QWe2KQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*FlhINX-swsuSj7sfuG_Bsg.png" /><figcaption>N26 Bank uses seasonal imagery for their splash screen on apps (Left), Google maps uses different icons based on distances.</figcaption></figure><blockquote>Level 2: User signals</blockquote><p>A crucial part of personalizing your product, is getting to know your users in the first place. They are endless user signals you might think of, but let’s start with the most common ones:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XkfQuBauxr-9yLGTlgfeHw.png" /></figure><ul><li><strong>Location: </strong>It’s easy to get an approximate location, from less accurate to precise results: currency selected, user device language, sim card info, IP address, wifi name, phone geolocation.</li><li><strong>Device type and browsers: </strong>Depending on your product, knowing if your user is using the desktop web or mobile app experience of your product can be really useful in understanding what your user is looking for. Browsers can also tell a lot, for example, a user on Google Chrome might be more willing to sign-up using Google.</li><li><strong>User actions: </strong>Either pressing the like button on instagram, letting the ads roll on youtube, swiping down on Tiktok or peeking on the last trendy book on Amazon. You have to find within your product these user actions, that can tell you a lot about what your users are interested into.</li></ul><blockquote>“There’s 57 signals that Google looks at: where you’re sitting, what computer you’re on, which browser you’re using, … that it uses to personally tailor your personalized results.” Google engineer</blockquote><blockquote>Level 3: Content-based filtering</blockquote><p>Content-based filtering is the idea behind bucketing your offerings/products into categories. For example, Spotify has a “Disco” or “Rock” category, Netflix has a “Horror” or “Comedy” category, or Amazon has a “Electronics” or “Books” category.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jJK6W07tWF1hYe8NVCOXlA.png" /></figure><blockquote>Spotify uses natural language processing (Natural language processing strives to understand text or voice data) to scrap large amounts of data written in blog posts, articles and discussions about specific artists. It tracks what people have been saying about that artist, what other artists have written and other songs that might be mentioned alongside. System identifies descriptive terms, nouns and phrases and associates them with the specific artist or song.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RIiCzRwEsdS4LyfQtLT2OA.png" /></figure><p>The idea is that if your user engages within one of these categories, you can easily highlight offers that are similar to what your user is looking for. In practice, these systems are easy to implement but don’t allow a high level of personalization and might feel a little static to your end user.</p><blockquote><strong>Cold start problem:</strong> when speaking about recommendations, the “cold start” simply means that you do not know enough about your user to provide the best possible result. This is being solved usually within a “preference” onboarding asking users to pick topics they are interested in.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dEgQ_qB3bKnXjjPJ418IVQ.png" /></figure><blockquote>Level 4: Collaborative filtering</blockquote><p>Collaborative filtering is the most popular method used in tech industry. In context of Netflix services, its purpose is to predict which movies a user might like by looking at what other users who watched this movie also watched. It’s all about highlighting content from users with a similar taste.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wEwkjl7CjKhOgPMQb3tUww.png" /></figure><blockquote>At this point, it is recommended to partner with a data scientist in order to build recommendation models based on collaborative filtering.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YwFV0V6aFwTMjIwwInap-A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OIv8rRny5UdqrjopcAIu-Q.png" /></figure><p>A powerful method as such can be used in many different ways. In case of Amazon, one way it’s being used is to increase basket sizes by packaging their products with “Customers who bought this item also bought” or “Frequently bought together” sections.</p><blockquote>Level 5: “Bandits” models</blockquote><p>Bandits is where our learning algorithm can participate in the data collection process, for example, we might recommend something completely irrelevant if the algorithm has a good reason to believe that it will learn something valuable for its long term performance.</p><blockquote>At Booking.com, there are several reinforcement learning models (such as the Looper and Robin Hood) used to determine the order of UI elements on different areas of the site.</blockquote><p>This is really useful if you detect different archetypes (patterns of behavior) within your product. What if you discover your users might be listening to a lot of rock music, but also love rap from time to time. This is a problem solved by reinforcement learning by detecting user behavior changes. It can also allow you to be more context and time-aware by seeing if your user might want different things in different context.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wgxDnoNXKRFULDu0o1OkzA.png" /></figure><blockquote>The Spotify home screen is organized in rows of playlists which Spotify calls “shelves” and playlists inside those shelves called “cards”. Each shelf has a theme that describes the content of them like “Made for you” or “Inspired by your recent listening”. BaRT’s (Bandits for Recommendations as Treatments) task is to rank cards in shelves and to rank shelves themself. To do that BaRT is using Multi-armed bandit algorithms.</blockquote><blockquote>4 things to keep in mind!</blockquote><ol><li>Data processing and usage is a sensitive topic, it is highly recommended to involve your legal department in all these conversations, together with having an eye on being GDPR compliant.</li><li>Biases are everywhere. Make sure to constantly remind your team of them. Diversity makes us stronger, so make sure to get people with different opinions and cultural background in your team.</li><li>Filter Bubble: Recommendations can narrow down users into a single thread of ideas or products. Be careful to regularly highlight different opinions or ideas to your user. If you want to learn more, I recommend this <a href="https://www.ted.com/talks/eli_pariser_beware_online_filter_bubbles?language=en">great talk from Eli Pariser</a>.</li><li>Allow user to give feedback on your recommendations, from thumbs up/down vote for any recommendation to simply being able to remove a suggestion, this will bring huge insights to your team in understanding what can be improved and where.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=601153e4b9f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create UI animations with Lottie]]></title>
            <link>https://uxdesign.cc/create-ui-animations-with-lottie-e8e6992445e?source=rss-4182d1af8aff------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8e6992445e</guid>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[prototyping]]></category>
            <category><![CDATA[interaction-design]]></category>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[ui]]></category>
            <dc:creator><![CDATA[Guillaume Galante]]></dc:creator>
            <pubDate>Tue, 26 Feb 2019 15:41:40 GMT</pubDate>
            <atom:updated>2019-02-28T01:07:56.724Z</atom:updated>
            <content:encoded><![CDATA[<h3>Creating UI animations with Lottie</h3><h4>How we used Lottie (by Airbnb) to build custom made animations.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*0GKp5BA-60xzYVR9bOT_Cg.gif" /></figure><h3>A bit of history</h3><p>Until recently, you had 4 methods of building custom UI animations for apps, and let’s face it, it has always been a struggle:</p><ul><li><strong>Build from scratch:</strong> apart from the negotiating discussions with the developers, it takes a huge amount of resources and time for recreating an animation from scratch for iOS or Android developers. It’s most likely not worth investing that time or even impossible to justify it with stakeholders.</li><li><strong>Gifs:</strong> this might feel old school but it is still a thing. Gifs have an enormous file size and therefore is not optimal for apps. It also renders at a fixed size and cannot scale properly across different screen density.</li><li><strong>PNG sequence: </strong>PNG sequences are even larger in size and still don’t scale properly across different screen density (due to pixel based format), you’ll have to provide your developers with images at @1x, 2x and 3x.</li><li><strong>Animated Vector Drawable: </strong>supported only by Android. This solution performs incredibly well but doesn’t support many features Lottie does (text or dynamic colors). It also can’t be loaded programmatically or over the internet and therefore is not relevant for A/B testing tools.</li></ul><p>In February 2015, <a href="https://twitter.com/airnanan">Hernan Torrisi</a> has released an after effects extension called “ <a href="https://github.com/bodymovin/bodymovin">Bodymovin</a>” that allows you to export custom made animation from after effects into a JSON file. It’s based on this extension that Airbnb has created in 2017 an iOS and Android library that can read these JSON files. However, Bodymovin now allows exporting directly to AnimatedVectorDrawable (faster performance), so I’d suggest using Bodymovin/Lottie for iOS and Bodymovin for Android.</p><h3>How to use Lottie</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_KOK_79CK7xzESEEvw3tUA.png" /></figure><p>1 Download and Install <a href="https://airbnb.io/lottie/after-effects/bodymovin-installation.html"><strong>Bodymovin</strong></a> in After Effects for free. You can download it on <a href="https://aescripts.com/bodymovin/"><strong>Aescripts</strong></a> or <a href="https://exchange.adobe.com/addons/products/12557"><strong>Adobe Add-ons</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LQNlU5lU9Wd6ra_eWWf_ZA.png" /></figure><p>2Find your animation’s composition in Bodymovin on After Effects and select it’s destination (where it will be saved). Once this is done, you can render the JSON file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*Vk1Ye1k6SQB_w_zCbKSz3A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*5lZai2Jqniz1uQScSzj79Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*n9jeF3QkNiodwSKXPbjecA.png" /><figcaption>Select the composition you want to export and it’s destination (left), you can preview your animation to make sure everything is smooth (center), and export your animation to a JSON file (right).</figcaption></figure><p>3Send the JSON file to the iOS and Android developers. They’ll have to install Lottie’s library (<a href="https://github.com/airbnb/lottie-ios">iOS</a> &amp; <a href="https://github.com/airbnb/lottie-android">Android</a>). If you want to have a look at the animation without getting your hands dirty with code, you can also upload it on <a href="https://lottiefiles.com/">LottieFiles</a> and see the preview.</p><h3>What we’ve learned on the way</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/54/1*QFyiM2YbwM3V82dTs_Ck5Q.png" /></figure><ul><li>JSON files are small in size, the animation presented above is 119kb.</li><li>The process is really fast, designers have endless possibilities for animation, developers get the file and brings it to the app without any code.</li><li>You can customize animations based on interactions, we haven’t tested it yet but it’s a feature that we’ll try for future projects.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/54/1*sW0ZV2URz8G1C_2giTGvpg.png" /></figure><ul><li>iOS doesn’t support many After Effects features compared to Android. For example, we had to go back into after effects to remove all the <a href="https://github.com/react-native-community/lottie-react-native/issues/309">merged layers</a>.</li><li>iOS doesn’t support <a href="https://rainboxprod.coop/en/tools/duik/">DUIK plugin</a> expressions in AE. Which turned out to be complex to re-do our animation without the plugin in AE.</li></ul><h3>Conclusion</h3><p>To conclude, Bodymovin combined with Lottie is an amazing tool to bring animation inside apps. It’s fast, easy and effortless. However, be aware that it has limitation (as of today) in terms of which plugins and expressions you use in After Effects. Make sure to make a few tests on smaller projects before adopting Lottie for all your animations.</p><h3>Resources</h3><ul><li><a href="https://github.com/airbnb/lottie-web">GitHub - airbnb/lottie-web: Render After Effects animations natively on Web, Android and iOS, and React Native. http://airbnb.io/lottie/</a></li><li><a href="https://airbnb.design/introducing-lottie/">Lottie</a></li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F50d69a%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Fux&amp;image=https%3A%2F%2Fucarecdn.com%2F6e8986c7-e64a-4116-9afb-fd71a476f0a9%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/a19f46680bac3cbdc42953c920d0c104/href">https://medium.com/media/a19f46680bac3cbdc42953c920d0c104/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8e6992445e" width="1" height="1" alt=""><hr><p><a href="https://uxdesign.cc/create-ui-animations-with-lottie-e8e6992445e">Create UI animations with Lottie</a> was originally published in <a href="https://uxdesign.cc/">UX Collective</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Jerusalem’s Old City taught me the UX Principle of Reciprocity]]></title>
            <link>https://blog.prototypr.io/how-jerusalems-old-city-taught-me-the-ux-principle-of-reciprocity-d63128cd83ed?source=rss-4182d1af8aff------2</link>
            <guid isPermaLink="false">https://medium.com/p/d63128cd83ed</guid>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[product-design]]></category>
            <dc:creator><![CDATA[Guillaume Galante]]></dc:creator>
            <pubDate>Sun, 10 Feb 2019 16:30:53 GMT</pubDate>
            <atom:updated>2019-02-12T17:55:27.120Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lbI3TVRGJ-awDKIDnQjkxw.png" /></figure><p>It’s <strong>1:30pm</strong> in <strong>Jerusalem’s</strong> old city market, I’m hungry and on my way to this <a href="https://goo.gl/maps/L2dddXpADNp">delicious hummus place</a>. However a vendor stops me, seeing that I have a <a href="https://www.amazon.de/dp/B01N7UDIRG/ref=twister_B01N6UHTET?_encoding=UTF8&amp;psc=1">camera</a> in hand, suggests me to visit a rooftop close to his shop to get an amazing view on the old city. I thank him and go visit alone<em> </em><a href="https://c8.alamy.com/comp/PY0FM8/jerusalem-israel-october-19-2018-rooftop-view-with-the-temple-mount-and-other-monuments-in-the-old-city-of-jerusalem-israel-PY0FM8.jpg">the big rooftop</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SomeiBDNxh3BNYuaHWfAKg.png" /></figure><p>On the rooftop, after a while <strong>another man</strong> asks me to come towards him. He asks me how old I am and that I should <strong>follow him</strong>. I immediately stop and ask him <strong>why?</strong> He tells me he wants to <strong>show me something at his place</strong>. Feeling that there is something really suspicious, he was walking me towards a small alley on the rooftop, I decide to turn around and leave. He looked around, saw other people 20 meters away and left.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e9-65-r0aBQPne9keQ_UjA.png" /></figure><p>On my way down, I met again with the vendor who tells me his grand father used to take pictures too and<strong> </strong>that<strong> he could</strong> show them to me if I want. He brings me in his shop to show me an old photo book from his grand father and walks me through the many stories of the city. I’m feeling like this is the best summary of Jerusalem’s history I got in about 10 minutes. I know, most likely, that he wants me to <strong>buy something</strong>, but <strong>he didn’t mention</strong> anything like that in our conversation. My natural instinct has been to look around and I’ve finally found a small gift I could buy. I knew <strong>I got tricked</strong>, somehow, but there was <strong>no way for me</strong> to get out of the shop without <strong>giving back</strong>.</p><h3>What is Reciprocity?</h3><p>The reciprocity principle is a fundamental rule in social psychology. It’s quite simple, if someone makes you a favor, you’re likely to give something back. And, the “favors” don’t have to be equivalent — a small favor can beget a bigger return favor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7xJMLzOuBW-In9oRP8Cfeg.png" /></figure><h3>How can reciprocity work in product?</h3><p>When was the last time you had to sign in to something in order to be able to use something? If you ask me, I experience this every week, that’s why your second email address is made for right?</p><p>People will remember acts of kindness and will therefore remember you if you decide to give before asking something in return.</p><blockquote>“Give your users something before you ask for anything from them” <a href="https://www.nngroup.com/articles/reciprocity-principle/">Nielsen Norman Group</a></blockquote><h4><strong>Show the value before asking</strong></h4><p>One of the most popular form of reciprocity is the concept of “free trial”. Let’s not look too far, you’re obviously a medium reader and have probably encountered this message. Medium gifts you access to 3 premium stories per month, once you’ve enjoyed and seen the value of Medium’s product, you’re asked if you would be willing to pay a small amount for an unlimited access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RGvsUJn9r17AY4slfNvvGQ.jpeg" /></figure><p>Spotify also offers a 30 day free trial for their premium membership (ad-free and offline access), it can be canceled at any time for no cost.</p><p>You’re most likely to stream as much songs as possible, download offline songs and create playlists for 30 days. Before you’ll realize it, you would have already payed for the next month and are most likely to stay subscribed thinking €9.99/month is worth it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6h0WUZO-BTDA6GRcqmMtBw.png" /></figure><h4><strong>Ask at the right time</strong></h4><p>On apps, notifications and geolocation prompt is a great example of when to use the principle of reciprocity. How many times have you opened a new app and the first thing you saw was “Allow notifications”? Let the user explore the app and see the value of allowing notifications before asking him to make you a favor. If the user sees you are actually making him a favor, he’ll be more likely to accept to receive your notifications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0GUGD227ZUyd-rY0K2Gefg.png" /></figure><h4>Give a free upgrade for first time users</h4><p>You might want to consider giving something away in order to retain a customer on the long run. For example, <a href="https://www.zappos.com/">Zappos</a> always offers 2 days delivery during check out, however once you booked, they’ll send you a nice email letting you know you have been upgraded and your order is shipped today.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*-mCUhaR0abpyFOouH2_UEQ.png" /></figure><h3>Conclusion</h3><p>I’m surprised that the reciprocity principle is not so commonly use in digital products, even though it’s a concept that has proven to work for ages in advertising and marketing. Think about the last time you’ve seen some free food samples in your supermarket, guess what? samples have boosted sales in some cases by <a href="http://supermarketnews.com/archive/marsh-increases-store-sampling">as much as 2,000 percent</a>.</p><p>Being respectful of your users and gifting them won’t stay unnoticed. You’ll have a higher chance to retain these customers on the long run. Even though you should ask as little from your users as possible, if ever you’re facing a challenge in getting the user to actually do something for you, don’t forget this helpful principle that works most of the time. And if ever you have the feeling this post was useful to you, you know what to do! 🖐</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d63128cd83ed" width="1" height="1" alt=""><hr><p><a href="https://blog.prototypr.io/how-jerusalems-old-city-taught-me-the-ux-principle-of-reciprocity-d63128cd83ed">How Jerusalem’s Old City taught me the UX Principle of Reciprocity</a> was originally published in <a href="https://blog.prototypr.io/">Prototypr</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Tokyo’s metro taught me about progressive disclosure]]></title>
            <link>https://uxdesign.cc/what-tokyos-metro-taught-me-about-progressive-disclosure-eae4502af617?source=rss-4182d1af8aff------2</link>
            <guid isPermaLink="false">https://medium.com/p/eae4502af617</guid>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[ux]]></category>
            <dc:creator><![CDATA[Guillaume Galante]]></dc:creator>
            <pubDate>Mon, 29 Oct 2018 13:35:00 GMT</pubDate>
            <atom:updated>2018-11-14T04:01:28.986Z</atom:updated>
            <content:encoded><![CDATA[<h4>My first-time commute in this <strong>mega city</strong> went really well. But I couldn’t remember why it went so <strong>smoothly </strong>when I got out of the station. So<strong> </strong>I decided to study the question during my stay in Tokyo and Osaka.</h4><p>It’s <strong>8pm</strong> in <strong>Tokyo</strong>. After landing for the first time in Japan, I finally arrive to my final destination: <strong>Shinjuku station</strong>.</p><p>Locals would know that it’s the <strong>world’s most busiest subway station</strong>, I didn’t. If you simply type “Shinjuku station” on Google you would see <a href="https://gineersnow.com/industries/train/tokyo-metro-worlds-busiest-underground-network">this</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*gJMB3gRFHYUtvIGU43FTQA@2x.jpeg" /></figure><p>Surprisingly, my first-time commute in this <strong>mega city</strong> went really well. But I couldn’t remember why it went so <strong>smoothly </strong>when I got out of the station. So<strong> </strong>I decided to study the question during my stay in Tokyo and Osaka.</p><h3>Entering the station</h3><p>In Tokyo, walking directions are inverted from the common pattern in Europe. Nonetheless, I didn’t realize this until I thought deeply about it. Why is that? Simply because the signs were clear enough while entering the station.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hSIZArZvsrJQgUOObFsfig@2x.jpeg" /></figure><p>Being the most populated city in the world with it’s 13,000,000 habitants, signage must be really important to ensure a proper movement underground. And as you can see, they are not afraid to be bold enough so you don’t miss it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RyhkdpRhKoUTplpMq8cHKA@2x.jpeg" /></figure><p>You’ll find these arrows everywhere and you’ll be following the instructions without even noticing it.</p><h3>Waiting your train</h3><p>I must say, Japanese people are highly respectful of the rules, spend a day in Paris to see the complete opposite (I’m from Paris, so trust me). It’s in the small details that Tokyo’s subway amazes me the most. Once again, clear signage on the floor to let you know where to queue and where people coming out of the subway will go.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vfwDwauzP8PRYR7PtJxylA@2x.jpeg" /></figure><p>One other thing caught my attention, on each side of the platform, there are clear indication of which way this train goes. To make sure you line up on the correct side and do not catch another train:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vi2EkNFB5HhQxtO_IkrWBg@2x.jpeg" /></figure><p>Is this not more useful than a billboard promoting the awesome new skin cream that reduces stress? I’ll let you decide.</p><h3>In the train</h3><p>So in France we would call this «La cerise sur le gateau» (the cherry on the cake), which means, these following details were the moment where I fell in love with Japan‘s metro system.</p><p><strong>1. When you enter the train</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kdcDjupDOl_ofrNJZDG9gg@2x.jpeg" /></figure><p>When entering the train, you’ll see wide screens showing the past and next stops of the train. Even better, showing how many minutes it will take to reach your destination. Europeans would say, this is a Citymapper killer, why bother taking out your phone when you have everything here right in front of you. But to be honest, you’ll be surrounded with this in the train:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*EyQPw9MQg3USVx5hQVmSlA@2x.jpeg" /></figure><p><strong>2. Announcing next stop</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lnbLp9kk0tzqAWW6CD7Wrg@2x.jpeg" /></figure><p>Ahead of reaching the station, you’ll see what is the next stop and what are all your transfer possibilities. This is great to first make sure it’s the right stop and double confirm if you have to switch to another train.</p><p><strong>3. Preparing to exit</strong></p><p>A few seconds before arriving to the next station, the screen displays on which side the doors will open. When being stuck in a crowded train, you can already start sliding yourself to the correct door. How many times did it happened that you’re standing on the opposite side of the opening doors and you’ll have to impolitely push everyone to reach out of the train?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I3sL3oF_7Z1a6pRkMU9MeQ@2x.jpeg" /></figure><p><strong>4. Exiting the train</strong></p><p>Wait, something more? As soon as the train starts reaching the station, the screen displays in which wagon you’re currently standing and where you’ll land on the platform. This is extremely helpful to avoid loads of travelers getting out of the train and being stuck on the platform trying to figure out if it’s to the right or left they should go.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6rK4G4NKG-QJO1rUXkvbEw@2x.jpeg" /></figure><h3>Accessibility: Blind &amp; Deaf</h3><p>While some of us would call it a day, it‘s important to design experiences for everyone. Japan is probably the country I‘ve visited that has <a href="https://en.m.wikipedia.org/wiki/Braille">braille</a> everywhere. In addition to this, everything mentioned above is clearly communicated by sound inside the train (in Japanese and English).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gmkdsv8v-S175iesGhtyLQ@2x.jpeg" /></figure><h3>So what is progressive disclosure?</h3><p>It’s an interaction design pattern. It sequences information and actions within time, so that users won’t feel overwhelmed with all the information at once. By disclosing information progressively, in context, it helps users manage the complexity of a product.</p><p>This is exactly what I experienced in Tokyo, by receiving each information at the right moment, I managed to reach my final destination without any worries. Everything went smoothly without even noticing how much I was guided.</p><h3>Conclusion</h3><p>It’s hard to reflect deeply on our environment and how it’s designed. Everything around us is designed but yet invisible to a lot of us. We get lost in our every day life without taking the time to look around us. Traveling is a great way to reset your eyes and explore new environments with fresh eyes. So here‘s the challenge, next time you go out, find something you‘ve always ignored because how well it works. Enjoy!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Ff%2F50d69a%3Fas_embed%3Dtrue&amp;dntp=1&amp;display_name=Upscribe&amp;url=https%3A%2F%2Fupscri.be%2F50d69a%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/05d5fd32eda31cbd1b83287606744532/href">https://medium.com/media/05d5fd32eda31cbd1b83287606744532/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eae4502af617" width="1" height="1" alt=""><hr><p><a href="https://uxdesign.cc/what-tokyos-metro-taught-me-about-progressive-disclosure-eae4502af617">What Tokyo’s metro taught me about progressive disclosure</a> was originally published in <a href="https://uxdesign.cc/">UX Collective</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>