<?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 Evi Lazaridou on Medium]]></title>
        <description><![CDATA[Stories by Evi Lazaridou on Medium]]></description>
        <link>https://medium.com/@Evi.lazaridou?source=rss-e4264a0588ec------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*msXJ7z_Srf7BYYZ_mOzVXQ.jpeg</url>
            <title>Stories by Evi Lazaridou on Medium</title>
            <link>https://medium.com/@Evi.lazaridou?source=rss-e4264a0588ec------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 15:56:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Evi.lazaridou/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[How we created an effective, game-based team feedback framework]]></title>
            <link>https://medium.com/commercetools-tech/how-we-created-an-effective-game-based-team-feedback-framework-f71a3596cc4?source=rss-e4264a0588ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/f71a3596cc4</guid>
            <category><![CDATA[teamwork]]></category>
            <category><![CDATA[workplace-culture]]></category>
            <category><![CDATA[team-feedback]]></category>
            <category><![CDATA[team-culture]]></category>
            <dc:creator><![CDATA[Evi Lazaridou]]></dc:creator>
            <pubDate>Thu, 18 Jun 2020 12:17:57 GMT</pubDate>
            <atom:updated>2020-06-18T12:17:57.880Z</atom:updated>
            <content:encoded><![CDATA[<h4>The experiences of creating our own team feedback framework from scratch and adding gaming elements to it.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QQIzbkHmvl0yo4ScB2hKSA.jpeg" /><figcaption>Image designed by <a href="http://www.freepik.com/">Freepik</a></figcaption></figure><p><em>TL;DR: How we improvised and created our own full-fledged team feedback framework and made it fun with a game for progress evaluation. This framework is an internal tool to improve the team collaboration and does not relate to our approach at performance evaluation.</em></p><p>Every team is a complex of people whose interactions, communication and collaboration defines the growth, performance and the success of the team and every individual. This complex often entails diversity in mindset, viewpoints, age, gender, personality and chemistry among people. This diversity is vital when creative thinking is necessary, as it increases collective intelligence, but is also challenging when it comes to interactions among its members. And <strong>interaction is everything in a team</strong>, in order to ensure a harmonic and productive coexistence, in which everyone is happy and motivated. Team members need to openly communicate and try together to find solutions. This is why concrete and constructive feedback from everyone to everyone is a key element to overcome the difficulties and foster good collaboration and why every team should find a fitting context to apply it.</p><p>I am a Data Scientist at commercetools and 1.5 years ago I took over a coaching side role. As a people coach, I support colleagues in my technical domain — and consequently my team — with their career goals, personal development and workplace happiness. This role gives me space to bring up and implement ideas for improved collaboration.</p><p>My team has been relatively stable over time and therefore presents many perks and challenges that come along with a long-term relationship. Just like any tech team today, we regularly provide and receive snippets of feedback through our meetings, Slack chat, PR reviews and agile retrospectives. However this feedback is often implicit, tailored to a case or incident and sometimes too vague and subtle. Every team member might have a vague idea on where to improve but it is not always concretely communicated. And it isn’t only about areas to improve, but also positive feedback that gets lost in the daily routine. Under time and work pressure, it is easy to focus on flaws and things that need to be fixed, rather than acknowledging the effort and good work that went into making results happen. So this stream of feedback is not enough and it is quite prone to misinterpretation.</p><p>Thus, roughly a year ago, we started experimenting with a more proper and direct feedback framework where team members could give one another constructive, detailed feedback on both areas they do particularly well and where to improve. It is like <a href="https://en.wikipedia.org/wiki/360-degree_feedback">360-degree feedback</a>, but only within the team and conducted via regular feedback rounds and a progress evaluation game.</p><h3>The feedback rounds</h3><p>As this started from scratch, there were many questions to answer in order to find the best fitting approach regarding whether it should be in-person, online, anonymous etc. After an iterative process of gathering each team member’s preferences while offering flexibility, I ended up with a Google Form consisting of two very straightforward questions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F0visriW9y3s5rPY3_GUoQ.png" /><figcaption>The feedback questionnaire template we used</figcaption></figure><p>I replicated the form for each participant who wanted feedback and invited the rest team members to participate anonymously — participation was optional but highly encouraged. I did one for myself too and transferred the ownership of that form to a fellow colleague.</p><p>The participants preferred to receive final responses exactly as they were written (instead of being summarized), which I also found better to avoid the risk of misinterpreting someone else’s words. Before we started, I also sent an informational email to highlight points like how this asynchronous form doesn’t leave space for clarification from the recipient’s end, so they need to be clear and use examples when possible. In the end I collected all the responses, rearranged the order, grouped similar topics together and handed them to each recipient.</p><p>The outcome was helpful and motivating. Most team members participated, gave constructive feedback for improvements in a friendly and respectful manner and acknowledged the good work generously. It is hard to objectively say whether the collaboration improved significantly after this, but it did improve and I felt that people were overall more conscious regarding their “weaknesses”. Half a year later we repeated the process and, in the end, every member participated in at least one round — most of us in both rounds.</p><h4>The feedback-on-the-feedback game</h4><p>Through the two feedback rounds, we all received some explicit recommendations on how to grow ourselves and improve the team work. But did we improve? Did we try? That part was not as clear and the whole process seemed somehow incomplete. And to complete it, we would need a more transparent approach. Up till now, feedback was anonymously given, but everyone would have to reveal it in order to get a feel from the entire team on whether they’re improving.</p><p>That might cause some discomfort but it would only make sense and be fair if everyone was involved. Therefore I wanted something different, more pleasant than anonymous forms and perhaps even playful, so I tried to gamify it. This way it would feel less like a formal evaluation and more like a fun setting to communicate and discover more about ourselves and our interactions.</p><p>I planned a meeting, explained in brief what it is about and asked everyone to pick 1–3 points of advice they received and for which they want to check the progress with the rest. To make things easier, I printed out the feedback and asked them to cut the respective snippets and bring them along. That was all they had to prepare before joining the meeting. The rest game was carried out with the help of a whiteboard, four printed memes and one magnet and blank piece of paper for each person. The memes were not necessary but provided casual and humorous context.</p><p><strong>Here’s how you can replicate what we did.</strong></p><p>The setting:</p><p>On the whiteboard, draw two distinct areas: the <strong>points table </strong>and <strong>the response board.</strong> On the points table, write the names of the participants and prepare 6 columns for the points. On the response board, designate 4 small boxes or distinct subareas for the magnets and try to make clear what each represents and how many points it earns. Use memes to reflect the emotion of the response — and for fun — if you wish. Last, leave the magnets on the side for the voting part.</p><p>On the table, prepare one blank piece of paper (and pen) for every participant. If possible, a small box would be handy but not necessary. Also, if you want to play with random order, prepare for it, e.g. write down in small paper lanes all the names to draw randomly one name every time. And don’t forget to put some sweets and snacks too!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eYUs0iXPyZiMQ3Ojh2Oshg.png" /><figcaption>Illustration of the game in the whiteboard</figcaption></figure><p>The rules:</p><p><strong>Secret vote</strong>: At the very beginning of the game, every player takes the blank paper note and writes down secretly the name of the person he/she thinks has showed the most improvement since feedback rounds started, then folds it and puts it in a box or along with the other secret votes. Note: you vote who you think has improved the most, not who you think will win. This will be saved for the end and will count as bonus points. Proceed with the rounds.</p><p><strong>The rounds</strong>: The main game consists of 3 rounds. Each has the same process but there are some variations in the points. In every round, with random order, every player is reading out loud one feedback snippet they received and asks the rest team members whether they improved on that. The rest will have to put a magnet on the response board area that reflects best their opinion among the given choices:</p><ul><li><em>You nailed it!</em> -&gt; You clearly improved [+2points]</li><li><em>Not bad!</em> -&gt; I saw some progress but you can do better [+1 point]</li><li><em>It wasn’t a problem</em> -&gt; I never saw this as a problem [+1 point]</li><li><em>Oops</em>… -&gt; I didn’t see progress, try harder [-1 point]</li></ul><p>The votes on the response board define how many points each player will collect for the round. If, for example, there were 2 votes on “you nailed it” and 3 votes on “not bad” then the sum of points for that player and this round is 7.</p><p>Every player must participate in the 1st round and can pass in the next ones, which means he/she doesn’t then read personal feedback and doesn’t collect points anymore but must still vote for the other players.</p><p>The 3 rounds differ on how the points will be counted:</p><ul><li><em>Round A</em>: the sum of the points for this round exactly as given and explained above</li><li><em>Round B</em>: the sum of points of the round plus 1 more point for the bravery of continuing to another round</li><li><em>Round C</em>: the sum points as given but, before playing, you have the right to brash off a not so good score from a previous round. The average of the rounds will be then counted only based on your left scores and so this is a chance for you to improve it. But remember: you have to decide this before proceeding with the round.</li></ul><p>Note that all team members decide together upfront whether the voting should be open or secret and only if everyone is comfortable with open voting, then you can go with that.</p><p>After the end of the 3 rounds, you calculate the average and put it in a separate column and it is time now to reveal the secret votes. These will be 1 bonus point for every secret vote a player received. In the end the final score would be:</p><p><em>Average points of rounds (exc. brushed off round) + Secret points.</em></p><p>And tada, that’s our feedback on the feedback game!</p><p>There were two reasons why I came up with these variations in the rounds. First, the idea was to incentivise playing multiple rounds. Feedback and communication is the ultimate goal, so improvement shouldn’t be the only rewarding action but also the eagerness to open up and ask for as much feedback as possible. Secondly, it’s a game so I tried to make it interesting with a chance for a turnaround and some space for strategy. And of course you can consider to modify or enhance it. Other alternatives I thought of, for example, was instead of brushing off your own points, to challenge another person to exchange points if you think you would end up with a higher score.</p><h4>How the feedback game turned out</h4><p>I was anxious how this game would turn out and it was a great surprise to see it evolving into something much better and helpful than even I expected. We played it with full disclosure voting and everyone was motivated and participated until the end. Furthermore, it ended up in very constructive and friendly conversation with little attention to the game and points. For every feedback advice we discussed extensively, gave opinions, openly this time, and brought up lots of concrete examples. We asked questions, we answered questions. And all this in a very friendly and laughing atmosphere. And we had a winner, who got some candy as a reward, which he later shared with everyone.</p><p>Because of the extensive conversation, even within 1.5 hours, we didn’t make it to the 3rd round, my favourite one. And since everyone planned to play in every round, the +1 point of the second round turned out a little pointless in our case. So, in a future repetition, I’ll make sure to allocate more time with a break or modify and adjust the number of rounds and their special rules.</p><p>Overall everyone enjoyed it and it turned out to be very entertaining but, most importantly, very useful and enlightening, with concrete advice to consider and a much clearer picture of how our behaviour and work is perceived by the rest of the team members.</p><h4>Final thoughts</h4><p>If you’re interested to integrate a feedback framework in your team’s processes or to enhance an existing one, I highly recommend giving ours a try. Use it as is or be creative and customize your own version. Don’t spend too long looking for special feedback tools, it is easy to implement. And don’t wait for management or HR to bring you one because it’s not a meant to evaluate your colleagues’ performance. It is something to apply if you want to improve communication and collaboration in your team, and do so in a pleasant way that will help building a better ground for effective collaboration.</p><p>And if you do try it out, please share your experiences and possible variations here, I’ll be looking forward to hearing them!</p><p><em>*Thanks to my team for being so open to experiments for a better collaboration and to our agile coach for helping me out with the backstage preparation and some helpful tips.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f71a3596cc4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/commercetools-tech/how-we-created-an-effective-game-based-team-feedback-framework-f71a3596cc4">How we created an effective, game-based team feedback framework</a> was originally published in <a href="https://medium.com/commercetools-tech">commercetools tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Improving Data Quality with Product Similarity Search]]></title>
            <link>https://medium.com/@Evi.lazaridou/improving-data-quality-with-product-similarity-search-d037c7212071?source=rss-e4264a0588ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/d037c7212071</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Evi Lazaridou]]></dc:creator>
            <pubDate>Fri, 07 Dec 2018 09:57:00 GMT</pubDate>
            <atom:updated>2018-12-07T09:57:27.266Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*E42D07ZiRaz9JAv3q4qbrw.png" /></figure><p>Poor data quality is a bottleneck for every e-commerce business as it can undermine its own competitive standing and hinder the management of data. Product similarity search or commonly known as product matching can help merchants to eliminate this pain since it detects potential duplicate product entries and content.</p><p>This is useful for both e-commerce stores and marketplaces. It’s a common issue in marketplaces as every time new products are imported by a new seller it is required to check if the items already exist in their catalog. This is not an easy and straightforward procedure. The data might differ in description, name, or even pictures but still refer to the same product. Universal identifiers like <a href="https://www.gtin.info/">GTIN</a> or EAN are not always available and sometimes even incorrect (more on the need of product matching in marketplaces in <a href="https://medium.com/walmartlabs/product-matching-in-ecommerce-4f19b6aebaca">Product Matching in eCommerce using deep learning</a>). In the case of e-commerce stores, the same products might be imported by mistake with a different Id and same or similar data information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*j7kFOQgi6V-DvnSLHcUYHg.png" /><figcaption>Example of Similar Products</figcaption></figure><p>In addition to this, it is common for e-commerce stores to use similar descriptions for products of the same type for convenience, a practice that results in a lower ranking position in the search engines:</p><blockquote>It’s easy to take shortcuts with product descriptions on eCommerce websites, especially with similar products. However, consider that Google is judging the content of eCommerce websites similar to regular content sites. That alone should be enough to make a professional SEO realize that product page descriptions should be unique, compelling and robust–especially for mid-tier eCommerce websites who don’t have enough Domain Authority to compete with bigger competitors. Every little bit counts. Sharing short paragraphs, specifications and other content between product pages increases the likelihood that search engines will decrease their perception of a product page’s content quality and subsequently, ranking position. (source: <a href="https://www.goinflow.com/duplicate-content-ecommerce-seo/">Thin &amp; Duplicate Content: eCommerce SEO</a>)</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FiFkHQLzYA09Zm%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2FiFkHQLzYA09Zm&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FiFkHQLzYA09Zm%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="179" frameborder="0" scrolling="no"><a href="https://medium.com/media/01ca4d576f51a05a2e626afc1f116e66/href">https://medium.com/media/01ca4d576f51a05a2e626afc1f116e66/href</a></iframe><p>Duplicate product content detection is the main use case that product similarity search aims to address with a few additional use cases. For example, content-based product recommendations could leverage product similarity to recommend alternative items with same characteristics for products that are out of stock. In addition, it can assist enhancing data information: If some product data lack certain attribute values, it is possible to suggest potential attributes that are found in its most similar products.</p><h4>Challenges</h4><p>Multi-project product similarity search, i.e. searching for product matching in two different inventories, is challenging because the product information most likely presents very different data structures and values. For starters, the available textual information might be in different languages which necessitates an automatic translation entailing some risk of inaccuracy. Product images might display the same product in completely different settings (different light conditions, background, packaging, depth, rotation, context, etc.). And when it comes to attributes, the differences might appear both in the attribute names (e.g. ‘<em>colour</em>’ vs ‘<em>color</em>’) and the values (‘<em>small</em>’ or ‘<em>S</em>’ or ‘<em>34</em>’).</p><p>Scalability also becomes an issue when the store or marketplace contains a large number of products. Scanning an entire catalog to detect pairs of similar products requires comparing each single product variant with each other. This is mathematically translated into <em>n!/2!(n-2)!</em> pairs where <em>n</em> is the number of product variants. That means 499500 pair comparisons for just a small project of 1000 variants.</p><p>Last but not least, data might be missing and noisy. Descriptions might contain formatting tags, many attributes might be meaningless to similarity measuring (e.g. internal codes) and attribute values may be sparse, i.e. many products contain a particular attribute but only a few products have some value. That requires a preprocessing step that needs to be adjusted to common standards, ignoring for example an individual business’s specificities in data.</p><h4>Implementation</h4><p>The <a href="https://docs.commercetools.com/http-api-projects-similarProducts.html">Similar Products</a> API provides the opportunity for a store to scan their entire catalog for products that are similar to each other in terms of their data information. It leverages diverse product information: product <em>name, description, attribute values, price</em> and<em> variant count</em>. These data sources comprise of different data types: Names and descriptions are textual data, price and variant count are numerical and attributes include mixed data types. Therefore the system consists basically of smaller independent components, one for each information source, and each component calculates the similarity for the respective information source.</p><p>Users can choose which of these data sources should be considered and even specify which features should have a higher influence on the similarity score, since the final output is a weighted average similarity score for each pair of products in examination. Furthermore, it provides the option to limit the search to specific products or product types.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*VJnX-BYjyGTwHA7MHUpLzA.png" /><figcaption>Data flow diagram for the comparison of two products</figcaption></figure><p>The code is written in Python including methods from the most popular data science libraries: <a href="http://www.numpy.org/">NumPy</a>, <a href="https://scikit-learn.org/stable/index.html">scikit-learn</a>, <a href="https://pandas.pydata.org/">pandas</a>, <a href="https://www.scipy.org/">SciPy</a>.</p><p><strong>Text similarity for <em>names</em> and <em>descriptions</em>:</strong></p><p>Product names and descriptions undoubtedly carry important information, but as with any NLP case, any text instance must be converted to a vector. This is done with the use of a text vectorizer like the tf-idf and the count vectorizer, which are typically used, but instead we decided for <a href="https://scikit-learn.org/stable/index.html">scikit-learn</a>’s Hashing Vectorizer. The Hashing vectorizer is similar to the count vectorizer but doesn’t keep a vocabulary. It also doesn’t take into account the inverse document frequencies like tf-idf, which penalizes the words that appear more frequently across the whole corpus. Therefore it provides shorter response times with an accuracy that is sufficient for our use cases.</p><p><strong>Numerical similarity for <em>price</em> and <em>variant count:</em></strong></p><p>Product price may be a strong indicator of a mismatch but is not conclusive to detect a match alone. This is because identical products might have still diverse prices and non-identical products might have same price ranges. Variant count is similarly not conclusive alone but might be useful in certain use cases, thus it is more considered an additional feature, up to the user’s choice to leverage or not. Since both price and variant count data are numerical, the method is straightforward: we scale the values to a fixed standard range, typically <em>[0,1]</em>, and use a numerical distance metric to calculate how dissimilar two values are.</p><p>It should be noted that products typically contain more than one price values (e.g. a normal price, a seasonal price, some discount price, prices for different countries etc.) and these are set to a specific currency as well. Thus for the price comparison, we convert all values to the same currency and use the median of all the prices as a representative for the product variant.</p><p><strong>Mixed data similarity for <em>attributes</em>:</strong></p><p>Product attributes are special cases of data because they have mixed data types. When the data is of the same type, e.g. numerical like the prices or the text vectors described above, a similarity metric can be directly applied. But if the data is represented by a set of features that are numerical, nominal, boolean and even multi-valued (i.e. every instance described as a collection of values), then there is no common similarity metric to compare all those types in a meaningful way. For a better understanding consider the following table representing a sample of attributes of wine products.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4trygmgjyB7eoSmFuvxUKQ.png" /><figcaption>Small set of attribute values of wine products</figcaption></figure><p>We distinguish the following attributes :</p><ul><li>numerical: <em>contents</em></li><li>boolean: <em>is_available</em></li><li>nominal: <em>color</em>, <em>country</em>, <em>acidity</em></li><li>multi-valued: <em>country_availability, foods</em></li></ul><p>Our implementation of a distance metric which is capable to handle different types of variables is based on the Gower’s distance metric¹: we calculate the distances between two instances differently for each variable type and combine those in a final weighted distance score. Two basic decisions had to be taken here: which distance metric should be used for every type and how the distance between missing values should be handled. For missing values, the assumption is that the distance between a missing value and any other value (even missing as well) should be the maximum, i.e. 1.0. The distance metrics for each data type are described in the following.</p><p>For numerical attributes it is straightforward and similar to the price similarity case. We normalize the values and use the <em>Euclidean distance</em>. Boolean attributes can be converted to numerical values (<em>0</em> and <em>1</em>) and be treated in the same way with a numerical distance metric, which will eventually give maximum similarity for identical values and zero otherwise.</p><p>Categorical (also called nominal) data, like <em>country</em> and <em>color,</em> must be compared in a similar way: identical values should have the maximum similarity and zero if they are different. One commonly applied approach is encoding the categorical values with numerical. However treating these values in the same way as numerical is not meaningful and a rather poor idea because the numerical counterparts do not have any meaning other than encoding. For example, the value encoded with <em>‘10’</em> should not be considered most similar to the value encoded with <em>‘9’</em> than to the one encoded as <em>‘1’ </em>and the distance between these values carries no semantic information. Thus, a different metric is needed - one that basically checks whether values are identical or not. In this case we used the <em>Hamming distance</em> as a metric (for more information see <a href="https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.distance.cdist.html">SciPy’s cdist</a>).</p><p>However, categorical data can also be handled as textual in some cases. For example for an attribute ‘<em>colour</em>’ and items with values <em>‘green’</em>, <em>‘light green’ </em>and <em>‘red’</em>, a categorical approach will compute zero similarity between each pair and treat them as completely distinct categories, while text similarity will not ignore the similarity that exists between the two cases of green. This is hard to achieve without human supervision though and not meaningful in every case. Additionally, text similarity is computationally expensive.</p><p>Therefore, we have also included a text distance similarity method for the nominal attributes. As it is computationally intensive, it is only enabled for small product sets and a limited number of nominal attributes. It is based on the <em>Levenshtein distance </em>between values from the <a href="https://github.com/seatgeek/fuzzywuzzy">fuzzywuzzy</a> python<em> </em>library<em>. </em>The Levenshtein distance between two texts is a string distance metric that indicates the number of single-character changes required to convert the one string to the other.</p><p>Last but not least, for the multi-valued attributes, where each item can have a set of values, we apply the <em>Jaccard distance. </em>The Jaccard distance between two sets of values is defined as the size of their intersection divided by the size of their union, i.e. the number of the values they have in common divided by the total number of unique values that appear in both sets.</p><p>Handling attributes in this context is challenging also for reasons other than the mixed types. Without inspection of the data it is hard to automatically distinguish which attributes are meaningful to consider and which add noise or whether categorical data should be treated as text or as distinct values. Furthermore, when two inventories are compared, an overlap of matching attributes should be found and the case where the attributes match but the values are different (e.g. ‘<em>S</em>’ for size in the one but ‘<em>small</em>’ in the other) must be tackled as well.</p><p>In addition to that, we wanted to weight the attributes so that the more important ones influence the result more, which requires a common metric of importance for all data types. To assess their relative importance and also decide which attributes should be used, we considered both the variance and density of their values as an indicator of their discriminative ability. However, there is no single variance metric applicable to every data type, and so as a variance counterpart, we used the entropy of the values. But this only after the attributes with entropy equal to 1 were removed, because that means that all items have unique values and thus the attribute is not adding any value in identifying similar items.</p><p>Last, when two different inventories are compared and the overlap of matching attributes is small, as this accounts only partly for the similarity score, we make sure that this is reflected to the final score.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3f11d036af4e9c5f0cdd416cf7019d8d/href">https://medium.com/media/3f11d036af4e9c5f0cdd416cf7019d8d/href</a></iframe><p>The feature is currently provided in beta testing phase. To handle the high number of pair comparisons explained above, the total number of products analyzed in one request is currently limited. This can be improved by switching to a distributed framework like <a href="https://docs.dask.org/en/latest/">Dask</a>. We are looking forward to receive customer feedback in order to get a deeper understanding of the use cases and identify potential for optimisation.</p><p>¹ <em>Gower, J. C. (1971) A general coefficient of similarity and some of its properties, Biometrics, 27, 857–874.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d037c7212071" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>