<?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 Saumyadeepta Sen on Medium]]></title>
        <description><![CDATA[Stories by Saumyadeepta Sen on Medium]]></description>
        <link>https://medium.com/@saumyadeeptasen?source=rss-bee62f6ef680------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*vIJ2WnCJ7twAq06u.</url>
            <title>Stories by Saumyadeepta Sen on Medium</title>
            <link>https://medium.com/@saumyadeeptasen?source=rss-bee62f6ef680------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 20:40:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@saumyadeeptasen/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[Multilayer Perceptron model vs CNN]]></title>
            <link>https://medium.com/the-owl/multilayer-perceptron-model-vs-cnn-5be5cf87897a?source=rss-bee62f6ef680------2</link>
            <guid isPermaLink="false">https://medium.com/p/5be5cf87897a</guid>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Saumyadeepta Sen]]></dc:creator>
            <pubDate>Tue, 04 Aug 2020 18:38:54 GMT</pubDate>
            <atom:updated>2020-08-04T18:38:54.120Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eR2bb1W4cy_EWx9dIJ5dpg.jpeg" /></figure><p>Multilayer perceptrons are sometimes colloquially referred to as “vanilla” neural networks, especially when they have a single hidden layer. — MLP Wikipedia</p><blockquote>A multilayer perceptron (MLP) is a class of feedforward artificial neural network. A MLP consists of at least three layers of nodes: an input layer, a hidden layer and an output layer. Except for the input nodes, each node is a neuron that uses a nonlinear activation function. MLP utilizes a supervised learning technique called backpropagation for training. Its multiple layers and non-linear activation distinguish MLP from a linear perceptron. It can distinguish data that is not linearly separable.</blockquote><h4><strong>Multilayer Perceptron (MLP)</strong></h4><p>This is used to apply in computer vision, now succeeded by Convolutional Neural Network (CNN). MLP is now deemed insufficient for modern advanced computer vision tasks. It has the characteristic of <strong>fully connected layers</strong>, where each perceptron is connected with every other perceptron. The disadvantage is that the number of total parameters can grow to very high (number of perceptron in layer 1 multiplied by # of p in layer 2 multiplied by # of p in layer 3…). This is inefficient because there is redundancy in such high dimensions. Another disadvantage is that it disregards spatial information. It takes flattened vectors as inputs. A light weight MLP (2–3 layers) can easily achieve high accuracy with MNIST dataset.</p><h4><strong>Convolutional Neural Network (CNN)</strong></h4><p>The incumbent, current favorite of computer vision algorithms, winner of multiple ImageNet competitions. Can account for <strong>local connectivity</strong><em> </em>(each filter is panned around the entire image according to certain size and stride, allows the filter to find and match patterns no matter where the pattern is located in a given image). The weights are smaller, and shared — less wasteful, easier to train than MLP. It is more effective too, can also go deeper. Layers are sparsely connected rather than fully connected. It takes matrices as well as vectors as inputs. The layers are <strong>sparsely connected</strong><em> </em>or <strong>partially connected</strong> rather than <strong>fully connected</strong>. Every node does not connect to every other node.</p><blockquote>Now , let us see how <strong>MLP</strong> and <strong>CNN</strong> models work in our <strong>MNIST dataset</strong>. You can find the dataset in Kaggle:<br><a href="https://www.kaggle.com/c/digit-recognizer/data">https://www.kaggle.com/c/digit-recognizer/data</a></blockquote><p>First of all let us import all the libraries required. Then we read the data and reshape the image dimensions. Finally we will take a look at a few samples from our dataset.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/467904f219b0104860b3cdde4ccb28db/href">https://medium.com/media/467904f219b0104860b3cdde4ccb28db/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/368/1*wJabk7cCboo-nfUp5Bqz_g.png" /></figure><p>Now, we will create a MLP model using Sequential class in Keras.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2616bffde7b6b3835dc6a70c57bbe311/href">https://medium.com/media/2616bffde7b6b3835dc6a70c57bbe311/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EWbEpNS4KlYHmkZADlB99w.png" /></figure><p>We finally visualize our training model after using <strong>MLP</strong>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fe04dbda8dc8a5cfe0e08eccb36f4e35/href">https://medium.com/media/fe04dbda8dc8a5cfe0e08eccb36f4e35/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*AaUmsqmuXjc_aOgkqKLH3g.png" /></figure><h4>Convolutional Neural Network</h4><p>Lets see how to build a CNN model using Keras.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6b9cd463df127c0f739d4bf9a82a605e/href">https://medium.com/media/6b9cd463df127c0f739d4bf9a82a605e/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_tHmljmDfJQNQ2MPDcknWA.png" /></figure><p>Next, we plot the metrics after training the CNN model.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/589873219a7526e1dac7d8714e999e86/href">https://medium.com/media/589873219a7526e1dac7d8714e999e86/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ChS7qYG1Dhq7EZkQxHOF2Q.png" /></figure><p>It is clearly evident that the <strong>CNN</strong> converges faster than the <strong>MLP</strong> model in terms of epochs but each epoch in <strong>CNN</strong> model takes more time compared to <strong>MLP</strong> model as the number of parameters is more in <strong>CNN</strong> model than in <strong>MLP</strong> model in this example. The accuracy in both the cases is more or less the same, but for better results in other datasets we always prefer <strong>CNN</strong> model.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5be5cf87897a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-owl/multilayer-perceptron-model-vs-cnn-5be5cf87897a">Multilayer Perceptron model vs CNN</a> was originally published in <a href="https://medium.com/the-owl">The Owl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Evaluating Recommender Systems]]></title>
            <link>https://medium.com/the-owl/evaluating-recommender-systems-749570354976?source=rss-bee62f6ef680------2</link>
            <guid isPermaLink="false">https://medium.com/p/749570354976</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[recommender-systems]]></category>
            <category><![CDATA[recommendation-system]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Saumyadeepta Sen]]></dc:creator>
            <pubDate>Tue, 21 Jul 2020 05:25:10 GMT</pubDate>
            <atom:updated>2022-08-30T07:06:04.122Z</atom:updated>
            <content:encoded><![CDATA[<h4>Part 5 of Evaluation Metrics Series</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aYEQh9-M3b6ZUEi500szlQ.jpeg" /></figure><p>In the previous posts in the Evaluation Metrics series, we have only discussed about the evaluation metrics used for Classication tasks. In this post we are going to discuss about the metrics used for evaluation of <strong>Recommender Systems</strong>.</p><p>Recommender systems can be evaluated through several metrics and offline experiments. Metrics for recommender systems can be grouped into several groups. Each group has a particular purpose, which we are going to discuss in this post.</p><p>Lets go through the most popular metrics for recommender systems. These metrics are used for different cases and one cannot be stated to be better than the others.</p><p>First, let us see the methodology of testing recommender systems offline. If we have done Machine Learning before we are familiar with the concept of <strong>train/test splits</strong>. Now recommender system is a Machine Learning system. We train it using user behaviour and then make prediction about what items an user may like. So on paper at least we can evaluate recommender system like any other Machine Learning systems. Here’s how we do it :-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/1*M0RQrVhI1_CPFplhTtUFMA.png" /></figure><p>We first split the data into training set and testing set. Usually the training set is much bigger than the testing set. Now we training our recommender system using the training set only. This is where it obtains the relationship between items and users. Once its trained we can ask it to make predictions about how a new user might rate some of the items they have never seen before.</p><p>If we really want to get fancy, its possible to improve train/test splits by a technique called <strong>K-fold Cross Validation</strong>. Its the same idea as train/test but instead of a single training set we create many randomly assigned training sets. Each individual training set or fold is used to train our recommender system independently and then we measure the accuracy of the resulting systems against our test set. So we end up with a score how accurately each fold ends up predicting user ratings and we can average them together. This obviously takes a lot more computing power to do but the advantage is we donot end up in overfitting to a single training set. Here’s how we do it :-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*lQSAnLhAXLG1J0xGbKER7Q.jpeg" /></figure><p>To reiterate,<strong> train/test</strong> and <strong>k-fold cross-validation</strong> are ways to measure the accuracy of our recommender system. That is, how accurately we can predict how users rated movies they have already seen and provided a rating for. By using train/test, all we can do is test our ability to predict how people rated movies they already saw. That’s not the point of a recommender system. We want to recommend new things to people that they haven’t seen, but find interesting. However, that’s fundamentally impossible to test offline. So researchers who can’t just test out new algorithms on real people, on Netflix or Amazon, or whatever, have to make do with approaches like this. We haven’t talked about how to actually come up with an accuracy metric when testing our recommender system. Now let’s see how we do this :-</p><blockquote><strong><em>Accuracy Metrics</em></strong></blockquote><p>The most straightforward metric is<strong> mean absolute error</strong> or <strong>MAE</strong>. Here is the fancy, mathematical equation for how to compute it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/261/1*i_M9HKDWi3pec3IVeveM5A.png" /></figure><p>Let’s say we have n ratings in our test set that we want to evaluate, for each rating we can call the rating or system predicts y, and the rating the user actually gave x. We just take the absolute value of the difference between the two, to measure the error for that rating prediction. It’s literally just the difference between the predicted rating and the actual rating. We sum those errors up across all n ratings in our test set, and divide by ‘n’ to get the average, or mean. So mean absolute error is exactly that, the mean or average absolute values of each error in rating predictions. We want the lowest MAE score, not the highest.</p><p>A slightly more fancy way to measure accuracy is <strong>root mean square error</strong> or <strong>RMSE</strong>. This is a more popular metric for a few reasons, but one is that it penalizes us more when our rating prediction is way off, and penalizes us less when we are reasonably close.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/337/1*nRgVph9hAqoQidTtuwBS2g.png" /></figure><p>The difference is that instead of summing up the absolute values of each rating prediction error, we sum up the squares of the rating prediction errors instead. Taking the square ensures we end up with positive numbers, like absolute values do, and it also inflates the penalty for larger errors. When we’re done we take the square root to get back to a number that makes sense. Again we remember that high RMSEs are bad, we want low error scores, not high ones. Now like we said, accuracy isn’t really measuring what we want recommender systems to do, actual people couldn’t care less what our system thinks we should have rated some movie we already saw and rated. Rating predictions themselves are really a limited value, we don’t really care if the system thinks we will rate up three stars, we care mostly about what our system thinks about the best movies for us to go see are and that’s a very different problem.</p><h3><strong><em>Evaluating top-n Recommenders</em></strong></h3><blockquote><strong>Hit-Rate</strong></blockquote><p>We generate top end recommendations for all of the users in our test set. If one of the recommendations in a users’ top-end recommendations is something they actually rated, we consider that a hit. We actually managed to show the user something that they found interesting enough to watch on their own already, so we’ll consider that a success. We just add up all the hits in our top-end recommendations for every user in our test set and divide by the number of users, and that’s our hit rate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/156/1*ZwlfW6zMNPX7gymrTrbAXw.jpeg" /></figure><p><strong>Hit rate</strong> itself is easy to understand but measuring it is a little bit tricky. We can’t use the same train/test or cross validation approach which we used for accuracy because we’re not measuring the accuracy on individual ratings. We’re measuring the accuracy of top-end lists for individual users. Now we could do the obvious thing and not split things up at all and just measure hit rate directly on top-end recommendations created by a recommender system that was trained on all of the data we have. But technically that’s cheating. We generally don’t want to evaluate a system using data that it was trained with. We could just recommend the actual top 10 movies rated by each user using the training data and achieve a hit rate of 100%. So a clever way around this is called “<strong>Leave-one-out cross validation</strong>”. What we do is compute the top-end recommendations for each user in our training data and intentionally remove one of those items from that users training data. We then test our recommenders system’s ability to recommend that item that was left out in the top-end results it creates for that user in the testing phase. So we measure our ability to recommend an item in a top-end list for each user that was left our from the training data. That’s why it’s called “<strong>leave-one-out</strong>”. The trouble is it’s a lot harder to get one specific movie right while testing than to just get one of the recommendations. So “<strong>hit rate</strong>” with “<strong>leave-one-out</strong>” tends to be very small and difficult to measure unless you have a very large data set to work with. But it’s a much more user focused metric when we know our recommender system will be producing top-end lists in the real world, which most of them do.</p><blockquote><strong>Average Reciprocal Hit Rate(ARHR)</strong></blockquote><p>A variation on “<strong>hit rate</strong>” is “<strong>average reciprocal hit rate</strong>” or “<strong>ARHR</strong>” for short. This metric is just like “<strong>hit rate</strong>” but it accounts for where in the top-end list your hits appear. So we end up getting more credit for successfully recommending an item in the top slot than in the bottom slot. Again, this a more user focused metric since users tend to focus on the beginning of lists. The only difference is that instead of summing up the number of hits we sum up the reciprocal rank of each hit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/211/1*lttnspaJ7I9gCMOY9e4_Nw.png" /></figure><p>So if we successfully predict our recommendation in slot three, that only counts as 1/3. But a hit in slot one of our top-end recommendations receives the full weight of 1.0.</p><blockquote><strong>Cumulative Hit Rate(CHR)</strong></blockquote><p>Sounds fancy but all it means is that we throw away hits if our predicted rating is below some threshold. The idea is that we shouldn’t get credit for recommending items to a user that we think they won’t actually enjoy.</p><blockquote><strong>Rating Hit Rate(RHR)</strong></blockquote><p>It can be a good way to get an idea of the distribution of how good our algorithm thinks recommended movies are that actually get a hit. Ideally we want to recommend movies that they actually liked and breaking down the distribution gives us some sense of how well we’re doing in more detail. This is called “<strong>rating hit rate</strong>” or “<strong>RHR</strong>” for short.</p><p>Accuracy isn’t the only thing that matters with recommender systems. There are other things we can measure if they’re important to us. For example,<strong> coverage</strong>. That’s just the percentage of possible recommendations that our system is able to provide. Let’s think about a movies’ data set of movie ratings. It contains ratings for several thousand movies, but there are plenty of movies in existence that it doesn’t have ratings for. If we were using this data to generate recommendations on, say, IMDb, then the coverage of this recommender system would be low, because IMDb has millions of movies in its catalog, not thousands. It’s worth noting that coverage can be at odds with accuracy. If we enforce a higher quality threshhold on the recommendations we make, then we might improve your accuracy at the expense of coverage. Finding the balance of where exactly we’re better off recommending nothing at all can be delicate. Coverage can also be important to watch, because it gives us a sense of how quickly new items in our catalog will start to appear in recommendations.</p><p>Another metric is called <strong>diversity</strong>. We can think of this as a measure of how broad a variety of items our recommender system is putting in front of people. An example of low diversity would be a recommender system that just recommends the next books in a series that we’ve started reading, but doesn’t recommend books from different authors, or movies related to what we’ve read. This may seem like a subjective thing, but it is measurable. Many recommender systems start by computing some sort of similarity metric between items, so we can use these similarity scores to measure diversity. If we look at the similarity scores of every possible pair in a list of top-N recommendations, we can average them to get a measure of how similar the recommended items in the list are to each other. We can call that measure <strong>S</strong>.</p><p><strong>Diversity</strong> is basically the opposite of average similarity, so we subtract it from 1 to get a number associated with diversity. It’s important to realize that diversity, at least in the context of recommender systems, isn’t always a good thing. We can achieve very high diversity by just recommending completely random items. But those aren’t good recommendations by any stretch of the imagination. Unusually high diversity scores mean that we just have bad recommendations more often than not. We always need to look at diversity alongside metrics that measure the quality of the recommendations as well.</p><p>Similarly, <strong>novelty</strong> sounds like a good thing, but often it isn’t. <strong>Novelty</strong> is a measure of how popular the items are that we’re recommending. And again, just recommending random stuff would yield very high novelty scores since the vast majority of items are not top sellers. Although novelty is measurable, what to do with it is in many ways subjective. There’s a concept of user trust in a recommender system. People want to see at least a few familiar items in their recommendations that make them say, “Yeah, that’s a good recommendation for me. This system seems good.” If we only recommend things people have never heard of, they may conclude that our system doesn’t really know them, and they may engage less with our recommendations as a result. Also, popular items are usually popular for a reason. They’re enjoyable by a large segment of the population, so we would expect them to be good recommendations for a large segment of the population who hasn’t read or watched them yet. If we’re not recommending some popular items, we should probably question whether our recommender system is really working as it should. This is an important point. We need to strike a balance between familiar, popular items and what we call serendipitous discovery of new items the user has never heard of before. The familiar items establish trust with the user, and the new ones allow the user to discover entirely new things that they might love. Novelty is important, though, because the whole point of recommender systems is to surface items in what we call “<strong>the long tail</strong>.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*59lNXcczbIytOPKuQg4XDQ.png" /></figure><p>Imagine this is a plot of the sales of items of every item in your catalog, sorted by sales. So the number of sales, or popularity, is on the Y axis, and all the products are along the X axis. We almost always see an exponential distribution like this. Most sales come from a very small number of items, but taken together, the “long tail” makes up a large amount of sales as well. Items in that long tail, the yellow part in the graph, are items that cater to people with unique interests. Recommender systems can help people discover those items in the long tail that are relevant to their own unique niche interests. If we can do that successfully, then the recommendations our system makes can help new authors get discovered, can help people explore their own passions, and make money for whoever we’re building the system for as well. Everybody wins. When done right, recommender systems with good novelty scores can actually make the world a better place. But again, we need to strike a balance between novelty and trust.</p><p>Another thing we can measure is <strong>churn</strong>. How often do the recommendations for a user change? In part, churn can measure how sensitive your recommender system is to new user behavior. If a user rates a new movie, does that substantially change their recommendations? If so, then our churn score will be high. Maybe just showing someone the same recommendations too many times is a bad idea in itself. If a user keeps seeing the same recommendation but doesn’t click on it, at some point should we just stop trying to recommend it and show the user something else instead? Sometimes a little bit of randomization in our top-N recommendations can keep them looking fresh, and expose our users to more items than they would have seen otherwise. But, just like diversity and novelty, high churn is not in itself a good thing. We could maximize your churn metric by just recommending items completely at random, and of course, those would not be good recommendations. All of these metrics need to be looked at together, and we need to understand the trade-offs between them.</p><p>One more metric is <strong>responsiveness</strong>; how quickly does new user behavior influence our recommendations? If we rate a new movie, does it affect our recommendations immediately or does it only affect our recommendations the next day after some nightly job runs? More responsiveness would always seem to be a good thing, but in the world of business we have to decide how responsive our recommender really needs to be, since recommender systems that have instantaneous responsiveness are complex, difficult to maintain, and expensive to build. We need to strike your own balance between responsiveness and simplicity.</p><blockquote><strong>Online A/B tests</strong></blockquote><p>Doing online A/B tests to tune our recommender system using your real customers, and measuring how they react to your recommendations.<br>We can put recommendations from different algorithms in front of different sets of users, and measure if they actually buy, watch, or otherwise indicate interest in the recommendations we’ve presented. By always testing changes to our recommender system using controlled, online experiments, we can see if they actually cause people to discover and purchase more new things than they would have otherwise. That’s ultimately what matters to our business, and it’s ultimately what matters to our users, too. None of the metrics we’ve discussed matter more than how real customers react to the recommendations we produce in the real world. We can have the most accurate rating predictions in the world, but if customers can’t find new items to buy or watch from our system, it will be worthless from a practical standpoint. If we test a new algorithm and it’s more complex than the one it replaced, then we should discard it if it does not result in a measurable improvement in users interacting with the recommendations we present. Online tests can help us to avoid introducing complexity that adds no value, and remember, complex systems are difficult to maintain. So remember, offline metrics such as accuracy, diversity, and novelty can all be indicators we can look at while developing recommender systems offline, but we should never declare victory until we’ve measured a real impact on real users from our work. Systems that look good in an offline setting often fail to have any impact in an online setting, that is, in the real world. User behavior is the ultimate test of our work. There is a real effect where often accuracy metrics tells us that an algorithm is great, only to have it do horribly in an online test.</p><blockquote><strong>Percieved Quality</strong></blockquote><p>Another thing we can do is just straight up ask your users if they think specific recommendations are good. Just like we can ask for explicit feedback</p><p>on items with ratings, we can ask users to rate our recommendations, too. This is called measuring the “perceived quality” of recommendations, and it seems like a good idea on paper, since, as we’ve learned, defining what makes a “good” recommendation is by no means clear. In practice though, it’s a tough thing to do. Users will probably be confused over whether we’re asking them to rate the item or rate the recommendation, so we won’t really know how to interpret this data. It also requires extra work from our customers with no clear payoff for them, so we’re unlikely to get enough ratings on our recommendations to be useful. It’s best to just stick with online A/B tests, and measure how our customers vote with their wallets on the quality of our recommendations.</p><p>Please refer to the below article to know more about Recommender Systems :</p><p><a href="https://neptune.ai/blog/how-to-test-recommender-system">https://neptune.ai/blog/how-to-test-recommender-system</a></p><p>Hit the clap button if you like the story or think that it will help others!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=749570354976" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-owl/evaluating-recommender-systems-749570354976">Evaluating Recommender Systems</a> was originally published in <a href="https://medium.com/the-owl">The Owl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recommender Systems]]></title>
            <link>https://medium.com/the-owl/recommender-systems-f62ad843f70c?source=rss-bee62f6ef680------2</link>
            <guid isPermaLink="false">https://medium.com/p/f62ad843f70c</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[recommender-systems]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[recommendation-system]]></category>
            <dc:creator><![CDATA[Saumyadeepta Sen]]></dc:creator>
            <pubDate>Mon, 06 Jul 2020 04:37:22 GMT</pubDate>
            <atom:updated>2020-07-06T04:37:22.175Z</atom:updated>
            <content:encoded><![CDATA[<h4>Some major recommender system algorithms</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*X1ClXSaKk8H9VKjKDXijLw.jpeg" /></figure><blockquote><strong>Introduction</strong></blockquote><p>A <strong>recommender system</strong>, or a <strong>recommendation system</strong> (sometimes replacing ‘system’ with a synonym such as platform or engine), is a subclass of information filtering system that seeks to predict the “rating” or “preference” a user would give to an item. They are primarily used in commercial applications.</p><p>Recommender systems are utilized in a variety of areas and are most commonly recognized as playlist generators for video and music services like Netflix, YouTube and Spotify, product recommenders for services such as Amazon, or content recommenders for social media platforms such as Facebook and Twitter. These systems can operate using a single input, like music, or multiple inputs within and across platforms like news, books, and search queries. There are also popular recommender systems for specific topics like restaurants and online dating. Recommender systems have also been developed to explore research articles and experts, collaborators, and financial services.</p><p>In a very general way, recommender systems are algorithms aimed at suggesting relevant items to users (items being movies to watch, text to read, products to buy or anything else depending on industries).</p><blockquote><strong>Outline</strong></blockquote><p>Here we are going to overview some major paradigms of recommender systems : <strong><em>popularity,content based &amp; collaborative filtering</em></strong>. The following section will be dedicated to all the above mentioned algorithms and how they work.</p><p><strong>Now, lets dive into the code and see how each of the method works</strong></p><blockquote><strong>Importing the required Libraries and reading the dataset</strong></blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e64f02f83efbe44713d05c7680ba35a8/href">https://medium.com/media/e64f02f83efbe44713d05c7680ba35a8/href</a></iframe><blockquote><strong>An overview of the dataset</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oaup609OJTnnxESu9CrS6A.png" /><figcaption>tdmb_5000_movies dataset</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kPywQeKQuD44JxGyFTQ-RA.png" /><figcaption>tdmb_5000_credits dataset</figcaption></figure><p>Now we merge the above datasets to proceed further:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f55734788b060dfe8fd2c25971f78d1f/href">https://medium.com/media/f55734788b060dfe8fd2c25971f78d1f/href</a></iframe><blockquote><strong>Popularity Based Filtering</strong></blockquote><p>As the name suggests Popularity based recommendation system works with the trend. It basically uses the items which are in trend right now. For example, if any product which is usually bought by every new user then there are chances that it may suggest that item to the user who just signed up.</p><p><strong>IMDB weighted avg formula:</strong></p><p><strong>Weighted Rating(WR)=[vR/(v+m)]+[mC/(v+m)]</strong><br>where,<br>v is the number of votes for the movie;<br>m is the minimum votes required to be listed in the chart;<br>R is the average rating of the movie; and<br>C is the mean vote across the whole report.<br>Now we find the values of v,m,R,C.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/dabfbc8ebbe54132addb6741a96abd12/href">https://medium.com/media/dabfbc8ebbe54132addb6741a96abd12/href</a></iframe><pre>(481, 23)</pre><p>Here we used 90th percentile as our cutoff. In other words, for a movie to feature in the charts, it must have more votes than at least 90% of the movies in the list.</p><p>We see that there are 481 movies which qualify to be in this list. Now, we need to calculate our metric for each qualified movie. To do this, we will define a function, weighted_rating() and define a new feature score, of which we’ll calculate the value by applying this function to our DataFrame of qualified movies:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c5b297ce7c16f03be2c0ea9aab31e2d6/href">https://medium.com/media/c5b297ce7c16f03be2c0ea9aab31e2d6/href</a></iframe><p>Now we visualize the top 6 movies according to <strong>popularity based </strong>recommender system.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f3591d258abe4242da5c44e7433d6405/href">https://medium.com/media/f3591d258abe4242da5c44e7433d6405/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*DGJhgwlQN9H2ciTVgdH0Wg.png" /></figure><p><strong>Conclusion:<br></strong>The Popularity based recommender provide a general chart of recommended movies to all the users. They are not sensitive to the interests and tastes of a particular user.</p><blockquote><strong>Content Based Filtering</strong></blockquote><p>In this recommender system the content of the movie (overview, cast, crew, keyword, tagline etc) is used to find its similarity with other movies. Then the movies that are most likely to be similar are recommended.</p><p><strong>Plot description based Recommender:<br></strong>Here we will compute pairwise similarity scores for all movies based on their plot descriptions and recommend movies based on that similarity score. The plot description is given in the “overview” feature of our dataset.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c5975ecf94056fe8c128c97c78429b8b/href">https://medium.com/media/c5975ecf94056fe8c128c97c78429b8b/href</a></iframe><pre>(4803, 20978)</pre><p>We see that 20978 different words were used to describe the 4803 movies in our dataset.</p><p>With this matrix, we compute a similarity score. We will be using the cosine similarity to calculate a numeric quantity that denotes the similarity between two movies. We use the cosine similarity score since it is independent of magnitude and is relatively easy and fast to calculate. Mathematically, it is defined as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/433/1*ti8-RHa6LgR8wKhwPh4xPw.png" /></figure><p>Since we have used the TF-IDF vectorizer, calculating the dot product will directly give us the cosine similarity score. Therefore, we will use sklearn’s linear_kernel() instead of cosine_similarities() since it is faster.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/584457fa8414d94fadb44c7a121868c1/href">https://medium.com/media/584457fa8414d94fadb44c7a121868c1/href</a></iframe><p>Now we need a mechanism to identify the index of a movie in our metadata DataFrame, given its title.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7a63c8935988ac9d61f152bbe0c2772e/href">https://medium.com/media/7a63c8935988ac9d61f152bbe0c2772e/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/281/1*rVQV-fOoaBifD-HXsQaYKw.png" /></figure><p>Now we need to to follow the steps for defining our recommendation function:<br>*Getting the index of the movie given its title.<br>*Getting the list of cosine similarity scores for that particular movie with all movies.<br>*Converting it into a list of tuples where the first element is its position and the second is the similarity score.<br>*Sorting the aforementioned list of tuples based on the similarity scores; that is, the second element.<br>*Getting the top 10 elements of this list. Ignoring the first element as it refers to self (the movie most similar to a particular movie is the movie itself).<br>*Returning the titles corresponding to the indices of the top elements.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3f177b55418972f0b1d4d2866106388c/href">https://medium.com/media/3f177b55418972f0b1d4d2866106388c/href</a></iframe><p><em>Now, lets see our results:</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/aefea82af48a69ca68ced9a389ccdff5/href">https://medium.com/media/aefea82af48a69ca68ced9a389ccdff5/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/1*D5sapVAyN3nK5X6Z44rZVQ.png" /></figure><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/27414faa97b1c3d88e00e39be9e9dd15/href">https://medium.com/media/27414faa97b1c3d88e00e39be9e9dd15/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*sXdM8NjHibPg7hXoCNHi9w.png" /></figure><p><strong>Conclusion:</strong><br>While our system has done a decent job of finding movies with similar plot descriptions, the quality of recommendations is not that great.</p><blockquote><strong>Credits, Genres and Keywords Based Recommender</strong></blockquote><p>We are going to build a recommender based on the following: the 3 top actors, the director, related genres and the movie plot keywords. From the cast, crew and keywords features, we need to extract the three most important actors, the director and the keywords associated with that movie. Right now, our data is present in the form of “stringified” lists , we need to convert it into a safe and usable structure.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ed3e73b6e94a8eb5bb465249868a0049/href">https://medium.com/media/ed3e73b6e94a8eb5bb465249868a0049/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/af737f528294fd5d239b98c24105156d/href">https://medium.com/media/af737f528294fd5d239b98c24105156d/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/273/1*sLOcpfTERsIm8x2u_YAtgQ.png" /></figure><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7a8aeac9975d5d156d2a9f194a9868a4/href">https://medium.com/media/7a8aeac9975d5d156d2a9f194a9868a4/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8d4cd3a9cfeb554f18496f0f526d5243/href">https://medium.com/media/8d4cd3a9cfeb554f18496f0f526d5243/href</a></iframe><p>Our next step would be to convert the names and keyword instances into lowercase and strip all the spaces between them. This is done so that our vectorizer doesn’t count the Johnny of “Johnny Depp” and “Johnny Galecki” as the same.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9c309d1ba187947202f95f98aa46392c/href">https://medium.com/media/9c309d1ba187947202f95f98aa46392c/href</a></iframe><p>Now we create our “metadata soup”, which is a string that contains all the metadata that we want to feed to our vectorizer (namely actors, director and keywords).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/08674a9043b020385c6d873d177ae0a3/href">https://medium.com/media/08674a9043b020385c6d873d177ae0a3/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/328/1*mEQ7q42GPTg_X2mtEqwl5A.png" /></figure><p>The next steps are the same as what we did with our plot description based recommender. One important difference is that we use the CountVectorizer() instead of TF-IDF. This is because we do not want to down-weight the presence of an actor/director if he or she has acted or directed in relatively more movies. It doesn’t make much intuitive sense.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/388b6b16decd88576037744db2435440/href">https://medium.com/media/388b6b16decd88576037744db2435440/href</a></iframe><p>Again we need to to follow the steps mentioned earlier for defining our recommendation function.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d673f5fadf918621cbcb29dbfdf87ac9/href">https://medium.com/media/d673f5fadf918621cbcb29dbfdf87ac9/href</a></iframe><p><em>Now, lets see our results:</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/591d370d8747da6e4387d47d3bc1ba89/href">https://medium.com/media/591d370d8747da6e4387d47d3bc1ba89/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/311/1*nap_474RvSf0WBRRYWrEaA.png" /></figure><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/23c707e588f83895eb3dcfc7bd8f3e91/href">https://medium.com/media/23c707e588f83895eb3dcfc7bd8f3e91/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/262/1*Rm4VUw6rxlarr5YVmyrmoA.png" /></figure><p><strong>Conclusion:</strong><br>We see that our recommender has been successful in capturing more information due to more metadata and has given us (arguably) better recommendations. It is more likely that Marvels or DC comics fans will like the movies of the same production house. Therefore, to our features above we can add production_company . We can also increase the weight of the director , by adding the feature multiple times in the soup.</p><blockquote><strong>Collaborative Filtering</strong></blockquote><p>Our content based engine suffers from some severe limitations. It is only capable of suggesting movies which are close to a certain movie. That is, it is not capable of capturing tastes and providing recommendations across genres.</p><p>Also, the engine that we built is not really personal in that it doesn’t capture the personal tastes and biases of a user. Anyone querying our engine for recommendations based on a movie will receive the same recommendations for that movie, regardless of who she/he is.</p><p>Therefore, in this section, we will use a technique called Collaborative Filtering to make recommendations to Movie Watchers. It is basically of two types:-</p><ul><li><strong>User based filtering</strong>- These systems recommend products to a user that similar users have liked. For measuring the similarity between two users we can either use pearson correlation or cosine similarity.<br><em>Although computing user-based CF is very simple, it suffers from several problems. One main issue is that users’ preference can change over time. It indicates that precomputing the matrix based on their neighboring users may lead to bad performance. To tackle this problem, we can apply item-based CF.</em></li><li><strong>Item Based Collaborative Filtering </strong>-Instead of measuring the similarity between users, the item-based CF recommends items based on their similarity with the items that the target user rated. Likewise, the similarity can be computed with Pearson Correlation or Cosine Similarity.<br><em>It successfully avoids the problem posed by dynamic user preference as item-based CF is more static. However, several problems remain for this method. First, the main issue is scalability. The computation grows with both the customer and the product. The worst case complexity is O(mn) with m users and n items. In addition, sparsity is another concern. In extreme cases, we can have millions of users and the similarity between two fairly different movies could be very high simply because they have similar rank for the only user who ranked them both.</em></li></ul><blockquote><strong>Single Value Decomposition</strong></blockquote><p>One way to handle the scalability and sparsity issue created by CF is to leverage a latent factor model to capture the similarity between users and items. Essentially, we want to turn the recommendation problem into an optimization problem. We can view it as how good we are in predicting the rating for items given a user. One common metric is Root Mean Square Error (RMSE). The lower the RMSE, the better the performance.</p><p>Now talking about latent factor you might be wondering what is it ?It is a broad idea which describes a property or concept that a user or an item have. For instance, for music, latent factor can refer to the genre that the music belongs to. SVD decreases the dimension of the utility matrix by extracting its latent factors. Essentially, we map each user and each item into a latent space with dimension r. Therefore, it helps us better understand the relationship between users and items as they become directly comparable.</p><p>Now enough said , let’s see how to implement this. Since the dataset we used before did not have userId(which is necessary for collaborative filtering) let’s load another dataset. We’ll be using the <strong>Surprise </strong>library to implement SVD. So our first step is to install the <strong>Surprise </strong>library by using the command <em>!pip install surprise .</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0edf23f8c7d7081930989682b918beb3/href">https://medium.com/media/0edf23f8c7d7081930989682b918beb3/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/252/1*-zy4F-jt1ZtM0Kx5ucpFpA.png" /></figure><p>Note that in this dataset movies are rated on a scale of 5 unlike the earlier one.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0532992f459bcf47ace1d129538ec169/href">https://medium.com/media/0532992f459bcf47ace1d129538ec169/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*mnxSMYHeRuwVBwvIrL4Oww.png" /></figure><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2901dcbfa6edf7bae5686b654e19e3dc/href">https://medium.com/media/2901dcbfa6edf7bae5686b654e19e3dc/href</a></iframe><pre>&lt;surprise.prediction_algorithms.matrix_factorization.SVD at 0x7f372e7c2c88&gt;</pre><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8135da90dfb0d99d82bfb76ba47bdaf2/href">https://medium.com/media/8135da90dfb0d99d82bfb76ba47bdaf2/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/1*XE_7yQwVEebPplSHIqz_Tw.png" /></figure><p><em>Now, lets see our predictions:</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/aca1f64791afb96c972fa1ff5a883384/href">https://medium.com/media/aca1f64791afb96c972fa1ff5a883384/href</a></iframe><pre>Prediction(uid=1, iid=302, r_ui=3, est=2.935174843805315, details={&#39;was_impossible&#39;: False})</pre><p><strong>Conclusion:<br></strong>For movie with ID 302, we get an estimated prediction of 2.935. One startling feature of this recommender system is that it doesn’t care what the movie is (or what it contains). It works purely on the basis of an assigned movie ID and tries to predict ratings based on how the other users have predicted the movie.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f62ad843f70c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-owl/recommender-systems-f62ad843f70c">Recommender Systems</a> was originally published in <a href="https://medium.com/the-owl">The Owl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Parametric Tests]]></title>
            <link>https://medium.com/the-owl/parametric-tests-d4f5c26ddf13?source=rss-bee62f6ef680------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4f5c26ddf13</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[statistical-analysis]]></category>
            <category><![CDATA[inferential-statistics]]></category>
            <category><![CDATA[hypothesis-testing]]></category>
            <dc:creator><![CDATA[Saumyadeepta Sen]]></dc:creator>
            <pubDate>Mon, 29 Jun 2020 15:27:34 GMT</pubDate>
            <atom:updated>2020-06-29T15:27:34.475Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*-fl1SrYVoSJXeZNppV493A.png" /></figure><p><strong>Parametric Tests</strong> are used for the following cases:</p><ol><li>Quantitative Data</li><li>Continuous variable</li><li>When data is measured on approximate interval or ratio scales of measurement.</li><li>When data should follow Normal Distribution</li></ol><blockquote><strong>Types Of Parametric tests</strong></blockquote><ol><li>t-test(n&lt; 30), which is further classified into 1-sample and 2-sample</li><li>Anova(Analysis of Variance)- One way Anova, Two way Anova</li><li>Pearson’s r Correlation</li><li>Z-test for large samples(n&gt; 30)</li></ol><blockquote><strong>Student’s T-Test</strong></blockquote><p>This test was developed by Prof. W.S.Gossett in 1908, who published statistical papers under the pen name of ‘Student’. Thus the test is known as Student’s t-test.</p><p><strong>Indications for the test:<br></strong>1.When samples are small<br>2.Population Variances are not known.</p><p><strong>Uses:</strong><br>1. Compare two means of small independent samples<br>2.Compare Sample mean and Population mean<br>3.Compare two proportions of small independent samples.</p><p><strong>Assumptions:</strong><br>1.Samples are randomly selected<br>2.Data utilised is quantitative<br>3.Variable follow Normal distribution<br>4.Sample variance are mostly same in both the groups under study<br>5.Samples are small, mostly lower than 30.</p><p>A t-test compares the difference between two means of different groups to determine whether the difference is statistically significant.</p><p><strong>Student’s</strong> <strong>t-tes</strong>t for different purposes:</p><ol><li>t-test for one-sample</li><li>t-test for unpaired two samples</li><li>t-test for paired two samples</li></ol><blockquote><strong>ONE SAMPLE T-TEST</strong></blockquote><ol><li>When we compare the mean of a single group of observations with a specified value.</li><li>In one sample t-test, we know the population mean. We draw a random sample from the population and then compare the sample mean with the population mean and make a statistical decision as to whether or not the sample mean is different from the population.</li></ol><p><strong>Calculations:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/215/1*fL2btJVfPPWMNgiE5XUoEA.jpeg" /></figure><p>Now we compare calculated value with table value at certain level of significance (generally 5% or 1%)</p><p>If absolute value of ‘t’ obtained is greater than table value then reject the null hypothesis and if it is less than table value, the null hypothesis may be accepted.</p><blockquote><strong>Unpaired Two sample t- test</strong></blockquote><ul><li>Compare two means of two samples</li><li>Two independent random samples come from the normal populations having unknown or same variance</li><li>We test the null hypothesis, that the two population means are same against an appropriate one sided or two sided alternative hypothesis.</li></ul><p><strong>Assumptions:</strong><br>1. The samples are random &amp; independent of each other.<br>2. The distribution of dependent variable is normal.<br>3. The variances are equal in both the groups.</p><p><strong>Calculations:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/322/1*GMpQ2KCxYJLZG1xbvn0Hqg.png" /></figure><p>Here , <strong>Xbar_</strong>₁ and <strong>Xbar_</strong>₂ are the sample means, <strong>s²</strong> is the pooled sample variance, <strong>n1</strong> and <strong>n2</strong> are the sample sizes and <strong>t</strong> is a <strong>Student-t quantile</strong> with <strong>n1 + n2–2</strong> degrees of freedom.</p><blockquote><strong>PAIRED TWO-SAMPLES T-TEST</strong></blockquote><ul><li>Used when we have paired data of observations from one sample only, when each individual gives a pair of observations.</li><li>Same individuals are studied more than once in different circumstances- measurements made on the same people before and after interventions.</li></ul><p><strong>Assumptions:</strong><br>1.The outcome variable should be continuous.<br>2.The difference between pre-post measurements should be normally distributed.</p><p><strong>Calculations:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*ll3dA-1mfIZ8QWG0aAD7Xw.png" /></figure><p>Here,<strong> <br>d</strong>=difference between two samples X1 and X2, <br><strong>dbar</strong>= Mean of d,<br><strong>Sd</strong>= Standard Deviation of the difference,<br><strong>n</strong>=Sample size.</p><blockquote><em>Now , how do we compare more than two groups means ??</em></blockquote><p>Instead of using a series of individual comparisons as we do in t-test, we examine the differences among the groups through an analysis that considers the variation among all groups at once. • i.e. ANALYSIS OF VARIANCE</p><blockquote><strong>Analysis of Variance(ANOVA)</strong></blockquote><ul><li>Given by Sir Ronald Fisher</li><li>The principle aim of statistical models is to explain the variation in measurements.</li><li>The statistical model involving a test of significance of the difference in mean values of the variable between two groups is the student’s,’t’ test. If there are more than two groups, the appropriate statistical model is Analysis of Variance (ANOVA)</li></ul><p><strong>Assumptions:</strong><br>1.Sample population can be easily approximated to normal distribution.<br>2.All populations have same Standard Deviation.<br>3. Individuals in population are selected randomly.<br>4.Independent samples.</p><ul><li>ANOVA compares variance by means of a simple ratio, called <strong>F-Ratio</strong> ,<br><strong>F= (Variance between groups) / (Variance within groups)</strong>.</li><li>The resulting <strong>F statistics</strong> is then compared with critical value of <strong>F (critic)</strong>, obtained from <strong>F tables</strong> in much the same way as was done with ‘t’.</li><li>If the calculated value exceeds the critical value for the appropriate level of <strong>α</strong>, the null hypothesis will be rejected.</li></ul><p>A <strong>F test</strong> is therefore a test of the <strong>Ratio of Variances</strong>. <strong>F Tests</strong> can also be used on their own, independently of the <strong>ANOVA</strong> technique, to test hypothesis about variances.</p><p>In <strong>ANOVA</strong>, the <strong>F test</strong> is used to establish whether a statistically significant difference exists in the data being tested.</p><p><strong>ANOVA</strong> is further divided into:<br><strong>*One way ANOVA<br>*Two way ANOVA</strong></p><blockquote><strong>One Way ANOVA</strong></blockquote><p>If the various experimental groups differ in terms of only one factor at a time- a <strong>One way ANOVA</strong> is used.<br><strong> e.g.</strong> A study to assess the effectiveness of four different antibiotics on S Sanguis.</p><blockquote><strong>Two Way ANOVA</strong></blockquote><p>If the various groups differ in terms of two or more factors at a time, then a <strong>Two way ANOVA</strong> is performed. <br><strong>e.g.</strong> A study to assess the effectiveness of four different antibiotics on S Sanguis in three different age groups.</p><blockquote><strong>Pearson’s Correlation Coefficient</strong></blockquote><ul><li>Correlation is a technique for investigating the relationship between two quantitative, continuous variables</li><li>Pearson’s Correlation Coefficient(r) is a measure of the strength of the association between the two variables.</li></ul><p><strong>Assumptions:</strong><br>1. Subjects selected for study with pair of values of X &amp; Y are chosen with random sampling procedure.<br>2. Both X &amp; Y variables are continuous <br>3. Both variables X &amp; Y are assumed to follow normal distribution.</p><p><strong>Steps:</strong><br>*The first step in studying the relationship between two continuous variables is to draw a scatter plot of the variables to check for linearity.<br>*The correlation coefficient should not be calculated of the relationship is not linear.<br>*For correlation only purposes, it does not matter on which axis the variables are plotted.</p><p>However, conventionally, the independent variable is plotted on X axis and dependent variable on Y-axis.</p><p>The nearer the scatter of points is to a straight line, the higher the strength of association between the variables.</p><h4><strong>Types of Correlation:</strong></h4><p>Perfect Positive Correlation r=+1<br>Partial Positive Correlation 0&lt;r&lt;+1<br>Perfect negative correlation r=-1<br>Partial negative correlation 0&gt;r&gt;-1<br>No Correlation r=0</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/1*zgEMHljCbdoksARIjUukRA.png" /></figure><blockquote><strong>Z- Test</strong></blockquote><ul><li>This test is used for testing significance difference between two means (n&gt;30).</li></ul><p><strong>Assumptions:</strong><br>1.The sample must be randomly selected.<br>2.Data must be quantitative.<br>3.Samples should be larger than 30.<br>4.Data should follow normal distribution.<br>5.Sample variances should be almost the same in both the groups of study.</p><p><strong><em>Note:</em></strong><em><br></em>• If the SD of the populations is known, a Z test can be applied even if the sample is smaller than 30.</p><p><strong>Indications:<br></strong>*To compare sample mean with population mean.<br>*To compare two sample means.<br>*To compare sample proportion with population proportion.<br>*To compare two sample proportions.</p><p><strong>Steps:</strong><br>1. Defining the problem <br>2. Stating the null hypothesis (H0) against the alternate hypothesis (H1)<br>3. Finding Z value, <strong>Z= (Observed mean)/(Mean Standard Error)</strong>.<br>4. Fixing the level of significance <br>5. Comparing calculated Z value with the value in Z table at corresponding degree significance level.</p><p><em>If the observed Z value is greater than theoritical Z value, Z is significant, we reject the null hypothesis and accept the alternate hypothesis.</em></p><blockquote><strong>Z- PROPORTIONALITY TEST</strong></blockquote><ul><li>Used for testing the significant difference between two proportions.</li></ul><p><strong>Calculations:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*WL2QHunpcqmxwaWIt0fUhw.png" /></figure><blockquote><strong>One tailed and Two tailed Z tests</strong></blockquote><ul><li>Z values on each side of mean are calculated as +Z or as -Z. <br>• A result larger than difference between sample mean will give +Z and result smaller than the difference between mean will give -Z.</li></ul><p><strong>E.g. for two tailed test:</strong> <br>In a test of significance, when one wants to determine whether the mean IQ of malnourished children is different from that of well nourished and does not specify higher or lower, the <strong>P value</strong> of an experiment group includes both sides of extreme results at both ends of scale, and the test is called two tailed test.</p><p><strong>E.g. for single tailed:</strong><br>In a test of significance when one wants to know specifically whether a result is larger or smaller than what occur by chance, the significant level or <strong>P value </strong>will apply to relative end only e.g. if we want to know if the malnourished have lesser mean IQ than the well nourished, the result will lie at one end (tail)of the distribution, and the test is called single tailed test.</p><blockquote><strong>Conclusion</strong></blockquote><ul><li>Tests of significance play an important role in conveying the results of any research &amp; thus the <strong>choice of an appropriate statistical test is very important </strong>as it decides the fate of outcome of the study.</li><li>Hence the emphasis placed on tests of significance in clinical research must be tempered with an understanding that they are<strong> tools for analyzing data </strong>&amp; should never be used as a substitute for knowledgeable interpretation of outcomes.</li></ul><blockquote><strong>Link to Part 1(Parametric and Non-parametric tests for comparing two or more groups) :</strong></blockquote><p><a href="https://medium.com/the-owl/parametric-and-non-parametric-tests-for-comparing-two-or-more-groups-part-1-e24cbbbe4321">https://medium.com/the-owl/parametric-and-non-parametric-tests-for-comparing-two-or-more-groups-part-1-e24cbbbe4321</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4f5c26ddf13" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-owl/parametric-tests-d4f5c26ddf13">Parametric Tests</a> was originally published in <a href="https://medium.com/the-owl">The Owl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Parametric and Non-parametric tests for comparing two or more groups Part 1]]></title>
            <link>https://medium.com/the-owl/parametric-and-non-parametric-tests-for-comparing-two-or-more-groups-part-1-e24cbbbe4321?source=rss-bee62f6ef680------2</link>
            <guid isPermaLink="false">https://medium.com/p/e24cbbbe4321</guid>
            <category><![CDATA[statistical-learning]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[inferential-statistics]]></category>
            <category><![CDATA[statistical-analysis]]></category>
            <dc:creator><![CDATA[Saumyadeepta Sen]]></dc:creator>
            <pubDate>Thu, 25 Jun 2020 14:59:06 GMT</pubDate>
            <atom:updated>2020-06-25T15:01:28.251Z</atom:updated>
            <content:encoded><![CDATA[<h3>Parametric and Non-parametric tests for comparing two or more groups (Part 1)</h3><blockquote><strong>Parametric and non-parametric tests</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YKIbK0ra_4E4FLNgQJ8UdA.jpeg" /><figcaption>Image <a href="https://www.google.com/url?sa=i&amp;url=https%3A%2F%2Fwww.eyes-down.net%2Fblog%2Farticle%2Fgoogle-analytics-alternatives%2F&amp;psig=AOvVaw3UYSe0s9QHNqtlNnG39IoN&amp;ust=1593183405438000&amp;source=images&amp;cd=vfe&amp;ved=0CA0QjhxqFwoTCLiK-eqcneoCFQAAAAAdAAAAABAP">source</a></figcaption></figure><p>In this post we will discuss about Parametric and Non-parametric tests for comparing two or more groups. <strong>Parametric tests</strong> are those that make assumptions about the parameters of the population distribution from which the sample is drawn. The population data is assumed to follow the <strong>normal law</strong>. <strong>Non</strong>-<strong>parametric tests</strong> are “distribution-free” and, as such, has no such assumption about the underlying distribution of the data.</p><p>This post has been divided into 3 parts :</p><ol><li><em>Choosing a test</em></li><li><em>Parametric Tests</em></li><li><em>Non-Parametric Tests</em></li></ol><h3>Choosing a Test</h3><p>In terms of selecting a statistical test, the most important question is “W<strong>hat is the hypothesis</strong>?” In some cases there is no <em>hypothesis</em>, the investigator just wants to see what is there. For example, in a prevalence study there is no <em>hypothesis</em> to test, and the size of the study is determined by how accurately the investigator wants to determine the prevalence. If there is no <em>hypothesis</em>, then there is no <em>statistical</em> test. It is important to decide <em>a priori</em> which hypotheses are confirmatory (that is, are testing some presupposed relationship), and which are exploratory (are suggested by the data). No single study can support a whole series of <em>hypotheses</em>. A sensible plan is to limit severely the number of confirmatory hypotheses. Although it is valid to use statistical tests on <em>hypotheses</em> suggested by the data, the <strong>P</strong> values should be used only as guidelines, and the results treated as tentative until confirmed by subsequent studies. A useful guide is to use a <strong>Bonferroni correction</strong>, which states simply that if one is testing <strong><em>n</em></strong> <em>independent hypotheses</em>, one should use a significance level of <strong>0.05/n</strong>. Thus if there were <em>two independent hypotheses</em> a result would be declared significant only if <strong>P</strong>&lt;<strong>0.025</strong>. Note that, since tests are rarely independent, this is a very conservative procedure — i.e. one that is unlikely to reject the <strong><em>null</em></strong> <em>hypothesis</em>. The investigator should then ask “<strong>Are the data independent</strong>?” This can be difficult to decide but as a <em>rule of thumb</em> results on the same individual, or from matched individuals, are not independent. Thus results from a crossover trial, or from a case-control study in which the controls were matched to the cases by age, sex and social class, are not independent.</p><p><em>Analysis should reflect the design, and so a matched design should be followed by a matched analysis</em><br><em>Results measured over time require special care. One of the most common mistakes in statistical analysis is to treat correlated variables as if they were independent.</em></p><blockquote><strong>What types of data are to be measured?</strong></blockquote><p>The choice of test for matched or paired data is described in Table 1 and for independent data in Table 2.</p><blockquote><strong>Table 1: Choice of statistical test from paired or matched observation</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/345/1*B_7Wg_b96aW7C24v_OOdow.png" /></figure><p>It is helpful to decide the input variables and the outcome variables. For example, in a clinical trial the input variable is the type of treatment — a nominal variable — and the outcome may be some clinical measure perhaps Normally distributed. The required test is then the <em>t</em>-test (Table 2). However, if the input variable is continuous, say a clinical score, and the outcome is nominal, say cured or not cured, logistic regression is the required analysis. A t-test in this case may help but would not give us what we require, namely the probability of a cure for a given value of the clinical score. As another example, suppose we have a cross-sectional study in which we ask a random sample of people whether they think their general practitioner is doing a good job, on a five point scale, and we wish to ascertain whether women have a higher opinion of general practitioners than men have. The input variable is gender, which is nominal. The outcome variable is the five point ordinal scale. Each person’s opinion is independent of the others, so we have independent data. From Table 2 we should use a <strong>Chi-Square test</strong> for trend, or a <strong>Mann-Whitney U test</strong> with a correction for ties (N.B. a tie occurs where two or more values are the same, so there is no strictly increasing order of ranks — where this happens, one can average the ranks for tied values). Note, however, if some people share a general practitioner and others do not, then the data are not independent and a more sophisticated analysis is called for. Note that these tables should be considered as guides only, and each case should be considered on its merits.</p><blockquote><strong>Table 2: Choice of statistical test for independent observations</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*JuOr-hofXFhB_ArXlBHLiw.png" /></figure><p>If data is censored we perform <strong>Mann-Whitney</strong> or <strong>Log-rank test</strong>. The <strong>Kruskal-Wallis test</strong> is used for comparing ordinal or non-Normal variables for more than two groups, and is a generalisation of the Mann-Whitney U test. <strong>Analysis of Variance</strong> is a general technique, and one version (one way analysis of variance) is used to compare Normally distributed variables for more than two groups, and is the parametric equivalent of the <strong>Kruskal-Wallis</strong> test. If the outcome variable is the dependent variable, then provided the residuals (the differences between the observed values and the predicted responses from regression) are plausibly Normally distributed, then the distribution of the independent variable is not important. There are a number of more advanced techniques, such as <strong>Poisson</strong> regression, for dealing with these situations. However, they require certain assumptions and it is often easier to either dichotomise the outcome variable or treat it as continuous.</p><p>Parametric tests are those that make assumptions about the parameters of the population distribution from which the sample is drawn. This is often the assumption that the population data are normally distributed. Non-parametric tests are “distribution-free” and, as such, can be used for non-Normal variables. Table 3 shows the non-parametric equivalent of a number of parametric tests.</p><blockquote><strong>Table 3: Parametric and Non-parametric tests for comparing two or more groups</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/322/1*5q-sgrPxY7sbD2UrwK5cVw.png" /></figure><p><em>We see that Non-parametric tests are valid for both non-Normally distributed data and Normally distributed data, so why dont we use them all the time?</em></p><p>It would seem prudent to use non-parametric tests in all cases, which would save one the bother of testing for Normality. Parametric tests are preferred, however, for the following reasons:</p><p><strong>1.</strong> We are rarely interested in a significance test alone; we would like to say something about the population from which the samples came, and this is best done with estimates of parameters and confidence intervals.</p><p><strong>2</strong>. It is difficult to do flexible modelling with non-parametric tests, for example allowing for confounding factors using multiple regression.</p><p><strong>3.</strong> Parametric tests usually have more statistical power than their non-parametric equivalents. In other words, one is more likely to detect significant differences when they truly exist.</p><p>We will continue this discussion in Part 2 of this series, where we will discuss about the Parametric Tests in detail.</p><p><strong>Reference<br></strong>Campbell MJ and Swinscow TDV. Statistics at Square One 11th ed. Wiley-Blackwell</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e24cbbbe4321" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-owl/parametric-and-non-parametric-tests-for-comparing-two-or-more-groups-part-1-e24cbbbe4321">Parametric and Non-parametric tests for comparing two or more groups Part 1</a> was originally published in <a href="https://medium.com/the-owl">The Owl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Algorithmic Trading Strategies]]></title>
            <link>https://medium.com/the-owl/algorithmic-trading-strategies-5c3b9d6ab618?source=rss-bee62f6ef680------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c3b9d6ab618</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[stock-market]]></category>
            <category><![CDATA[moving-average]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[time-series-analysis]]></category>
            <dc:creator><![CDATA[Saumyadeepta Sen]]></dc:creator>
            <pubDate>Fri, 19 Jun 2020 08:34:22 GMT</pubDate>
            <atom:updated>2020-06-19T14:54:30.393Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*hMy40cJgfwl3Ixk06DENIw.jpeg" /><figcaption>Image source <a href="https://www.ccamonash.com.au/articles/2018/1/3/the-rise-of-algorithmic-trading">link</a></figcaption></figure><p>Algorithmic Trading aims to remove the human factor and instead follows pre-determined statistics based strategies that can be run 24/7 by computers with minimal oversight. Computers can offer multiple advantages over human traders. Firstly, they can stay active all day without sleep. They can also analyse data precisely and respond to changes in miliseconds. In short, they never factor emotions in their decisions. For this, investors have long since realised that machines can make excellent trading given that they are using the correct strategies.</p><p>Machine Learning and Artificial Intelligence stand to push Algorithmic tradings to new levels. Not only can more advanced strategies be employed and adapted in real time but also new techniques like Natural Language Processing of news articles can offer even more avenues for getting special insights into market movements.</p><blockquote><strong>Algorithmic Trading in Practice</strong></blockquote><p><strong>A trader must follow these simple trade criteria</strong>:</p><ol><li><em>Buy shares of a stock when its 30-day moving average goes above the 100-day moving average.</em></li><li><em>Sell shares of the stock when its 30-day moving average goes below the 100-day moving average.</em></li></ol><blockquote><strong>Now , What is Moving Average?</strong></blockquote><p>In statistics, a moving average is a calculation used to analyze data points by creating a series of averages of different subsets of the full data set. In finance, a moving average (MA) is a stock indicator that is commonly used in technical analysis. The reason for calculating the moving average of a stock is to help smooth out the price data by creating a constantly updated average price.<br>By calculating the moving average, the impacts of random, short-term fluctuations on the price of a stock over a specified time-frame are mitigated.</p><h4><strong>Now, lets dive into the code</strong></h4><blockquote><strong>Importing the required Libraries and reading the dataset</strong></blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7fbf28b24f6b35cb1bfd662c69f77a59/href">https://medium.com/media/7fbf28b24f6b35cb1bfd662c69f77a59/href</a></iframe><blockquote><strong>An overview of the dataset</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*_dUTuBrdptPscn90N6kJXA.png" /><figcaption>Coal-India Dataset</figcaption></figure><blockquote><strong>Cleaning and Visualization of the data</strong></blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/91b3f81118a225d1848faf6bfed51460/href">https://medium.com/media/91b3f81118a225d1848faf6bfed51460/href</a></iframe><p>We take the <strong>Prev. Close Price</strong> column because it describes the data best.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*DO_TTCcHvANLQGKrB0_G5Q.png" /></figure><blockquote><strong>Creating Moving Average window</strong></blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8ed39062c776c4bf32aae8f8947ccdae/href">https://medium.com/media/8ed39062c776c4bf32aae8f8947ccdae/href</a></iframe><p>In the above piece of code, we first created a 30-days MA window (lines 2–3) and then a 100-days MA window (lines 6–7).</p><blockquote><strong>Visualizing the results of Moving Average window</strong></blockquote><p>Our next step is to visualize the 30-days MA and 100-days MA window and the Prev. Close Price column to compare them.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/527a0f83eff25827b630a7fc73169ae3/href">https://medium.com/media/527a0f83eff25827b630a7fc73169ae3/href</a></iframe><p>We can now see the visualization:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*l9yQujHcOrBQEVDcjWZw0w.png" /></figure><blockquote><strong>Creating a dataframe to store the data</strong></blockquote><p>Here, we create a dataframe to store all the required data:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2559613c7c05f1dd34e87a5661276557/href">https://medium.com/media/2559613c7c05f1dd34e87a5661276557/href</a></iframe><blockquote><strong>Creating a buy and sell function</strong></blockquote><p>Here, we will create two functions buy and sell which will determine the positions of buying and selling shares. It will simply follow the trading criteria as mentioned above.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/62d94a173c7360f23ad27b7b879e4b13/href">https://medium.com/media/62d94a173c7360f23ad27b7b879e4b13/href</a></iframe><p>This will simply create a signal when it is suitable for a trader to buy and sell.</p><blockquote><strong>Visualizing the data with signals</strong></blockquote><p>Our final work is to visualize where a trader must buy or sell. For this we Store <strong>Buy</strong> and <strong>Sell</strong> into a variable. Then we visualize the required plot.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/752a71f2b8ac41f13f7d3632a8eb8722/href">https://medium.com/media/752a71f2b8ac41f13f7d3632a8eb8722/href</a></iframe><p><strong>Output:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*Ne8WhIytW5_6OYF77x24MQ.png" /></figure><p>The <strong>Green</strong> signals show where a trader must buy shares of<strong> Coal India</strong> and the <strong>Red</strong> signals show where a trader must sell the shares of Coal India so that the trader makes profit in the long run.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c3b9d6ab618" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-owl/algorithmic-trading-strategies-5c3b9d6ab618">Algorithmic Trading Strategies</a> was originally published in <a href="https://medium.com/the-owl">The Owl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PADMAN]]></title>
            <link>https://medium.com/@saumyadeeptasen/padman-3e817b92bc17?source=rss-bee62f6ef680------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e817b92bc17</guid>
            <dc:creator><![CDATA[Saumyadeepta Sen]]></dc:creator>
            <pubDate>Sat, 17 Feb 2018 06:18:51 GMT</pubDate>
            <atom:updated>2018-02-17T06:18:51.532Z</atom:updated>
            <content:encoded><![CDATA[<p>PADMAN</p><p>The best part of this film is that it creates awareness among the society. it teaches a society to develop in terms of all respect. it helps women in all aspoect of life. All the 3 main characters played a much important role in the film.</p><p><a href="https://www.prep.youth4work.com/Management/CAT-Test">CAT Exams - Practice Tests</a></p><p><a href="https://www.prep.youth4work.com/Management/CAT-Test">https://www.prep.youth4work.com/Management/CAT-Test</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e817b92bc17" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>