<?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 Phoo Pyae Pyae Linn on Medium]]></title>
        <description><![CDATA[Stories by Phoo Pyae Pyae Linn on Medium]]></description>
        <link>https://medium.com/@linnphoopyaepyae?source=rss-82562b48e33d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*7052tMa3cg5Dp_XhoO842Q.jpeg</url>
            <title>Stories by Phoo Pyae Pyae Linn on Medium</title>
            <link>https://medium.com/@linnphoopyaepyae?source=rss-82562b48e33d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 07:57:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@linnphoopyaepyae/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[Machine Learning in a nutshell]]></title>
            <link>https://medium.com/ai-leap/machine-learning-in-a-nutshell-e13e49923cb8?source=rss-82562b48e33d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e13e49923cb8</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Phoo Pyae Pyae Linn]]></dc:creator>
            <pubDate>Sun, 19 Sep 2021 10:53:20 GMT</pubDate>
            <atom:updated>2021-09-19T10:53:20.014Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*xP_N-vjJRosXRzCY.jpg" /></figure><p>Before we talk about machine learning, we better talk about Artificial Intelligence first. If we say the term AI, some people will see AI as a robot, or a machine that works and behaves similarly to humans. If you have watched these movies: <a href="https://www.imdb.com/title/tt0070909/">Westworld</a>, <a href="https://www.imdb.com/title/tt0133093/">The Matrix</a>, <a href="https://www.imdb.com/title/tt0910970/">Wall-E</a>, <a href="https://www.imdb.com/title/tt1823672/">Chappie</a>, you will get some ideas on AI.</p><blockquote>Artificial Intelligence is exactly the simulation of human intelligence process by machines, especially by computer process or system. Expert systems, natural language processing, speech recognition, computer vision and machine learning are applications of AI.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e-c6kdz0O69mDMiKP0k2Qw.png" /></figure><p>There are three different types of AI: Artificial Narrow Intelligence (ANI), Artificial General Intelligence (AGI), and Artificial Super Intelligence (ASI).</p><p><strong>Weak AI (ANI)</strong> is programmed to perform a single task. For example, checking the weather, being able to play chess, or analyzing raw data to write journalistic reports.</p><p><strong>Strong AI (AGI)</strong> can successfully perform any intellectual task that a human being can. It has the abilities to reason, solve problems, make judgments under uncertainty, plan, learn, integrate prior knowledge in decision-making, and be innovative, imaginative, and creative.</p><p><strong>Super AI (ASI)</strong> will surpass human intelligence in all aspects from creativity, to general wisdom, to problem-solving.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/459/1*MvQzYLCtZXbXY3gH2wMj2g.png" /></figure><p><a href="https://research.aimultiple.com/artificial-general-intelligence-singularity-timing/">According to the survey results, experts are estimating that there’s a <strong>50% chance that AGI will occur until 2060</strong>.</a></p><p>AI is useful in a variety of industries like healthcare, retails, banking and finance, agriculture, and manufacturing.</p><p>Now then, let me explain briefly its applications.</p><h4><strong>Expert system</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/378/1*O--YIqll8xvI3rjLBGXyRg.png" /></figure><p>An <strong>expert system</strong> is a computer system that emulates the decision-making ability of a human expert.</p><p><strong>Application Scenarios</strong></p><p>Design Domain, Medical Domain, Monitoring System, Process Control System, Knowledge Domain, Finance/Commerce</p><h4>Natural Language Processing (NLP)</h4><p><strong>NLP </strong>helps computers understand, interpret and manipulate human language. NLP draws from many disciplines, including computer science and computational linguistics, in its pursuit to fill the gap between human communication and computer understanding.</p><p><strong>Applications</strong></p><ul><li><strong>Language translation applications</strong> such as Google Translate</li><li><strong>Word Processors</strong> such as Microsoft Word and Grammarly employ NLP to check the grammatical accuracy of texts.</li><li><strong>Interactive Voice Response (IVR) applications </strong>are<strong> </strong>used in call centers to respond to certain users’ requests.</li><li><strong>Personal assistant applications</strong> such as OK Google, Siri, Cortana, and Alexa.</li></ul><h4>Automated Speech Recognition</h4><p><strong>ASR </strong>allows human beings to use their voices to speak with a computer interface in a way that, in its most sophisticated variations, resembles normal human conversation.</p><h4>Computer Vision</h4><p><strong>CV</strong> interprets and understands the visual world. Using digital images from cameras and videos and deep learning models, machines can accurately identify and classify objects. Object detection, face recognition, Optical Character Recognition (OCR) are parts of computer vision.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*alIvGM2LqOaWNRDYJKTmHQ.gif" /><figcaption>Object Detection</figcaption></figure><p>That’s enough about AI.</p><p>Let’s jump to Machine Learning.</p><h3>What exactly Machine learning is</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*roNLuosGQjia4Iqwv-kOwA.png" /><figcaption>Machine learning</figcaption></figure><blockquote>Machine learning is an application of artificial intelligence (AI) that provides systems the ability to automatically learn and improve from experience without being explicitly programmed. <strong>Machine learning focuses on the development of computer programs</strong> that can access data and use it learn for themselves.</blockquote><p>If we talk about Machine learning or AI, the most important factor is Data. Data can be collected anywhere every day. The reason behind AI/ML has become more popular today is increased data volumes, advanced algorithms, and improvements in computing power and storage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zB2SD9jvijozcAHvV_dK2Q.png" /></figure><blockquote>Imagine that you show a cat picture to a baby, how a baby can know what exactly that animal is. As human nature, we observe, learn and use the skill that we know to classify the objects like cats.</blockquote><p>The machine also does the same as human, the data, cat, is prepared and fed to a machine learning model as input and it learns the features like body size, ears, eyes, paws, from the input data, then the model predicts the object or here, a cat label. To know the output, we have to teach the model, what we called training the machine learning model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XQ6Z1bnE7qqCauw__Z2sIg.png" /></figure><p>There are three main methods of machine learning: Supervised Learning, Unsupervised Learning, and Reinforcement Learning. Here, we call the data what we will be training as <strong>features</strong>, and the output/result that we would like to get is called <strong>target</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/359/1*5tGDgygo2Pg7tcWsAZG83Q.png" /></figure><p><strong><em>In supervised learning</em></strong><em>, features are given with labels and the model knows what classes to be output on known data. On the other hand, it can make predictions for unknown data that we obtain later in the future. Classification and Regression fall into supervised learning.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*DHsdB3cMA7xysR7-R1cgVg.png" /></figure><p><strong><em>In unsupervised learning</em></strong><em>, features are given without labels, and the model does not have known results. It identifies patterns in the data and helps humans make decisions. Clustering and Dimensionality Reduction fall into unsupervised learning.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jBlpmd5QXWa2olTrihWdeA.png" /></figure><p><strong><em>In reinforcement learning</em></strong><em>, the algorithm or agent learns from the environment by interacting with it. RL is closest to how a human learns. Based on the actions, rewards, positive or negative is given to the agent.</em></p><p>Cool, I believe you are clear about what machine learning is. We are not diving deeper into this article. Despite that, I want to show the general process flow of machine learning which is useful in most scenarios.</p><p><strong>The 7 Steps of Machine Learning</strong></p><ol><li><strong>Data Collection</strong> — This step is the core if you do machine learning. Without data, we can do nothing. Like I explained earlier, there are a variety of sources that we can collect data, for example, websites, social media, your organization, or your company. You will later understand that the data sometimes can be collected ourselves, sometimes use public or request published dataset.</li><li><strong>Data Preparation</strong> — We have to wrangle and prepare data to the format that we want. We do some processes in a single step like data cleansing, data transformation, also splitting the dataset into training, validation, and testing to get ready for machine learning model training.</li><li><strong>Choose a Model</strong> — Choose the model that is suitable for our business scenarios. There is no right or wrong answer for choosing the best model. But, we can figure out the pros and cons of each model, which will support choosing the model.</li><li><strong>Train the Model </strong>— Once the model has been chosen or decided, we feed the prepared training dataset to the model, and the model starts learning the features of them, what we called model training.</li><li><strong>Evaluate the Model</strong> — After the model is trained on the training dataset, it is required to validate or evaluate the performance of the model on the validation dataset whether it predicts the targets correctly or not.</li><li><strong>Parameter Tuning</strong> — We cannot assure that the model will be good enough for the first time training. It requires hyper-parameter tuning, which searches or choosing the optimal parameters, till it meets our predefined accuracy or precision score.</li><li><strong>Make Predictions</strong> — To assure the model&#39;s accuracy, the model has to be tested on unknown or unseen data, what we call a testing dataset, which has never been seen by the model before. You can assume that data is excluded on both the training and validation datasets.</li></ol><p>Hope this makes you understand machine learning and its process steps which is quite useful when you want to start learning machine learning.</p><p>Feel free to check out our LinkedIn Page, <a href="https://www.linkedin.com/company/ai-leap">https://www.linkedin.com/company/ai-leap</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e13e49923cb8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ai-leap/machine-learning-in-a-nutshell-e13e49923cb8">Machine Learning in a nutshell</a> was originally published in <a href="https://medium.com/ai-leap">AI Leap</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[90s-Kids Movies Recommender System]]></title>
            <link>https://medium.com/ai-leap/90s-kids-movies-recommender-system-4eef785c261e?source=rss-82562b48e33d------2</link>
            <guid isPermaLink="false">https://medium.com/p/4eef785c261e</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[recommender-systems]]></category>
            <category><![CDATA[movies]]></category>
            <dc:creator><![CDATA[Phoo Pyae Pyae Linn]]></dc:creator>
            <pubDate>Fri, 30 Jul 2021 16:12:56 GMT</pubDate>
            <atom:updated>2021-07-30T16:12:56.324Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vR4lrVRPVQfvoZB8PPrNgQ.png" /></figure><p>This time I am going to build a recommender system for movies that are popular among the 90s born people. Let me ask you something before we dive into the recommender system.</p><blockquote>How do you usually decide which movies you are going to watch or which restaurants you are going to with your friends or family?</blockquote><p>I believe you might ask for someone else’s suggestions and sometimes might search on the internet to make a good choice. Let me explain with two use cases.</p><p>[Case 1] We literally search for the ratings of restaurants before trying out a new restaurant like how the reviews look. Right? That is why the ratings are quite important if we would like to make a recommendation for users.</p><blockquote>Okay! What about when we do not find enough ratings for what we are looking for?</blockquote><p>[Case 2] We usually look for restaurants based on what we like. For example, if I like to eat Pizza, I am going to find restaurants where I can get Pizza. If I love restaurants where I can listen to unplugged music, I am going to find the one where I can get a <strong>similar </strong>vibe, a similar restaurant.</p><blockquote>I assume you may understand the cases mentioned above. Let me make it more clear mapping the cases with the types of the recommendation.</blockquote><p>When we are making a recommendation system, we should consider the same. There are three different types of recommendation: Collaborative filtering, Content-based, and hybrid methods.</p><p>The collaborative filtering method uses the matrix of users, and their preference items (user-item-matrix). Then, we match the users with relevant interests and calculate the similarity between their profiles, and make a recommendation. The one with the most similar interests is recommended. (Similar to Case 1)</p><p>The content-based method analyzes the user profiles based on the contents by extracting the features of the content. We find the contents similar to the contents that the user has already liked. The most similar contents are recommended. (Similar to Case 2)</p><p>I hope you understand the general idea of recommendation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*7hT9SQ1cVPCAKfZtQJSOGg.gif" /></figure><p>Okay! I am going to explain how we can build a recommender system using <strong>collaborative filtering </strong>and <strong>content-based </strong>methods. We are going to make a movie recommender system for the 90s-kids as I mentioned earlier. We can also use this recommender and recommend to younger generations the movies that 90s kids used to enjoy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H-ToVioxjPpoUH0HeHFUxw.png" /><figcaption>Methods of recommendation</figcaption></figure><h3>Let’s dive in…</h3><p>We are going to use MovieLens Dataset which has the following data :</p><p><em>user id, movie id, movie title, rating, tags, relevance, timestamp, and so on.</em></p><p>Let’s see how the data look like. It is required to understand the data before we have worked on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*17rSve-_oMUGMI1S-HziFg.png" /></figure><p>The average of rating values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*fEqrN-CH1VIPLyK2EiqVTw.png" /></figure><p>Average rating of each movie.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*kF42-EmHpHlIH-PsIBlK6A.png" /></figure><p>The genres which got the most rated in the dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/1*gpstImovu1qVcJVEnZr6IA.png" /><figcaption>The most rated genres</figcaption></figure><p>Data Preprocessing is also crucial for a recommender system as most of the data that we can able to get are not always ready to use. For data preprocessing, please check more on the notebook file.</p><h3>Content-based Recommendation</h3><p>In this work, <strong>‘tag’</strong> is the main feature used and we are going to find the most relevant ‘<strong>tag’ </strong>and extract the features of the tag content. There are clean tags with relevancy scoring. That makes it easier to get the most relevant tags for the movie.</p><p>Then, we need to preprocess it so that the tags are all concatenated into one feature as below. Then, we build a dataframe with movieId, title, genres, and tags as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*lk-OEduCzbVkoytHnO66Tw.png" /><figcaption>Dataframe with movieId, title, genres, and tags</figcaption></figure><p>For feature extraction, <a href="http://scikit-learn.org/stable/modules/generated/sklearn.feature_extraction.text.TfidfVectorizer.html">TF-IDF</a> is used to understand how the importance of the word in the tags by looking at how many times a word appears in a movie tag while paying attention to the same word that appears in another movie tag.</p><pre>vectorizer = TfidfVectorizer(analyzer=&#39;word&#39;,ngram_range=(1, 2),min_df=1)</pre><pre>x = vectorizer.fit_transform(df_movies_with_tags[&#39;genres&#39;] + df_movies_with_tags[&#39;tag&#39;])</pre><p>We can check the scores of each tag.</p><pre>#checkout TF-IDF scores of tags</pre><pre>df = pd.DataFrame(x[0].T.todense(), index=vectorizer.get_feature_names(), columns=[&quot;TF-IDF&quot;])</pre><pre>df = df.sort_values(&#39;TF-IDF&#39;, ascending=False)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/304/1*a7IWV8qiCadivIvKU-vAHA.png" /><figcaption>TF-IDF scores of each genre</figcaption></figure><p>Once, we get the Tf_IDF score, we measure the similarity between two vectors using <a href="https://scikit-learn.org/stable/modules/generated/sklearn.metrics.pairwise.sigmoid_kernel.html">Sigmoid Kernel</a>.</p><pre>tag_genre_model = sigmoid_kernel(x, x)</pre><p>After we have calculated the similarity, we can start to find the movie recommendation. Before going straight to the recommendation function, we need to write some helper functions.</p><p>Find similar movies by movieId.</p><pre>#find similar movies by movieId</pre><pre><strong>def</strong> get_similar_movies(movieId, n):<br>  scores = []<br>  scores = list(enumerate(tag_genre_model[movieId_dict[movieId]]))<br>  scores.sort(key=lambda x: x[1], reverse=True)</pre><pre>return list(map(lambda x: (id_movieId_dict[x[0]], x[1]),<br>    scores[1: n + 1]))</pre><p>Find movie title by movieId.</p><pre>#find movie title by movieId</pre><pre><strong>def</strong> get_movie_titles(movieIds):<br>  movie_titles = []<br>  for movieId in movieIds:<br>    if movieId in movie_dict:<br>      movie_titles.append(movie_dict[movieId])</pre><pre>return movie_titles</pre><p>We pick <strong>Spider-Man(2002)</strong> as an example movie to find similar movies. Here is what we got.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/251/1*0zHNBJ0Wa9tp2kRpri5g4Q.png" /><figcaption>Similar movies to Spider-Man (2002)</figcaption></figure><p>Find movies that have been watched by userId.</p><pre><strong>def</strong> get_movies(userid):<br>  movie_titles = []<br>  movie_ids = set(df_ratings[df_ratings[&#39;userId&#39;] == userid]<br>    .sort_values(&#39;rating&#39;, ascending = False)[&#39;movieId&#39;].tolist())</pre><pre>return movie_ids</pre><p>At last, we can create a recommender function for a specific user. The function takes userId and the number of recommendations we wish to make as input and returns the movie titles that we recommended.</p><pre><strong>def</strong> recommendation(userid, m=10):</pre><pre>similar_movies = []<br>  watched_movie_ids = get_movies(userid)</pre><pre>for movie in watched_movie_ids:<br>    movies = get_similar_movies(movie, 5)<br>    similar_movies.extend(movies)</pre><pre>similar_movies = sorted(similar_movies,<br>    key = lambda x : x[1], reverse = True)</pre><pre>similar_movie_ids, similarity_scores = list(zip(*similar_movies))</pre><pre>similar_movie_ids = [movie for movie in similar_movie_ids<br>    if movie not in watched_movie_ids]</pre><pre>similar_movie_ids = set(similar_movie_ids)</pre><pre>return get_movie_titles(list(similar_movie_ids)[:m])</pre><p>Let’s make a recommendation for userId — <strong>755 </strong>who has watched the following movies:</p><p>‘Toy Story (1995)’, ‘Jumanji (1995)’, ‘Grumpier Old Men (1995)’, ‘Beyond the Valley of the Dolls (1970)’, ‘Hiroshima Mon Amour (1959)’, ‘Heat (1995)’, ‘Sabrina (1995)’, ‘Father of the Bride Part II (1995)’, ‘GoldenEye (1995)’, ‘American President, The (1995)’, ‘Dracula: Dead and Loving It (1995)’, ‘Nixon (1995)’</p><p>The <strong>top 10 recommended movies</strong> for userId — <strong>755 </strong>are the following:</p><ol><li>Batman Begins (2005)</li><li>Leviathan (1989)</li><li>No Country for Old Men (2007)’</li><li>Schindler’s List (1993)</li><li>Casino (1995)</li><li>Cutthroat Island (1995)</li><li>Following (1998)</li><li>City of Lost Children, The (Cité des enfants perdus, La) (1995)</li><li>Captain Phillips (2013)’, ‘First Time, The (2012)’</li></ol><p>Okay, cool! That is the end of the Content-based recommendation system. Are you tired to read now? If you just want to know about the content-based one, you can skip the rest topic.</p><h3>Collaborative-Filtering based Recommendation</h3><p>For collaborative filtering, it is important to create a user-item matrix that takes the dataframe with userId, movieId, and rating as input and returns the matrix.</p><pre>def create_user_movie_ratings_matrix(df):</pre><pre>user_movie_ratings_matrix =<br>    df.groupby(by = [&#39;userId&#39;,&#39;movieId&#39;])   [&#39;rating&#39;]<br>      .max().unstack().fillna(0)</pre><pre>return user_movie_ratings_matrix.astype(float)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QZECXMCL6NRecws1ycxFeA.png" /><figcaption>user-item-matrix</figcaption></figure><p>We are going to use the rating of the movie given by each user to find the similarity between the two users. There are two different methods for collaborative filtering: Neighborhood-based and Model-based.</p><p>We are going to focus on Neighborhood-based. In this method, there exist Similarity-based and Distance-based methods to get similar users or items.</p><p>We just use similarity-based on to calculate how similar the user interests are. The higher the similarity score, the more the user profiles are closed.</p><pre>#calculate the similarity score between two users</pre><pre><strong>def</strong> find_similarity(userId1, userId2, <br>  user_movie_ratings_matrix=user_movie_ratings_matrix):</pre><pre>similarity = np.dot(user_movie_ratings_matrix.loc[userId1, :],<br>    user_movie_ratings_matrix.loc[userId2, :])</pre><pre>return similarity</pre><pre>#find similar users</pre><pre><strong>def</strong> get_similar_users(userId,<br>  user_movie_ratings_matrix=user_movie_ratings_matrix, m=10):</pre><pre>users = []</pre><pre>for i in user_movie_ratings_matrix.index:<br>    if i != userId:<br>      similarity = find_similarity(userId, i)<br>      users.append((i, similarity))</pre><pre>users.sort(key=lambda x: x[1], reverse=True)</pre><pre>return users[:m]</pre><p>This time, the recommendation is made on what movies did the similar users rated. If the user whom we recommend is you, we are going to recommend the movies that your friends liked.</p><pre><strong>def</strong> get_recommendations(userId, df_ratings=df_ratings_sample, m=10):</pre><pre>watched_movie_ids = get_movies(userId)</pre><pre>similar_users = get_similar_users(userId)</pre><pre>movies = []</pre><pre>for (uId, _) in similar_users:<br>    movies.extend(list(get_movies(uId)))<br>    movies = list(set(movies))<br>    movies = [movie for movie in movies if movie<br>      not in watched_movie_ids]</pre><pre>return get_movie_titles(movies[:m])</pre><p>We pick the same userId — <strong>138446 </strong>to compare the results with the first approach. (Content-based). The following are the recommended movies that we got.</p><ol><li>Waiting to Exhale (1995)</li><li>Tom and Huck (1995)</li><li>Sudden Death (1995)</li><li>Money Train (1995)</li><li>Assassins (1995)</li><li>Now and Then (1995)</li><li>Across the Sea of Time (1995)</li><li>It Takes Two (1995)</li><li>Cry, the Beloved Country (1995)</li><li>Guardian Angel (1994)</li></ol><p>What do you think about the results? What do you think which recommendation makes more accurate?</p><h3>Evaluations of Recommender System</h3><p>There is one more important fact of recommendation. The performance evaluation of recommendation cannot be decided only on error values like Mean Square Error(MSE) or Mean Absolute Error (MAE).</p><p>We better make online testing or <strong>AB testing</strong>, which is experimental research on two variants. For example, making two user groups like A and B. Then, recommend movies to Group A using content-based and Group B with collaborative. At last, compare the user satisfaction.</p><p>These approaches we made need optimization for sure.</p><h3>Further Improvement</h3><p>For content-based, we should also extract information of the actors, the directors that the users used to watch, and the movie release date. Currently, we don’t have these in our data. So, we need to find other datasets and join them. The more we can extract the useful features, the more accurate the recommendations will be.</p><p>For collaborative-based, we just used 1000 users in this work because of the limitation of computing power. We may probably get more similar users if we take an account the remaining data. We should investigate the performance of different users sampling. e.g., users who rated between 100–500 movies, 500–1000 movies, and more than 1000 movies.</p><p>At the same time, we should also consider the timestamp that the users watched the movies. So that, we can calculate the better similarity between each user and the similarity also accounts for the temporal feature.</p><blockquote>Building a Recommender System is more of an art than a technical challenge. I believe there needs to be a lot of research and improvements in this field of data science. And, I find it it’s really hard to measure the performance. We only get feedback after we have deployed to the production. It was a great experience.</blockquote><p>Thank you for reading this far!</p><p>You can get code here: <a href="https://github.com/AI-Leap/90s_kids_movie_recommender">https://github.com/AI-Leap/90s_kids_movie_recommender</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4eef785c261e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ai-leap/90s-kids-movies-recommender-system-4eef785c261e">90s-Kids Movies Recommender System</a> was originally published in <a href="https://medium.com/ai-leap">AI Leap</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Predicting the Rating of Netflix Movies]]></title>
            <link>https://medium.com/ai-leap/predicting-the-rating-of-netflix-movies-622062af6404?source=rss-82562b48e33d------2</link>
            <guid isPermaLink="false">https://medium.com/p/622062af6404</guid>
            <category><![CDATA[netflix]]></category>
            <category><![CDATA[recommendations]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Phoo Pyae Pyae Linn]]></dc:creator>
            <pubDate>Sat, 12 Jun 2021 09:19:00 GMT</pubDate>
            <atom:updated>2021-06-18T05:11:34.626Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ve7DNcfku1YQN5Hz7hoZdg.png" /></figure><p>Every people who like to watch movies know well about Netflix. Netflix has a wide variety of quality movies and series with different genres that fall under different categories.</p><blockquote>Movies make people relaxing and they can reduce stress through laughing.</blockquote><p>People used to watch movies based on their favorite movie genre, like Drama, Comedy, Action. Netflix certainly has multiple genres. I personally like Action and Comedy.</p><p>Let’s take a look at the following graph to see which genre of movie are the most showed on Netflix from 2015 to 2021.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*f4Ey_zKmZWjtKtVbY7Q3nw.jpeg" /></figure><p>According to the data, most of the movies showed on Netflix fall in the Drama genre and Comedy movies are in the second most shown list.</p><blockquote>So, what about the movie trend? Do the drama movies take the first place as the most showed genre in every year?</blockquote><blockquote>Think about the fashion trend, the movie trend is the same way.</blockquote><p>I used to like a horror movie when I was young, but I prefer comedy more now. Let’s see how it changed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*5nAw6eEyyLyBvdAPqqjHUQ.jpeg" /></figure><p>Drama and comedy are obviously the most published movie on Netflix. When you look at the graph carefully, we will see that the action movie trend on Netflix was higher than thriller movies from 2015 to 2019.</p><p>Starting from 2019, the thriller movie trend has been gradually higher than the action movie trend.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*-hnV9EYREjSpi5l5kBnWjQ.gif" /></figure><p>There is one thing important for people who like Netflix like me. That is searching for a good choice of movie.</p><blockquote>Even though Netflix has a strong recommendation engine, we sometimes struggle to search for a good choice of movie because of a lot of movies out there to watch.</blockquote><p><em>The hidden gem score of a movie will address such a problem as the hidden gem score is determined based on the quality of the movie contents</em>. That will lead to less time consuming on the searching movie. Let’s check the following graph.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*yEFp_gEkiQ5-UKsSbvazTQ.jpeg" /></figure><p>In these randomly picked movies, Spider-Man: Into the Spider-Verse has the highest rating. That is one of my favorite movies as well. 🕷</p><p>In this article, we find patterns and characteristics around the quality of movies using a <a href="https://www.kaggle.com/ashishgup/netflix-rotten-tomatoes-metacritic-imdb">Netflix movie dataset</a> from Kaggle.</p><p>The dataset contains information about the movie and its hidden gem score. It combines the data sourced by Netflix, Rotten Tomatoes, IMBD, posters, box office, trailers on YouTube, and more.</p><p>For further work, we can do a lot more than that like predicting the hidden gem score of the genre in upcoming years. Also, in which country, which genre of the movie will get a higher rank or which movie will be nominated to receive the award.</p><p>In my opinion, the recommendation system can also work together with hidden gem score to get a better movie recommendation on the individual’s favourite genre.</p><p>For more details :</p><p><a href="https://github.com/AI-Leap/netflix_hidden_gems_prediction">https://github.com/AI-Leap/netflix_hidden_gems_prediction</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=622062af6404" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ai-leap/predicting-the-rating-of-netflix-movies-622062af6404">Predicting the Rating of Netflix Movies</a> was originally published in <a href="https://medium.com/ai-leap">AI Leap</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I will work for community]]></title>
            <link>https://linnphoopyaepyae.medium.com/how-i-will-work-for-community-25d4ac263d2b?source=rss-82562b48e33d------2</link>
            <guid isPermaLink="false">https://medium.com/p/25d4ac263d2b</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[community]]></category>
            <dc:creator><![CDATA[Phoo Pyae Pyae Linn]]></dc:creator>
            <pubDate>Wed, 13 Jan 2021 15:10:38 GMT</pubDate>
            <atom:updated>2021-01-13T15:10:38.521Z</atom:updated>
            <content:encoded><![CDATA[<p>In late 2019, I jumped into Artificial Intelligence field, which was a great turn for me. At that time, I found out that only a few people worked in AI and AI hasn’t played an essential role in IT industry.</p><blockquote><strong>I believed that AI would be one of the most essential or most wanted technologies in near future.</strong></blockquote><p>After 10 months of researching in computer vision which is a major branch of AI, I wanted to help people who want to learn AI but do not know where to start. Thus, I started joining volunteer works. I shared what I have learnt and educated people how AI is going to change the world. My first step was for university students who were enthusiastic about AI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iQGcJA5R8_PxYj-8Our_MA.jpeg" /><figcaption>computer vision workshop at Pakokku city</figcaption></figure><p>In the beginning of 2020, I started working as an AI solution architect in a major cloud provider. Even I had a tight work schedule, I was always ready to work for community. In Myanmar’s AI industry, I found a place for me to contribute. In March, I cooperated with a Myanmar Community Group and joined as a core member. That was a great experience for me. My time slots were full of work and community matters. Although I was so tired, I couldn’t say “No”.</p><blockquote>That was my priority at that time and I thought that was my true happiness because I believed I was born for these responsibilities. I thought that was the meaning of my life.</blockquote><p>In September, I began to sense negative feelings, the emotions that were not welcomed. These all started because I accepted every request, every favor as my responsibilities. Other people’s plans, other people’s goals became mine. I didn’t notice that I have already slipped off my own path and walked on others’ paths. I wasn’t happy anymore.</p><blockquote><strong>Although I thought I was born for that, I lost my meaning of life. I lost myself and I lost my way slowly.</strong></blockquote><p>Since that time, the person who really loved to talk, changed into a silent one. The person who really liked to stay around people, started running away from the people. I couldn’t sleep well and I had same nightmares over and over again. Fortunately, someone woke me up of my nightmares.</p><h4>Let me share my thoughts about working for community and my beliefs about what community should do.</h4><p>Adding value to people should be the primary purpose of a community. I want to make an impact starting from a small network and then country and then for all living people. My first year, 2020, was targeted to expand the AI community and ignite the interests of the people. During that time, I met different people who had the same vision for this community. Some really invested the time and effort to society. Some worked as half community and half social business. Some considered community as completely social business. Today, there exists many communities of AI. That is a great change for our country. Hopefully, that would be helpful for this community.</p><blockquote>Community groups with clear missions and visions will stand longer than those without.</blockquote><p>The more you live in the society, the more you see what would happen. Whatever, for me, one year has passed working for community. That was a good start but that wasn’t the thing that I really wanted.</p><blockquote>So, in 2021, I have decided to change my desired plans which will really lead me to my vision. For this year, I will be doing my own desired way for adding value to a small network. Results and outcomes are the main focus of 2021. I may stay low profile, I may rarely show up in public. However, that doesn’t mean I leave, that doesn’t mean I take a break. That means I found a better way to make impacts that I have always desired. There are many ways to make a better world. From this day, I will do it in my own way.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25d4ac263d2b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>