<?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 Karan Joshi on Medium]]></title>
        <description><![CDATA[Stories by Karan Joshi on Medium]]></description>
        <link>https://medium.com/@karanjoshi1993?source=rss-5a601bee37ba------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*jjfd1BVypXLYq0Jn.jpg</url>
            <title>Stories by Karan Joshi on Medium</title>
            <link>https://medium.com/@karanjoshi1993?source=rss-5a601bee37ba------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 18:53:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@karanjoshi1993/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[States of the art: managing states and mutiple callflows ai backend IVR]]></title>
            <link>https://karanjoshi1993.medium.com/states-of-the-art-managing-states-and-mutiple-callflows-ai-backend-ivr-68e1dceae4c8?source=rss-5a601bee37ba------2</link>
            <guid isPermaLink="false">https://medium.com/p/68e1dceae4c8</guid>
            <dc:creator><![CDATA[Karan Joshi]]></dc:creator>
            <pubDate>Sat, 18 May 2024 04:42:49 GMT</pubDate>
            <atom:updated>2024-05-18T04:50:18.397Z</atom:updated>
            <content:encoded><![CDATA[<h3>General Idea</h3><p>This is an article on a particular problem ie managing multiple call flows for an AI backend with minimal coding that can switch audio between multiple languages, intents, and call flows taking audio inputs. let us start with a basic example of call flow which starts at the root for our references here let us call it level 0 takes audio input from the customer now we are at level 1 the customer puts in another intent now we are at level 2 and so on till level N something like figure given below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5gFHGI9xk1p0bC3M" /></figure><p>Now if we have mapped each possible mapping which is num of levels*number of intents possible for each mapping we get all of the audios in a linear format. That is, “the horizontal line of our matrix which maps the audio. If we replace single audios of these mappings with an array of audios we get a kind of matrix I said kind because these arrays will be of the same size. They might be of different sizes let me explain that in the next section.</p><h3>Mapping</h3><p>Given we have a call flow running in our IVR system we need three things the state, intent, and unique identifier for the call flow which is associated with an index. The first two are easy enough to get first on is n+1 of the previous state and the second one is generated by AI after listening to users’ responses. So if we are managing only one callflow it corresponds with the first element in the array. Now we assume that all these interactions have at least one level of AI interaction. Which follows that the array of audio will grow for at least the first level of any intent. If we add all the elements to the end of the array we map two callflow. By its index on the first-level audios irrespective of the intent the length of all of them will be the same. Or for all levels, the below identity is true and all levels are a set of positive integers</p><p><em>len(level1intent1)=len(level1intent2)=len(level1intent3)……………..=len(level1intentn)</em></p><p>level1_intent1: [audio1_1]</p><p>level1_intent2: [audio1_2]</p><p>level2_intent1: [audio1_3]</p><p>level2_intent2: [audio1_4]</p><p>Let’s start with just one call flow which has two levels and two intents will look something like this. (We are saying audios here for simplicity these might also contain events.) so the index corresponding to the call flow will all be 0. The IVR bot can simply iterate through that index based on the intent for dynamic implementation. For example:</p><p>levels=0</p><p>play root audio</p><p>For i in num_levels:</p><p>play(level_intent[index])</p><p>level+=1</p><p>Where level and intent are dynamically set variables and index is the call flow-id which is constant at zero</p><p>level1_intent1: [audio1,audio2]</p><p>level1_intent2: [audio1,audio2]</p><p>level2_intent1: [audio1]</p><p>level2_intent2: [audio1]</p><p>What happens when we add a new call flow to the array that ends at just level one? We need to know a few things length of the indexed call flow let’s call it “len_current_cf” len of any of the first level call flows and len of the array in the current call flow. If the length of the callflow is less then the current callflow len the it ends before the current level so it will get played as we are iterating through the audio levels. So the algorithm to get to any call flow will be:</p><ol><li>Slice the array at the index that needs to be</li><li>Subtract the length of any of the intents at level one with the length of the current level</li></ol><p>Pseudocode:</p><p>levels=0</p><p>play root audio</p><p>For i in num_levels:</p><p>sliced_array= level_intent[: index]</p><p>play(sliced_array[len(level1_intent[: index])-len(sliced_array])])</p><p>Where level and intent are dynamically set variables and index is the call flow-id which is constant at one.</p><h3>Next steps</h3><p>This method works for basic call flow and detection the next version of this is a wav to vec2 classifier which gives where both the level and the intent are coming from the model itself rather than setting it up levels are important because different intents can mean different things at different things at different levels. Now the only input required from the user side is the audio input levels are decided by the model itself where model labels are in the format “intent_label”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t265m45W0pFWvLy0" /></figure><p>The model of wav2vec illustrated in Figure consists of a multi-layer convolutional feature encoder represented by the blue trapezoids. In the source code, this is also called a feature extractor. As input, it takes raw audio waves X and outputs latent speech representation Z. It does this for T time-steps using a sliding window of 25ms with a stride of 20ms. The outputs Z of the feature encoder are discretized to a finite set of speech representations using the quantization module. On the other hand, Z is partially masked and fed to a Transformer, which is built similarly like BERT, The Transformer then builds contextualized representations C over the whole input sequence X.</p><p>To train a wave to vec2 model we will need the data for intents and levels of at least five thousand samples for each category each of these categories The samples that we will use will be as homogeneous as possible in the sample size for now we will be using Hindi and English. More on this in my next blog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68e1dceae4c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI, data, and the modern economy: Nature of data]]></title>
            <link>https://karanjoshi1993.medium.com/ai-data-and-the-modern-economy-nature-of-data-f9f1e0a3fbbf?source=rss-5a601bee37ba------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9f1e0a3fbbf</guid>
            <dc:creator><![CDATA[Karan Joshi]]></dc:creator>
            <pubDate>Thu, 21 Mar 2024 11:12:51 GMT</pubDate>
            <atom:updated>2024-04-10T06:41:40.542Z</atom:updated>
            <content:encoded><![CDATA[<p>This is the first of many blogs exploring an economic angle on data and AI.</p><p>The relationship between artificial intelligence (AI) and data in the economy has recently made me curious about how the giant forward leaps in the digital world will change the markets. What will be the endgame of this drastic change? As we delve deeper into the intricacies of this dynamic trio, one underlying reality emerges: the modern economy inherently has divergent tendencies that is to say rich people get richer and the poor get poorer as a function of time to distribute income unequally perpetuating a disparity in income distribution deeply ingrained within the fabric of contemporary capitalism. From the bustling tech corridors of Silicon Valley to the bustling trading floors of Wall Street, the influence of AI for a very recent example of giant layoffs in the tech industry [1] and data permeates every sector, reshaping industries, redefining job roles, and redistributing wealth in ways both profound and polarizing. This confluence of technological prowess and economic structure presents both opportunities for innovation and challenges for equitable participation — a duality that underscores the complex interplay between technology, economics, and societal values in the 21st century.</p><p>The paragraph below taken from Wikipedia in the book Capital in the 21st Century gives a detailed economic view of this.</p><p><em>“The book’s central thesis is that</em><a href="https://en.wikipedia.org/wiki/Economic_inequality"><em> inequality</em></a><em> is not an accident, but rather a feature of</em><a href="https://en.wikipedia.org/wiki/Capitalism"><em> capitalism</em></a><em> and can only be reversed through</em><a href="https://en.wikipedia.org/wiki/State_interventionism"><em> state interventionism</em></a><em>.</em><a href="https://en.wikipedia.org/wiki/Capital_in_the_Twenty-First_Century#cite_note-cooper-17"><em>[17]</em></a><em> The book thus argues that, unless capitalism is reformed, the very</em><a href="https://en.wikipedia.org/wiki/Democracy"><em> democratic</em></a><em> order will be threatened.</em><a href="https://en.wikipedia.org/wiki/Capital_in_the_Twenty-First_Century#cite_note-cooper-17"><em>[17]</em></a></p><p><em>Piketty bases his argument on a formula that relates the rate of</em><a href="https://en.wikipedia.org/wiki/Return_on_capital"><em> return on capital</em></a><em> (r) to</em><a href="https://en.wikipedia.org/wiki/Economic_growth"><em> economic growth</em></a><em> (g), where r includes</em><a href="https://en.wikipedia.org/wiki/Profit_(economics)"><em> profits</em></a><em>,</em><a href="https://en.wikipedia.org/wiki/Dividend"><em> dividends</em></a><em>,</em><a href="https://en.wikipedia.org/wiki/Interest"><em> interest</em></a><em>,</em><a href="https://en.wikipedia.org/wiki/Economic_rent"><em> rents</em></a><em>, and other</em><a href="https://en.wikipedia.org/wiki/Income"><em> income</em></a><em> from capital, and g is measured as the growth of society’s income or</em><a href="https://en.wikipedia.org/wiki/Output_(economics)"><em> output</em></a><em>. He argues that when the rate of growth is low, then wealth tends to accumulate more quickly from r than from</em><a href="https://en.wikipedia.org/wiki/Labour_economics"><em> labor</em></a><em> and tends to accumulate more among the top 10% and 1%, increasing inequality. Thus, the fundamental force for divergence and greater</em><a href="https://en.wikipedia.org/wiki/Wealth_inequality"><em> wealth inequality</em></a><em> can be summed up in</em><a href="https://en.wikipedia.org/wiki/Inequality_(mathematics)"><em> the inequality</em></a><em> r &gt; g. He analyzes</em><a href="https://en.wikipedia.org/wiki/Inheritance"><em> inheritance</em></a><em> from the perspective of the same formula.”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mE1kOy9RyNd_X1U7" /></figure><p>We will talk more about Piketty’s formula later. For now, let us focus our attention on AI and machine learning models as a means of production. For a layman, an AI is like giving computers the ability to think and learn in a similar way to humans. It’s all about making machines smart enough to understand, reason, and solve problems on their own without needing constant human guidance. AI can do things like recognize speech, understand images, make predictions, and even play games. It’s like having a super-smart assistant that can help us with all sorts of tasks, from answering questions to driving cars. However, this ability is not created by cognition but by setting up neural systems that are trained on some data to mimic human-like interactions. Which needs data from some to very large amounts depending on what one intends to solve using an AI.</p><p>But what is AI exactly? It comprises two words Artificial which means not natural or made by the people and intelligence which means the ability to understand, learn, and think. Combining the two it is an entity that can understand, learn, and think created by humans.</p><p>The way that an AI understands is by examples imagine teaching a kid by showing them an animal and saying “This is a horse” and then reaffirming that point each time you see a horse. Till it finally starts to identify a horse. The same can be done with computers but you need to give them a rule framework to work with and a lot of examples.</p><p>But modern AI can also think or mimic thinking. Tell ChatGPT to create a poem with a fixed set of emotions and a given style it will be able to do this as well</p><p>Now coming to data. Data is what enables an AI, its cognition, and comprehension. It is a set of examples that are fed into it such that it can predict an output. So basically the more the number of data points and the clearer they are the easier it is for the AI to make predictions. From the economic data perspective, what is the nature of data? Data is either characterized as a club good or more recently as a common-pool resource,[2]Let me first explain the former</p><p><em>“That is a </em><a href="https://en.wikipedia.org/wiki/Public_goods"><em>public goods</em></a><em> that is</em><a href="https://en.wikipedia.org/wiki/Excludability"><em> excludable</em></a><em> but</em><a href="https://en.wikipedia.org/wiki/Non-rivalrous"><em> non-rivalrous</em></a><em>”</em></p><p>This is simply to say that you can exclude people from using your data but it will not get exhausted by using it once, twice, or n number of times.</p><p>Now let’s talk about common-pool resources or commans. Commans are goods that are accessible to all of society example lakes, air water, etc.</p><p>Which I think is true of publicly available data sets. Data can show the characteristics of both it depends on the nature of the dataset and how it behaves at a given point. But it is different than a pure public good like a national defense and a private good like an orange. Former being completely non-excludable and non-rivalrous and later being both excludable and rivalrous. Here is a diagram fig,1 that makes the distinction more clear.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sSR_h7OiDjs24XwA" /></figure><p>I think we have a pretty clear picture of what data is in an economic sense. Now let us look at AI as a substitute for human labor as a means of production. This is kind of obvious if you think about it but this obvious has also shown itself in empirical economics research. A elasticity of substitution of less then one means the goods are compliments however more then one means goods can be substituted by one another</p><p><em>“The best-fitting distributions for the 5-digit productivity samples suggest that if the elasticity of substitution between human and robotic labor is greater than the 1.7–2.1 range, the proliferation of robots will have a depressing effect on human wages. This range is not as high as elasticities of substitution among relatively substitutable factors go; Acemoglu and Au-tor (2012)</em></p><p><em>This will increase measured inequality unless the returns to robotic assets are broadly spread across the population.”[3]</em></p><p>Changing the norms of how data is owned shared and traded in the modern world has the potential to make income redistribution a reality. Data ownership must bring value to the owners not only in one-time payments but also in the form of a share in the AI model which pays them whenever this model is used for commercial purposes. However, market challenges and the non-sharing of data are higher than the incentives of sharing it in a close market with less competition [4] making it hard to achieve.</p><p><em>“The primary force that will shape the coming decades will be globalization. Offshoring of jobs and the continuing migration of manufacturing to low-wage countries will be the major threats to the job market in Western countries. Technology will continue to enable globalization, and jobs will move across borders with increasing ease, but automation technology will not result in broad-based, permanent elimination of jobs. Under pressure from globalization, jobs in the developed economies will evolve increasingly toward providing services that are anchored locally — and neither automation technology nor globalization will succeed in penetrating these protected employment markets.”[5]</em></p><p>Shifting our focus from the global to the local can be of really high potential value in the future. For example, say the market of caretakers and caregivers if we can train caregivers who are self-sufficient in providing geriatric and palliative care people like this can be integrated into the workforce quickly and provide high-value services in places like India where there is a big supply of people that are low skilled and the number of people that are getting older is also increasing. Microeconomic ecosystems with shorter supply chains for goods and services all are of high value but will have to be built by government and community partnerships. For example, creating farmers markets that cater to a local community.</p><p>What can be done to make this situation better? Open data marketplaces? Progressive income tax on the AI industry? We will take a deeper look in our next article.</p><p>[1]https://www.geekwire.com/2024/tech-job-market-remains-in-flux-as-layoffs-continue-and-experienced-workers-struggle-to-get-hired/</p><p>[2] <a href="https://arxiv.org/ftp/arxiv/papers/2212/2212.10244.pdf">https://arxiv.org/ftp/arxiv/papers/2212/2212.10244.pdf</a></p><p>[3] <a href="https://www.sciencedirect.com/science/article/pii/S016407041630043X">https://www.sciencedirect.com/science/article/pii/S016407041630043X</a></p><p>[4] <a href="https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3970821">https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3970821</a></p><p>[5]The Lights in the Tunnel: Automation, Accelerating Technology and the Economy of the Future by Martin Ford</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9f1e0a3fbbf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OTTs in India : The platforms of a patriarchal internet]]></title>
            <link>https://karanjoshi1993.medium.com/otts-in-india-the-platforms-of-a-patriarchal-internet-feef000ff80?source=rss-5a601bee37ba------2</link>
            <guid isPermaLink="false">https://medium.com/p/feef000ff80</guid>
            <category><![CDATA[gender]]></category>
            <category><![CDATA[netflix]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[patriarchy]]></category>
            <category><![CDATA[research]]></category>
            <dc:creator><![CDATA[Karan Joshi]]></dc:creator>
            <pubDate>Thu, 08 Apr 2021 11:38:37 GMT</pubDate>
            <atom:updated>2021-04-08T12:52:01.270Z</atom:updated>
            <content:encoded><![CDATA[<h3>OTTs in India : Overview</h3><p>For the OTT story in India, the Covid lockdown period was a very important one. Reading newspapers and WhatsApp forwards about the virus became very monotonous. Social media too was full of posts regarding the pandemic.TV did not show any new shows, only news. The people needed a break from the pandemic information overload, so they started watching videos online so much so that video streaming services had to <a href="https://www.livemint.com/news/india/youtube-reduces-video-streaming-quality-in-india-11585117216910.html">reduce the video quality of their content</a> as there were too many people watching YouTube. The market of the OTT platforms in India grew b<a href="https://www.financialexpress.com/brandwagon/2020-rise-of-paid-subscribers/2172942/">y ~30% between March and July 2020.</a></p><p>It will also be interesting to look at the OTT market as a segment of the internet that in India is extremely male-dominated. However, it is very hard to separate individuals in an OTT dataset as one subscription is seldom used by many people. We are going to take an approach that is based on social media pages related to these platforms to get an estimate of their reach and popularity of these platforms.</p><h3>Datasets</h3><p>Before we start talking about our findings we are going to talk a bit about the datasets that we have used for this post.</p><p>The first dataset we used was collected from Google forms, distributed on social media channels asking people about their experiences. The data points we got were not enough to draw quantitative inferences so we will be using this data for qualitative observations on the subjects.</p><p>For the second dataset, we directly scraped the MX Player and Ullu websites that can be found in the following <a href="https://www.kaggle.com/shivamb/netflix-shows">dataset</a>. We chose these platforms because they represent different tiers from a production perspective much like the A, B, C grades for movies.</p><ul><li>We got the number of followers by writing a selenium script, scraping Instagram.</li><li>We then looked for erroneous outliers and removed them from the dataset.</li><li>In the end, we were left with a sample size of<strong> 532</strong> data points.</li></ul><p><strong>We will use this data for some quantitative estimates of the reach of these platforms.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BaPqyV1mdYFc1ES2" /></figure><h3>Subscription</h3><p>The Indian market has a vast variety of OTT platforms. If we look at the yearly charges Netflix is charging ₹9600 for a subscription and a bunch of them are giving it for free like MX player and TVF play. Some are charging with a condition like JioTV, which has a condition like you have to be a Jio subscriber. There are IQIYI, Tencent video, and Viki which use east Asian languages like Korean and Chinese which charge more than 1055. Zee5 has just dropped its yearly subscription price to 499 from 999. Which is more than 50% of the drop. Hotstar is partnering with <a href="https://www.livemint.com/companies/news/vi-partners-with-disney-hotstar-to-provide-year-of-free-content-to-users-11615361749336.html">VI (telecom company) for promotion</a>. We would like to give a special mention to Black Sheep (BS) Value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/357/0*nsA7NOTrza1yEvTt" /></figure><h3>Language</h3><p>Hindi and English are the major languages for the content on the OTT platforms. Shows like 13 Reasons Why, Peaky Blinders and Naruto were quite popular amongst the English-speaking youths from our dataset, which also points to shows like Mirzapur, Tandav, and Family man that also had quite a large following. (This data corresponds to dataset one mentioned above. )</p><p>What is common in all these shows that when it comes to the hindi shows all of these shows have strong language, sex and violence in high quantity all of these appeals to a <a href="http://scholar.google.co.in/scholar_url?url=https://www.researchgate.net/profile/Ozgur_Erdur-Baker/publication/223956341_Cyberbullying_and_its_correlation_to_traditional_bullying_gender_and_frequent_and_risky_usage_of_Internet-mediated_communication_tools/links/543796fb0cf2027cbb20219c.pdf&amp;hl=en&amp;sa=X&amp;ei=oOZuYJXaJceSywS5zYnwBg&amp;scisig=AAGBfm3DxApFvj71ErK0t6f6eR3w7eCLjA&amp;nossl=1&amp;oi=scholarr">young male audience.</a></p><p>The Korean and Chinese content on these platforms is also <a href="https://www.thehindu.com/entertainment/ott-platforms-are-seeing-a-slew-of-east-asian-historical-dramas/article31110218.ece">getting popular in India</a>. One of the youths that filled our survey forms said that “K-pop and Korean drama are a fresh breath of air. ” When we ask them about “What they like to watch on the internet?” Chinese and Korean dramas are easily available on platforms like Tencent play and IQIYI.</p><p>The regional content of the South Indian languages like aha (Telugu), Namma Flix (Kannada), and BS value (Tamil) are quite popular. Hoichoi(Bangla), Niri9 (Assamese) are also popular in their respective regions.</p><h3>Format</h3><p>The Format of these OTT platforms is similar throughout. There are seasons of each show where each has 5–10 episodes. However lately reality shows like Bigg Boss( 24 hrs live telecast ), Splitsvilla, and Roadies have also surfaced on the Indian OTT platforms which are widening the landscape of content for the consumers.</p><p>Sports streams are also quite popular in the Indian context as platforms like Sony liv and Hotstar get the streams to form their sports channels. However, we have noticed that the OTT telecast is 5–10 seconds late as compared to TV. The viewership for live cricket has been large in India since the first time it was telecasted on TV. This viewership is now getting transferred to the OTT platforms as over one crore viewers were watching the IPL finals last year. This is an indication of how the big media companies are somewhat controlling the sports stream to lure more people towards their OTT platforms. However, platforms like VOOT are hosting sports like <a href="https://en.wikipedia.org/wiki/2020%E2%80%9321_Road_Safety_World_Series">Road Safety World Series</a> on their platforms which consist of teams of retired cricketers from 7 different countries.</p><p>Movies are also quite a popular format. Netflix, which has one of the biggest libraries of content, has 69% of movies. There is a new format that is also emerging in platforms like ullu which has short videos. Most often each season of a show contains only one episode.</p><p>High quantity of spots viewership and adult content viewership is strongly associated with <a href="https://time.com/4322947/men-women-sports-evolution/">large male viewership</a>. However other formats of content are viewed by both genders.</p><h3>Rating</h3><p>The OTT platforms are mostly focused on the adult audience who have agency over what they watch Netflix’s ~62% (TV-MA+TV-14) shows are for children above the age of 14. In terms of content for children, only ~3.5% of Netflix’s content is TV-Y rated which is the content rated as appropriate for children of all ages.</p><p>OTT platforms in India offer a lot of variety. With the number of regnal OTT platforms growing the variety is only going to grow. After the porn ban in India,<a href="https://www.livemint.com/news/india/streaming-sites-gain-from-adult-content-during-covid-11595232814075.html"> a lot of OTT platforms doing soft pornographic content</a> has surfaced in the OTT platforms. One of the youths Ajay (name changed for privacy purposes) responded by saying “Orange Is the New Black” when we asked him “Why do you think series with more pornographic content is getting popular?”. One of the ladies Rina(name changed for privacy purposes) that we surveyed thinks in similar lines when asked the same question said “Easy access to content to satisfy your desires.”</p><h3>Reach</h3><p>To calculate the reach of these platforms we first looked at some of these platforms’ youtube accounts. We also compared the Instagram following of the superstars of some platforms like MX player, Ullu, and Netflix. Each of which was distinctive from a perspective of the size of production</p><h3>Instagram analysis</h3><p>We will talk in detail about the youtube reach of these platforms in our next blog where we will talk about the Instagram subscription of the stars appearing in these shows. This would be done to avoid the influence of heavy rightward skewed data points which we are using as median as there are heavy right side outliers like Sunny Leone (44 million followers) and Hina Khan (12 million followers) when we collected this data in March 2021.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*42LovI1f244NsW-I" /></figure><p>The data for the median followers for each platform is given below. This data has a weak correlation with the market share of the OTT platforms popularity as learned from <a href="https://the-ken.com/story/the-masala-in-mx-players-ott-formula/?searchTerm=mx%20player">The Ken</a> report “MX Player users spent 7.8 hours per month on the app, compared to 7.4 hours on Netflix, 4.5 hours on Disney+Hotstar, and 4.4 hours on Amazon Prime Video in 2020.” However, three data points are not sufficient to conclude. We can say that the stardom of the cast on Instagram has an impact on their general reach but it can also work in the opposite direction where OTT platforms hire stars with higher reach in social media to promote their content and platforms.</p><p>We used the whole sample and had 55.3% males and 44.7% females. The median number of followers for the males was 32669 and females were 144468. The median followers for female stars were four times the male stars; this establishes that there is a clear bias from the users who are more inclined towards the female accounts. The female stars had 22 crore followers put together vs about 7 crores of male artists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*Mw7b5Kqp1eQ6oAO3" /></figure><h3>Conclusion</h3><ul><li>Apart from the mainstream, there is a huge demand for regional language content.</li><li>The OTT platforms are giving discounts on their subscription to create a competitive advantage. Some are simply planting trees.</li><li>We found that despite the poor production quality and storylines platforms like MX player and Ullu can compete with large production houses like Netflix both in total viewership and social media reach of their cast is because India has a male-dominated<a href="https://cms.iamai.in/Content/ResearchPapers/2286f4d7-424f-4bde-be88-6415fe5021d5.pdf"> Internet </a>which creates an obvious demand for erotic content as it is already recognized by the <a href="https://www.livemint.com/news/india/streaming-sites-gain-from-adult-content-during-covid-11595232814075.html">top management of the OTT companies</a></li><li>. Adding to that there is the demand for the content in regional languages which big platforms are currently lagging, which is currently a big <a href="https://www.afaqs.com/news/media/regional-language-content-and-its-impact-on-tv-ott">potential market</a>. We will be taking a deeper look into this in our next blogs</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=feef000ff80" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A data investigation of O.T.T platforms in India methodology.]]></title>
            <link>https://karanjoshi1993.medium.com/a-data-investigation-of-o-t-t-platforms-in-india-methodology-f4e72a0c21df?source=rss-5a601bee37ba------2</link>
            <guid isPermaLink="false">https://medium.com/p/f4e72a0c21df</guid>
            <category><![CDATA[amazon]]></category>
            <category><![CDATA[india]]></category>
            <category><![CDATA[ott]]></category>
            <category><![CDATA[netflix]]></category>
            <dc:creator><![CDATA[Karan Joshi]]></dc:creator>
            <pubDate>Sat, 13 Mar 2021 10:13:52 GMT</pubDate>
            <atom:updated>2021-03-16T11:33:22.538Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hum kya dekhnge?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*oZpFNP_YIS4iSe5q" /></figure><p>In the past few years there have been a few changes in the list of conversation starters in India. Apart from “Score kya hua hai? ” and “Kya lgta hai election kon jeetega?” one can now start conversations with saying things like “<a href="https://en.wikipedia.org/wiki/Sacred_Games_(TV_series)">Sacred Games </a>dekha kya?” or “<a href="https://en.wikipedia.org/wiki/Mirzapur_(TV_series)">Mirzapur</a> dekha kya?”. The mass appeal of these shows are on a rise as we see social media getting stormed by memes based on these shows. I have shared one of my favorite memes based on the dialogue of a popular web series above.</p><p>Video entertainment has always been popular in India. The success of the film and television industry is the evidence. As a kid born in the 90s I still have memories of going out to watch movies with family.I also watched daily soaps and reality shows on TV with my family in primetime. After the internet rates in India fell to being the cheapest in the world online video became accessible to the masses. Interestingly, the word “video” in Latin means “I see”. The world of video entertainment post covid-19 is getting closer and closer to the word “I see” transitioning from the word “we see” which was true for the entertainment industry in the 90s and early 2000s.</p><blockquote>Before talking more about OTT platforms in details let me explain in what an OTT platform(Over-the-top media service platform) is in simple words “Any platform that transmits media service via the internet is an O.T.T platform”</blockquote><p>After the era of high speed internet transmitting video through the internet has become lucrative business <a href="https://en.wikipedia.org/wiki/Netflix">Netflix</a> for example is a juggernaut of the OTT industry with of a whopping 2,499.6 crores USD (2020) of revenue yearly and providing streaming services in 190 countries.</p><p><a href="https://www.business-standard.com/article/companies/covid-19-pushes-up-ott-subscription-growth-by-60-bcg-report-120121601311_1.html">In India during the covid-19 lockdown the paid OTT market has grown by 60%</a> .Apart from paid OTT platforms other platforms that are using an advertising model are also doing well like MX player which <a href="https://the-ken.com/story/the-masala-in-mx-players-ott-formula/">has a customer base of more than 200 million monthly active users (MAUs)</a>.</p><p>These recent developments has intrigued me enough that for the past few weeks I am exploring the scale,reach and variety of these platforms. Also I have collected some data by talking to some youths from the rural and urban demographics to get a sense of the kind of content youths are consuming.I will be sharing all these insights with you in the coming weeks. To give you some flavor of the report I am sharing some of my early insights below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*34q7he9iE4LPUqgD" /></figure><p>Subscribes on YouTube for top three O.T.T platforms, source: socialblade</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*h4CidsBd6tMT6xJk" /></figure><p>Views on YouTube for top three OTT platforms, source: socialblade</p><ul><li>The above graphs show that even though Netflix is way ahead on subscribers. Amazon Prime leads on total views.</li><li>Netflix is charging more than 10 times of an average OTT provider yearly charges</li><li><a href="https://www.youtube.com/watch?v=IPIqQSCd6nI&amp;t=1s">Gandi baat season 3</a> (AltBalaji) has 24M views on YouTube which is more than <a href="https://www.youtube.com/watch?v=ISORfez27og">Scam 1992</a>(SonyLIV) <a href="https://www.youtube.com/watch?v=ZNeGF-PvRHY">,Mirzapur season 1</a> (Prime)and<a href="https://www.youtube.com/watch?v=w-Xe8gLBc5I&amp;t=5s"> Sacred Games</a> (Netflix)</li><li>There are platforms like Rabbit TV and Hot Masti selling subscription for purely pornographic content</li><li>Content form almost all the OTT platforms are available on platforms like ThopTV for free.</li></ul><p>This whole exploration exercise will be shared with you in next couple of weeks through similar blog posts so please subscribe to my channel to get an update on their publication. And do clap on the post if you liked it. That helps with the reach. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4e72a0c21df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Raise summit a summary of session one]]></title>
            <link>https://karanjoshi1993.medium.com/the-raise-summit-a-summary-of-session-one-20d7375060ed?source=rss-5a601bee37ba------2</link>
            <guid isPermaLink="false">https://medium.com/p/20d7375060ed</guid>
            <category><![CDATA[policy]]></category>
            <category><![CDATA[raise]]></category>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Karan Joshi]]></dc:creator>
            <pubDate>Tue, 20 Oct 2020 18:53:28 GMT</pubDate>
            <atom:updated>2020-10-20T18:53:28.705Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fuAtuW3xSVdPNIS8DHed4A.jpeg" /></figure><p>India hosted the RAISE(Responsible Artificial Intelligence For Social Empowerment) 2020 summit. Government of India in partnership with Industry &amp; Academia. It will be inaugurated by the Honorable Prime Minister Shri Narendra Modi on October 5, 2020. In this article I am going to capture the highlights of the first session of this event. For watching this event again please click <a href="https://raise2020.negd.in/community/#/session-stream/23710">here</a>.</p><h3>Mr Amitabh Kant opened the session with saying India is in a very special position regarding AI as India has a large population and cheap cost of data.</h3><p>Also has a position where there are challenges in India in terms of language and demographics which he believes can be solved with. He also congratulated the Prime minister for introducing successful ventures like Aadhar, UPI, GST and National digital health mission which successfully contributed towards digitizing India. Even though some of these reforms have been questioned as having adverse effect on data privacy and economy.</p><h3>Arvind Krishna CEO of IBM was second to speak.</h3><p>He started his speech with talking about how IBM is collaborating with local government bodies and the <a href="https://en.wikipedia.org/wiki/NITI_Aayog">NITI aayog</a> for the development by combining AI and weather data to help farmer. He also announced an AI center of excellence by saying:</p><blockquote>AI center of excellence in partnership with Government e-marketplace (GeM). Our goal is to apply the power of AI to improve usability and transparency and drive efficiency in cost saving in public procurement.</blockquote><p>He also shared his views on what drives AI namely data,trust and skills.</p><p>He pointed out that to run AI we need good data like other sources of capital the value comes from how you refine and apply it.</p><p>Trust is paramount for highly regulated and trust related domains like healthcare.Building AI models can be a labour intensive and there is a skill shortage in the Indian market.On his skill building he said:</p><blockquote>Through the IBM STEM for girls initiative, we are re teaching 80,000 girls across India how to code and build AI models. Our goal is to reach 200,000 students by 2022</blockquote><p>He also mentioned earlier in July, IBM collaborated with the Central Board of Secondary Education (CBSE) to integrate AI into the high school curriculum of 200 schools across India.</p><h3>The next speaker was Mr. Mukesh Ambani</h3><p>He started his speech by saying that India has delivered 4G to 99% of the citizens.Via <a href="https://en.wikipedia.org/wiki/Bharat_Broadband_Network">Bharat net</a> the country now rolling out a massive pan-India optical fiber network to connect not just all cities and towns, but each of the 6 lakh villages.</p><p>He also said that intelligent data is a vital national resource. And said that he was certain that government will make some regulations to protect this national resource. He also mentioned data centers in his speech by saying that the compute power generated can help India grow at an exponential rate.</p><h3>The next speaker was Porf. Raj Raddy</h3><p>HE started the session with his vision of AI which could help in eliminating lock downs, replace one size fits all education by personalized education, watch any movie in any language and empower the people at the bottom of the perimid who can not read to shop online, pay bills online and watch movies in any language.</p><p>He further explained that in today’s day the smart phones and watches are equipped with sensors that can help in isolation of individuals in case of a pandamic not in a matter of days but hours. By moitering key strokes of a student on a keyboard it can be figured out through an AI if the student is in class, paying attention, day dreaming or struggling and said this data can be used for personalized education and setting up personlised education for the students.</p><p>Speaking about text to speech technologies Prof. Raddy said that India’s language divide can be solved by gathering 100 thousand hours of speech and 100 million words of text in each language. Then we can build alexa like voice assistants to help all the people to access information online.</p><p>But he says their are some prerequisites that are required to be taken into consideration like all the houses should have a smartphone and a broadband connection before any of this is possible.</p><h3>Mr Ravi Shankar Prasad was next to speak and he opened by saying and I quote</h3><blockquote>Our Prime Minister is passionate about transforming the lives of ordinary Indians with the power of technology and he gave us the theme of digital India and now we see how it has improved the governance, be it digital delivery of services, direct benefit transfer, e-hospital, digital market for farm produce or digital litracy or digital payment</blockquote><p>Adding to this he said the government has transferred around 172 billion USD into over 70 million bank accounts of the poor through direct benefit transfer.</p><p>Finally he pointed out the the real use of digitization if it can bring a positive change to ordinary people’s lives.</p><h3>Next to speak was PM Narendra Modi.</h3><p>After talking about his achievements on platforms like aadhar ,UPI Baharatnet etc. Mr Modi said about the future of education and said</p><blockquote>Technology is evolving at such a fast pace that very soon artificial intelligence will dominate our way of life,”</blockquote><blockquote>“India has recently adopted the National Education Policy 2020. It focuses on technology-based learning and skilling as a major part of education. E-courses will also be developed in various regional languages and dialects. We want India to become a global hub for AI and many Indians are already working on this. I hope many more do so in the times to come. The teamwork of AI with humans can do wonders for our planet and RAISE 2020 is a great effort to encourage discussion on Artificial Intelligence”</blockquote><p>He closed his speech by asking the audience members it if it was possible to develop AI that can optimize the human and the potential of resources of India. Adding to this he also said that in order to insure trust in AI. He said that algorithmic transparency and accountability is important so that AI does not become a weapon in the hands of non state actors.</p><h3>Conclusion</h3><p>AI globally has reached only 4% of its potential globally as pointed out my Mr Krishna and a summit like this is a welcome step in the right direction form India. IBM’s entering India and helping with farmers is a big positive. If technologies like <a href="https://www.ibm.com/blogs/research/2018/09/agropad/">agropod</a> can be fine tuned for India it can make quite a difference for the farmers.</p><p>We are also looking forward to Bharat net and how implementation of this pan area network works out. It was also good to know about services like e-hospitals, tailor made education systems for each individuals and platforms for the differently abled using AI but I feel it has a long way till we can really harvest these ideas. The data protection bill soon to be presented in the parliament it was important to hear Mr Modi who talked about algorithmic transparency and Mr Ambani who was asking our government to make regulations to save the resource that is data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20d7375060ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Celebrities and sampling : Part 1]]></title>
            <link>https://medium.com/datafolkz/celebrities-and-sampling-part-1-c1ad8e4be2ba?source=rss-5a601bee37ba------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1ad8e4be2ba</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[sampling]]></category>
            <category><![CDATA[data-scraping]]></category>
            <dc:creator><![CDATA[Karan Joshi]]></dc:creator>
            <pubDate>Sun, 08 Sep 2019 23:59:33 GMT</pubDate>
            <atom:updated>2019-09-09T00:01:53.512Z</atom:updated>
            <content:encoded><![CDATA[<h3>Celebrities and sampling : Part 1</h3><p>First things first what is sampling? Why am i talking about it what is the relevance of sampling for the reader so lets get stated with talking about what sampling is :</p><blockquote>Finding results from a subset of population that is closest to the results of the whole population.</blockquote><p>That means you don&#39;t have to look at weights of the all the individuals in the whole world to answer the question about the average human weights that can must be a way to do the same by looking at a smaller subgroup of the population. Now the question is how? Let us answer that question with 2018 Celebrity 100 list by Forbes magazine India.</p><p><strong>The Goal</strong></p><p>The goal of this exercise is to show you examples of the basic types of sampling so you can get an intuition about how to use them with a real data set.</p><h4>Completing the data set</h4><p>To complete the data set I had automated the process for finding birth dates of each celebrity it is described in the video below</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FaLS621Du5Jc%3Fstart%3D29%26feature%3Doembed%26start%3D29&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DaLS621Du5Jc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FaLS621Du5Jc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/61ae2ed2a12c6e21bf20aee0bb066a22/href">https://medium.com/media/61ae2ed2a12c6e21bf20aee0bb066a22/href</a></iframe><p>This was a fun exercise but we will not use dates in this blog that will be explored in the later blogs.</p><h3>Description of the data</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xcJ6qX0VM6NTa9Xy5jtavw.png" /></figure><p>As we can see from the bar graph above the first three celebrities are way too far a ahead from the rest of the data mean earning with top three celebrities is 31.4 crore rupees while the average without the top three values is 25.5 crore rupees.</p><h4>Probability sampling</h4><p>Probability Sampling is a sampling technique in which sample from a population are chosen using a method based on the theory of probability.This method of sampling is preferred because it gives all the elements of population a equal chance to get selected.Some types are given below.</p><h4>Simple random sample</h4><p>Simple random sample is the method to select samples randomly such that means each sample has equal probability of being selected.</p><p><strong>Method</strong></p><p>the will use the RAND() function which gives a random number between 0 and 1 in google sheets for the purpose of this blog. I will multiply the value returned by random function by 100 and will take the sample of the celebrity corresponding to that rank. We will look at thirty observations which is 30% of the population a good sample size by convention.</p><h4>The results</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*f2WqaEf8EPZkT-yF_lmmlg.png" /></figure><p>These results suggest that simple random sample is a good estimate of the averages as the difference between it and the population and sample was only 1.45 crore rupees which is not a lot if you consider the data.</p><h4>Stratified Sampling</h4><p>In this type of sampling we divide the data into multiple strata on basis of an attribute and then take samples.</p><h4>Method</h4><p>I will be dividing the data on the basis of gender and will take fifteen samples from each gender to get a sample with equal representation of both male and female gender.</p><h4>The results</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*yA8Ws2_siQ7MoviELNrAqw.png" /></figure><p>These are the results for stratified sampling which tells us this method also represent the population very will.</p><p><strong>Systematic Clustering</strong></p><p>This is a type of sampling where first element is selected at random and the rest of the cluster determined using a mathematical relationship.</p><h4>Method</h4><p>I will use the rand function to arrive at the first sample and then use the formula n+3 for the next number so for example if i randomly land on the 20th element my next element will be 23rd…26th and so on till one full cycle .</p><h4>The results</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/478/1*86qb2CmceVcBzz-0GdQJ6w.png" /></figure><p>This method has produced the least error yet which is about 3.5 lakh rupees.</p><p>That was all for probabilistic sampling there are other methods for taking a sample too which are used but for our data set these were the methods that i found appropriate.</p><h4>Non Probability sampling</h4><p>Does not use the laws of probability does not give every element a equal chance to get selected.</p><h4>Convenience sampling</h4><p>The samples are selected on the basis of convince.</p><h4>Method</h4><p>I will select 5 of my favorite celebrities from the list and take there average just because it is convenient.</p><h4>The result</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*ulkaScpNAHdSElrlXqarJg.png" /></figure><p>Due to selecting the samples that were my favorite it happened to be that they all were from the top half of the table hence the difference between the mean and the total population was about 80 crore rupees which is more then twice of the mean itself.</p><h4>Conclusion</h4><p>This concludes the first part of sampling methods next time we will use python for this exploration rather then a spreadsheet and look at the implication of the Law of large numbers and Monte Carlo simulations on samples and explore this data set further.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1ad8e4be2ba" width="1" height="1" alt=""><hr><p><a href="https://medium.com/datafolkz/celebrities-and-sampling-part-1-c1ad8e4be2ba">Celebrities and sampling : Part 1</a> was originally published in <a href="https://medium.com/datafolkz">Data Folkz</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[test story]]></title>
            <link>https://karanjoshi1993.medium.com/test-story-c27f3e4d5675?source=rss-5a601bee37ba------2</link>
            <guid isPermaLink="false">https://medium.com/p/c27f3e4d5675</guid>
            <dc:creator><![CDATA[Karan Joshi]]></dc:creator>
            <pubDate>Thu, 29 Aug 2019 17:47:26 GMT</pubDate>
            <atom:updated>2019-09-03T16:12:02.440Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*0kAST6wZjaEnyI6AE4CpYQ.png" /></figure><p>This is a test story</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c27f3e4d5675" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>