<?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 Vishnu Beji on Medium]]></title>
        <description><![CDATA[Stories by Vishnu Beji on Medium]]></description>
        <link>https://medium.com/@vishnubeji_69222?source=rss-2a4b95861e79------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*1WKZZwWQDA6-AxYSUoOgiA.jpeg</url>
            <title>Stories by Vishnu Beji on Medium</title>
            <link>https://medium.com/@vishnubeji_69222?source=rss-2a4b95861e79------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 18:17:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vishnubeji_69222/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[Long Short-Term Memory (LSTM) Networks: A Beginner’s Guide]]></title>
            <link>https://medium.com/@vishnubeji_69222/long-short-term-memory-lstm-networks-a-beginners-guide-501b170e35f0?source=rss-2a4b95861e79------2</link>
            <guid isPermaLink="false">https://medium.com/p/501b170e35f0</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[lstm]]></category>
            <dc:creator><![CDATA[Vishnu Beji]]></dc:creator>
            <pubDate>Wed, 01 Mar 2023 10:28:53 GMT</pubDate>
            <atom:updated>2023-03-01T10:28:53.395Z</atom:updated>
            <content:encoded><![CDATA[<p>Long Short-Term Memory (LSTM) networks are a type of neural network that are specifically designed to handle sequential data. They are commonly used in natural language processing, speech recognition, and other applications that require the processing of sequences of data. In this article, we will explore the basics of LSTM networks, including their structure, how they work, and some of the innovative applications that they have been used for.</p><h3>What are LSTMs?</h3><p>At their core, LSTM networks are a type of recurrent neural network (RNN) that is designed to overcome the limitations of traditional RNNs when dealing with long-term dependencies. Traditional RNNs are designed to take a single input and produce a single output. However, when dealing with sequences of data, such as words in a sentence or notes in a musical score, it is often necessary to remember information from earlier in the sequence to produce an accurate output. This is where LSTMs come in.</p><p>LSTMs use a unique architecture that allows them to selectively remember or forget information from earlier in the sequence, making them well-suited for tasks that require the processing of long sequences of data. At a high level, an LSTM network consists of three main components:</p><ul><li>The input gate</li><li>The forget gate</li><li>The output gate</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RTS3V9NWa3-T8vIZ9plhcg.jpeg" /></figure><h3>How do LSTMs work?</h3><p>Let’s take a closer look at each of these components and how they work together to process sequential data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4TsYS9TTc6U8xiD5IpSsZg.jpeg" /></figure><h4>The Input Gate</h4><p>The input gate of an LSTM network is responsible for deciding which information to let through to the next time step. It does this by taking the input at the current time step and multiplying it by a weight matrix, which produces a vector of values between 0 and 1. This vector represents how important each input feature is for the current time step.</p><h4>The Forget Gate</h4><p>The forget gate of an LSTM network is responsible for deciding which information to discard from the previous time step. It does this by taking the output of the previous time step and multiplying it by a weight matrix, which produces a vector of values between 0 and 1. This vector represents how important each piece of information from the previous time step is for the current time step.</p><h4>The Output Gate</h4><p>The output gate of an LSTM network is responsible for deciding which information to output at the current time step. It does this by taking the input at the current time step and the output of the previous time step, and multiplying them by a weight matrix, which produces a vector of values between 0 and 1. This vector represents how important each input feature and output feature is for the current time step.</p><p>We will go in depth about these gates in the next article!</p><h3>Innovative Applications of LSTMs</h3><p>LSTMs have been used in a variety of innovative applications, including natural language processing, speech recognition, and even the generation of music. One of the most notable applications of LSTMs is in natural language processing, where they have been used to generate human-like text. For example, OpenAI’s GPT-3 language model, which uses a variant of LSTM called Transformer, can generate coherent and convincing text in a variety of styles and contexts.</p><p>LSTMs have also been used in speech recognition, where they have achieved state-of-the-art results. For example, Google’s speech recognition system uses LSTM networks to recognize spoken words with high accuracy, enabling users to interact with devices through voice commands.</p><p>Finally, LSTMs have even been used in the field of music generation, where they have been used to generate original pieces of music. For example, researchers have developed LSTM models that can generate Bach-like music by analyzing patterns in Bach’s compositions and using those patterns to create new musical sequences. Another application of LSTMs is in speech recognition, where they have been used to recognize and transcribe spoken language with high accuracy. In the field of natural language processing, LSTMs have been used to generate coherent and grammatically correct text, as well as to classify text into different categories such as sentiment analysis. These are just a few examples of the exciting ways in which LSTMs are being used to advance machine learning and enable machines to process and understand complex sequences of data.</p><p>Long Short-Term Memory (LSTM) networks are a powerful and versatile type of neural network that can handle sequential data with high accuracy. Their ability to selectively remember or forget information from earlier in a sequence makes them well-suited for a variety of innovative applications, including natural language processing, speech recognition, and music generation. As the field of machine learning continues to advance, LSTMs are likely to play an increasingly important role in enabling machines to process and understand the complex sequences of data that are central to many applications. Whether you are a beginner or an experienced machine learning researcher, understanding the basics of LSTMs is an important step towards mastering this exciting and rapidly evolving field.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=501b170e35f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Chinese media narratives are often divergent from the facts]]></title>
            <link>https://medium.com/@vishnubeji_69222/how-chinese-media-narratives-are-often-divergent-from-the-facts-3a41590c606f?source=rss-2a4b95861e79------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a41590c606f</guid>
            <category><![CDATA[medium]]></category>
            <category><![CDATA[nytimes]]></category>
            <category><![CDATA[usa]]></category>
            <category><![CDATA[china]]></category>
            <dc:creator><![CDATA[Vishnu Beji]]></dc:creator>
            <pubDate>Sun, 24 Nov 2019 17:33:48 GMT</pubDate>
            <atom:updated>2019-11-24T17:35:20.128Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jeLhBpucMieej9Bm9eqfnw.jpeg" /></figure><p>China being one of the world’s biggest economies has always found its way into the global mass media, even though they have been skeptical about controlling the information flow in and out. Despite this, the Chinese media has had a widespread influence within the country from the beginning of the 20th century. What is confounding is the fact that given the scale and market for news sources, the Chinese government has still been able to have censorship favorable to the state, decimate opposing views, and promulgate propaganda through controlled state-run newspapers and other media.<strong> </strong>An informed analysis of the Chinese newspapers will have to be based on their split up of commercial content and propaganda content.</p><p>To understand better let me summarize Chinese media sources in a few lines.<strong> People’s Daily</strong>, the official newspaper of the <strong>Chinese Communist Party</strong>(CCP) is the largest newspaper group in China. This English newspaper provides direct information on the policies and stances taken by the party. <strong>South China Morning Post</strong> (SCMP) is a Hong Kong newspaper that is currently owned by the Alibaba group. SCMP not being a state-run paper, enjoys a bit more freedom with their content and is known to have had articles critical of the government. <strong>Global Times</strong> is a tabloid daily, sponsored by People’s Daily focusing on international issues from a nationalist perspective. Global Times has a clearly anti-U.S view, as can be seen from the way they highlight the failures of USA.</p><h3><strong>Tech-Giants caught up amidst Hong Kong-China crossfire</strong></h3><p><em>Oct 1st week, 2019</em></p><p>Pre-withdrawal, CCP’s mouthpiece <strong>People’s Daily</strong> reported Apple’s approval of the app in the first place as:</p><blockquote><em>“Letting poisonous software have its way is a betrayal of the Chinese people’s feelings</em>.”</blockquote><p>Phrases like <em>“Apple: an accomplice to rioters”</em>, <em>“Apple’s ill intentions”</em> etc were being excessively used. They had a very clear nationalistic viewpoint, whereby claims were made on how foreign companies fail to recognize the sentiments of the Chinese nation. The news reportings were quite dramatic to adhere with the idea of instigating nationalism into the Chinese youth by leveraging anti-western, anti-colonial sentiments. The real intentions might not be eliminating Apple from Chinese market as Apple is pretty much aligned with China’s trade policies and their local workforce is crucial to Chinese employment. If China wanted to remove Apple, they could have easily done so considering the on-going Trade War.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iVVp8CiF6UjwMVNcSOnKSw.jpeg" /><figcaption>An Apple store in a shopping mall in Hong Kong</figcaption></figure><p>Apple wasn’t the only company that was obsequious to China for their personal gains. Activision Blizzard, an american video game company banned Chung “<em>Blitzchung</em>” Ng Wai for expressing solidarity with the Hong Kong protesters after he won a gaming tournament in Taipei, leading to mass media outrage outside China. While People’s Daily chose to completely ignore the topic, SCMP being a Hong Kong based newspaper which also falls under the Chinese censorship filter, takes a diplomatic stance. They discuss over the matter from Blizzard’s side as well as from Chung’s, certainly giving both a round of justification. All newspapers outside China such as NewYork Times, Taipei Times, The Hindu etc expressed their dismay over the American company’s move with a collection of rants made by diplomats and gamers from the world over. They made sure the company felt disgraced for acting repressively upon any form of call for freedom.</p><h3><strong>Solomon Islands switch alliance from Taiwan to China</strong></h3><p>Sept 3rd week, 2019</p><p>In a recent turnout of events, the Solomon Islands decided to break diplomatic relations with Taiwan and establish official ties with China. The news was hailed by the Chinese govt and <strong><em>SCMP</em></strong> reports the pacific nation has recognised the one-China principle where Beijing’s sovereignty covers Taiwan. Interestingly it sheds light on how Taiwan has criticised Beijing for poaching its former ally by promising to bankroll infrastructure projects in the country.</p><p>The narrative by <strong>Global Times</strong> is contemptuous as usual, by representing Taiwan as a failed state. The article talks about how more countries are severing ties with Taiwan during Tsai Ing-wen’s presidential term than ever before and ridicules her for record number of broken diplomatic relations. Further all Chinese news sources including People’s Daily have portrayed the decision as a major step towards blooming relations between the countries and a boost for Solomon Islands’ economy. The news is conveyed in a way that emphasis lies on how China was the only way out for Solomon Islands. The subtle brag on China’s power can be seen as an attempt to restore people’s faith in the government.</p><p>With a countering narrative,<strong><em> NY Times</em></strong> turns attention towards the statement made by Taiwan’s Ministry of Foreign Affairs, where he accused China of bribing Solomon’s politicians <a href="https://www.nytimes.com/2019/03/20/world/asia/taiwan-south-pacific-tsai-ing-wen-china.html?module=inline">to abandon Taipei</a> in the run-up to the 70th anniversary of China. United States’ critical view of the issue is partially explained by its arch-rivalry towards China, and by the geopolitical significance of Solomon Islands which is located directly between Australia and the U.S.(also a site of fierce battles during World War II) as per the article by <strong>The Hindu</strong>.</p><p>The outcry by the Taiwanese govt on the issue can be distinctly noted in the article by <strong><em>Taipei Times </em></strong>, by focusing on US’s disappointment in the diplomatic move, rather than their own. The part where the newspaper highlights isolated protests in Solomon Islands against Chinese govt, a detail missed by most newspapers shows how desperate Taiwan is to prevent Taiwanese sovereignty from collapsing under the Chinese regime.</p><h3><strong>Peter Dutton’s accusation on Chinese Communist Party</strong></h3><p><em>Oct 12th, 2019</em></p><p>Australian Home Affairs Minister Peter Dutton warned the CCP that he would “<em>call out</em>” foreign interference in universities, IP thefts and cyber hacks done by CCP. The Chinese embassy issued a statement rejecting the “<em>irrational accusation</em>” and called it “<em>shocking and baseless</em>”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*aJO3WjUq9DZGNMDNydXEdg.jpeg" /></figure><p>In the report on the issue, <strong>Global Times </strong>and<strong> People’s Daily</strong> suggests that Dutton being an Australian right-wing politician, would likely be influenced by the distastes of Washington leading to such accusations. Australia and China have never had historical or maritime disputes before and never did Australia have an anti-China view. Global Times views that Dutton’s political interests of pandering to the US is putting Australia’s national interest at stake. Their stand is quite clear- China has no issues with Australia and they would not want to ruin their relations based on accusations made by a single politician. But they make no statements about the cyber attack on Australian National Parliament, which Australian intelligence traced back to China.</p><p><strong>NY Times</strong> rather than focusing on the character sketch of Dutton, digs into recent cyber attacks on the Australian Parliament as well as the skepticism on Australian National University being a target, posing a threat on research and students. Overseas students are worth A$35 billion annually, and the bilateral trade with China is about A$180 billion annually. Although refraining from public criticism of China was something Australian lawmakers did to improve relationship, Dutton felt threatened by China’s growing power and came up with spontaneous criticism. NY Times report had a much more logical conclusion that Global Time’s politically soaked story line.</p><h3><strong>USA restricts Visas for Chinese officials over suppression of Uighurs</strong></h3><p><em>Oct 8th, 2019</em></p><p>On 8th Oct 2019, US secretary of state, Mike Pompeo made an announcement to restrict Visas for Chinese state officials citing the brutal suppression and mass internment of Uighurs and other Muslim minorities in the Xinjiang province. The news led to an extremely contrasting set of opinions, inside and outside China. The news reported by NY Times, Guardian, The Hindu and Taipei Times were all fact based, whereas the news from inside China, was shaped according to the whims of the Chinese Congress Party and it was made to look like mere allegations. Guardian emphasizes on Pompeo’s statement “<em>the campaign to erase religion</em>” — a strong usage of words to convey the emergency of the situation. The portrayal of Xinjiang in articles by newspapers outside was that of severe oppression, massive violation of privacy with extensive surveillance, mass detentions and subhuman treatment in internment camps.</p><p>The Chinese media was in complete denial of the situation. In an article dated 25th Sept 2019, <strong>People’s Daily</strong> replied to Mike Pompeo’s remarks on Xinjiang humanitarian crisis by calling his remarks as ridiculous and irresponsible. The article was a total debacle comprising of self-victimization and claims that all the statements made were false accusations. It uses whataboutism to point to the US invasion of Iraq, practices at Guantanamo Bay and other unrelated events, in an attempt to tarnish the image of the US. As per the newspaper, terrorism levels in the region has gone down drastically due to the “<em>training centers</em>” and said that Washington does not have the right to intervene in China’s internal matters. What is startling here is that the whole article’s tone was that of a verbal statement of reply by a Chinese diplomat to the US government than an article in the nation’s most read newspaper. <strong>SCMP</strong> on the other hand released the footage Uighur woman who was detained in an internment camp in Xinjiang explaining the torture she underwent to US lawmakers. Its article does not carry any views or opinions, but acts as a mere collection of facts. It remains diplomatic and talks about how US made allegations on China, and in a different article explains how China replied to it calling them all “<em>lies</em>”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*FYe9GalAPJFYQdhQdNneBQ.jpeg" /></figure><p>An opinion in People’s Daily eventually makes it to <strong>Global Times</strong>, and this particular Global Times article was a much more interesting example of state-run media bias. The article attempts at reflecting how the US visa restriction will have very little impact, and portrays Xinjiang as a province blooming with opportunities and citizens living harmoniously using photographs of happy citizens from Kashgar region, carefully tailored to fit in the plot. The issue of human rights was just part of “<em>America’s anti-China agenda</em>” according to the Global Times. Forceful religious cleansing and detention in internment camps were nowhere mentioned. As deceptive as it gets, China calls these detention camps as “<em>vocational education and training centers</em>”. This leads us to the question whether the majority of Chinese citizens blindly believe the story painted by the party or in spite of knowing the facts are just too nationalistic to respond.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a41590c606f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>