<?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 Jinit Shah on Medium]]></title>
        <description><![CDATA[Stories by Jinit Shah on Medium]]></description>
        <link>https://medium.com/@jinit245?source=rss-9742554d5456------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*znE2B15L3zJJcstfDbsFWw.jpeg</url>
            <title>Stories by Jinit Shah on Medium</title>
            <link>https://medium.com/@jinit245?source=rss-9742554d5456------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 22:13:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jinit245/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[Vibe Coding Gone Right (Hopefully?)]]></title>
            <link>https://jinit245.medium.com/vibe-coding-gone-right-hopefully-7b5961a43012?source=rss-9742554d5456------2</link>
            <guid isPermaLink="false">https://medium.com/p/7b5961a43012</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[cursor]]></category>
            <dc:creator><![CDATA[Jinit Shah]]></dc:creator>
            <pubDate>Fri, 16 Jan 2026 11:58:32 GMT</pubDate>
            <atom:updated>2026-01-16T11:58:32.008Z</atom:updated>
            <content:encoded><![CDATA[<p>I built a monetizable developer tools website without writing a single line of code. It took two weeks. Here’s what worked, what didn’t, and what still requires a human brain.</p><p>Spoiler: The bar to ship is gone. The bar to stand out hasn’t moved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bFV9jpBbjXh8csU8mwyhzw.png" /><figcaption>fastdevtools.com</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gBhAgQzOt50oZr0Ka0pZUw.gif" /></figure><h3>The Idea</h3><p>I use developer tools constantly: epoch converters, JSON formatters, diff viewers. One day I realized: these are dead simple to build. No backend. No database. Just input, transform, and output. They also get a lot of traffic. And every time I used one, I was padding someone else’s ad revenue.</p><p>So I built my own: fastdevtools.com.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NKhV5z0vNP4qcHoZ0tey1g.png" /><figcaption>FastDevTools</figcaption></figure><p>The quickest path? Vibe coding with Cursor and Claude. Seems like a good experiment given the code is generic and reproducible.</p><h3><strong>Planning with AI</strong></h3><p>It started as a chat in plan mode. Simple prompts like:</p><blockquote>I want to build a website with simple tools like JSON and epoch converter that makes money.</blockquote><p>Planning mode is really useful, helps you carve out all the requirements and some estimation before you actually code. There were quite a few things to do here like which tools to build, which language to use, how to deploy, how to generate revenue, how to choose a domain, etc. Claude is pretty good at almost all of it. I continued with the plan and prompted with more questions like:</p><blockquote>How do I monetize this app, give a full plan</blockquote><p>Claude came back with a detailed week-by-week roadmap:</p><blockquote>Phase 1: Advertising Revenue (Immediate)</blockquote><blockquote>- Strategic ad placement (header, sidebar, footer)</blockquote><blockquote>- Mobile vs desktop optimization</blockquote><blockquote>Phase 2: Premium Tier (1–2 weeks)</blockquote><blockquote>- Feature-gated model with generous free tier</blockquote><blockquote>- 10MB file processing limits for free users</blockquote><blockquote>Phase 3: API Monetization (2–3 weeks)</blockquote><blockquote>- Expose tools as REST endpoints</blockquote><blockquote>- Pricing: Free (100 calls/day) → Pro ($29/month) → Enterprise</blockquote><p>Very optimistic, I must say. But it painted a clear picture of what steps were required: customer acquisition, marketing, AdSense integration, the whole roadmap. I pushed back:</p><blockquote>There are 100 such websites out there, how do I differentiate mine?</blockquote><p>It asked clarifying questions: Do you want to be an aggregator? Better UI? Something else entirely? The point here is Claude understands not just code but it can brainstorm marketing and business strategy too. Makes life simpler, but that doesn’t mean you’ll end up with a differentiated product.</p><h3>Tech &amp; Deployment</h3><p>By now I had a rough plan: JSON diff, JSON viewer, epoch converter. I had no idea which frontend tech stack to use. Claude suggested Next.js, explained the pros and cons, and it seemed reasonable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3nViYw7-hV0euP9TZhs1ww.png" /><figcaption>Tech Alternatives</figcaption></figure><p>I was more worried about getting this on the internet. I don’t know a lot about handling DNS, HTTPS, or domains. Should I use GitHub pages or Netlify or Vercel?</p><blockquote>How should I deploy this site?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E2HWJc67BKY4dYypLgqBZA.png" /><figcaption>Deployment Strategies</figcaption></figure><h3>Building the UI</h3><p>Now that we had a plan and Next.js, the actual coding began. I haven’t written a single line on this site and it’s been pretty good. Claude made a rough design with decent input/output panels.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*095hI9RACZfR1zhMjqhxog.png" /><figcaption>Initial UI</figcaption></figure><p>But it needed work. It started with tacky colourful designs. But my audience is developers. So I decided to keep it simple. After a few iterations, we landed on a clean black and white design. I asked for dark mode and it worked well. Suggested which column design to use, where to place buttons, their colours, etc. You can act like a PM and nitpick every small thing.</p><blockquote>Use a modern and slick design</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bFV9jpBbjXh8csU8mwyhzw.png" /><figcaption>fastdevtools.com</figcaption></figure><h3>SEO &amp; Marketing</h3><p>Now the code works and we have a decent UI. But how does SEO work? How do I get indexed? How do I add ads?</p><blockquote>Does devtools.cloud work as a domain?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*txblBcXlBax3S4_wyuu-9g.png" /><figcaption>Choosing a Domain Name</figcaption></figure><p>Claude advised against it. SEO wouldn’t perform well and suggested alternatives with places to buy. (Sidebar: it’s time domain registrars integrate with AI so people can purchase directly from the conversation)</p><p>Each of these is an involved process, but Claude handled them well: making visualizations, pointing to the right settings, suggesting specific changes like breadcrumbs, dynamic sitemaps, robots.txt updates, and backlinks.</p><blockquote>follow this guide <a href="https://developers.google.com/search/docs/fundamentals/seo-starter-guide">https://developers.google.com/search/docs/fundamentals/seo-starter-guide</a> to improve SEO</blockquote><p>Rough output:</p><blockquote>✅ SEO Improvements Complete!</blockquote><blockquote>1. Enhanced Footer Navigation</blockquote><blockquote>All 14 tools organized into 4 categories</blockquote><blockquote>Impact: Better PageRank distribution</blockquote><blockquote>2. Related Tools Component</blockquote><blockquote>Shows 3 contextual suggestions per page</blockquote><blockquote>Impact: Reduced bounce rate, improved internal linking</blockquote><blockquote>3. Optimized Meta Descriptions</blockquote><blockquote>Format: [Action] + [Benefit] + [CTA]</blockquote><blockquote>Impact: Higher click-through rates</blockquote><p>We still needed to get users. So, I focused on marketing now. The below is just a snippet with who to target and where I can find them. I started off with some reddit posts. It suggested the communities to choose, which title would work, on which days to post, what’s their reach and a cadence for posting. This was truly impressive given I have no background, reducing the difference with people who have been doing marketing all their life.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zq1XexGmNQu1Di4NE-XA-w.png" /></figure><h3>Testing</h3><p>I did manual testing for the intricate stuff: history, full-screen mode, switching between modals. Claude couldn’t test these easily, but it could fix bugs quickly once I described them.</p><blockquote>The age-old question: Can AI center a div<em>?</em></blockquote><blockquote><em>The answer is no!</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sIyFib6oLT95IIApxEE7qA.png" /></figure><p>I spent quite a few prompts fixing the above issue. The right panel had a button that pushed the text box down, but the left didn’t. Claude tried many fixes and eventually gave up, removing the button entirely. Once I suggested adding a matching button on the left, everything aligned.</p><p>It writes basic tests well but doesn’t anticipate edge cases. If you find bugs on the site, it’s because I couldn’t think of that scenario . Claude achieved 93% code coverage. So, it’s pretty good at writing tests but not good at figuring out edge cases. (Or maybe I haven’t found the right prompt for it)</p><h3>Lessons Learned</h3><h4>Developers can focus more on What than How</h4><p>Publishing a website requires knowing UI, backend, HTTPS, DNS, security, rate limiting and the list goes on. Even if you are a software engineer, you aren’t going to be an expert in all of them. Before, you’d read blogs, watch YouTube tutorials, and dig through documentation. Now, you can skip all of that and just type a few words to get it done. If the output doesn’t meet your expectations, you can dive deeper. But for simpler things you can use the above output and move on. You can focus more on what features to have, how to reach more people, and curating content rather than focusing on if it’s possible to get it done. You can act operate like a product manager and get away with it.</p><p>I don’t know Next.js. I’ve never written a line of it. I just ran npm run dev checked the browser, and told Claude what was wrong. It worked. There were only a few cases where it wasn’t able to figure out the fix and a little help from me made it work.</p><h4>AI Knows More Than You Think</h4><p>The amount of things you can do with Claude is crazy. It understands code really well, suggests changes, fixes bugs, fixes builds, understands UI elements, can give marketing ideas and so much more. Personally I haven’t worked with Google Adsense or Analytics before. I just asked Claude to integrate them and it gave me all the steps.</p><p>AI is very good at making frontend. It can switch between styles, write code to allow dark mode, integration tests for elements and fix padding. You can give it an image and ask it to use themes similar to it. I also asked what themes do developers like and it suggested a few. Tried out a few options and then chose one which worked well.</p><blockquote>If I were doing this a few years back, it would’ve taken me more than a few weeks. With AI, you can do this in a couple of days.</blockquote><h4>AI Can’t Differentiate Your Product</h4><p>Making the tools work, and scaffolding a decent UI that’s reproducible. Anyone can do it now and that’s a good thing. It has reduced the bar to do a lot of things like building websites, doing good SEO, deploying your website, etc. But will AI be able to build a differentiated product on its own? I think the answer is no. You need to come up with the features that would make your product much better. Some of the smaller things like below were my ideas:</p><ol><li>URL sharing: Send a formatted JSON to a colleague with one link.</li><li>History: Never lose your last 10 conversions</li><li>Smart defaults: placeholder text that teaches the tool</li><li>Full-screen mode, syntax highlighting, button placement</li></ol><p>All of these are simple ideas. But the current sites don’t do a good job and trying and testing them out gave me these ideas. None of these are hard to build. But AI didn’t think of them.</p><h4>Plan Mode is Underrated</h4><p>Plan mode is underrated. It forces you to think before you code. What’s the scope, what are the requirements, what could go wrong. Without it, Claude runs amok: building features you didn’t ask for, over-engineering simple tasks. With it, you save hours of backtracking. Keeps things simple and saves you time.</p><h4>Good at Fixing, Bad at Anticipating</h4><p>Given a problem, the fix is generally quick like the padding not being correct or the values not cleared correctly. But it isn’t able to catch it on its own during testing. It can write a lot of tests and get great code coverage but isn’t able to simulate user flows yet. Find weird things that users would do and expect it to work flawlessly.</p><h4>Complexity Matters</h4><p>This project was simple: stateless tools, no database, predictable patterns. AI thrived. But if I were building a database? Different story. It can write a B-Tree from scratch, but efficient page cache utilization? That&#39;s still on you. AI handles the mundane well. The difficult parts, the parts that make a product <em>good </em>still needs human judgment.</p><p>For critical infrastructure like databases or telemetry systems, reliability isn’t optional. If you don’t understand the code, it’s hard to convince others (or yourself) that it works. I’d still write that code myself.</p><p>For simpler products like this one? The code is mostly wrappers over existing libraries with a clean UI. The surface area for mistakes is small. You can trust the output more easily and even if you get it wrong it isn’t going to bring down a product.</p><blockquote>When reliability and security are critical, human intervention is still needed and that isn’t going anywhere.</blockquote><p>There’s a debugging asymmetry. When something breaks in a simple wrapper, you can usually spot the issue in minutes. When something breaks in AI-generated database code you don’t fully understand? You’re stuck reverse-engineering your own codebase.</p><p>AI-generated code is a black box until you read it. For this project, tools are isolated, stateless, and low-stakes. But the moment you’re handling user data, auth tokens, or money, that black box becomes a liability. The stakes define where to draw the line. When accountability is non-negotiable, I write the code myself.</p><h4>10x Productivity?</h4><p>It depends on the tasks you choose (and ones you don’t). But sometimes, we try using it for the wrong things. I’ve spent an hour and 10+ prompts fixing something I could’ve done myself in 5 minutes. I feel like you need to think of a reasonable time limit before every task, if it breaches that point then you shouldn’t go down the rabbit hole. Fix it yourself and you’ll save a lot of time.</p><p>An example: while implementing URL parameter sharing, Claude wasn’t able to combine the idea of all the tools together. It tried a lot of weird things. I wanted coherent naming conventions that would work across every tool. I spent 30 minutes going in circles. Then I switched to plan mode. Asked it to make a plan first. Made changes to the plan. <em>Then</em> went back to coding. It worked!</p><blockquote>Complex tasks + vague prompts = wasted time</blockquote><p>I think it’s great at research: Just get an idea of the options available like next.js or vanilla js and why it would work well. Which reddit communities should I target to get views? Would this domain do well? (All of these aren’t always going to be accurate but they paint a decent picture)</p><blockquote>10x productivity is real only if you know when to stop prompting and start doing.</blockquote><h3>Final Thoughts</h3><p>AI handles the how. You own the what. The bar to ship has never been lower. The bar to differentiate hasn’t changed.</p><blockquote>fastdevtools.com</blockquote><p>Built in two weeks, zero lines of code, and probably a few bugs I couldn’t think to test for.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b5961a43012" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What makes a good hero story?]]></title>
            <link>https://jinit245.medium.com/what-makes-a-good-hero-story-2d2f11877a00?source=rss-9742554d5456------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d2f11877a00</guid>
            <category><![CDATA[heroes]]></category>
            <category><![CDATA[movies]]></category>
            <category><![CDATA[storytelling]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[books]]></category>
            <dc:creator><![CDATA[Jinit Shah]]></dc:creator>
            <pubDate>Sun, 11 Jun 2023 04:56:31 GMT</pubDate>
            <atom:updated>2023-06-11T04:56:31.520Z</atom:updated>
            <content:encoded><![CDATA[<p>A hero is a person who wants to do good for society and goes above and beyond the call of duty to help everyone. There is a villain who wants to stop the hero and is initially able to defeat the hero. The hero then stumbles, learns and metamorphoses to defeat the villain. This ability to learn and overcome challenges is why I love heroes and their stories. So, what does the quality of the story depend on? My theories are a good background, more human characters and a worthy challenge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*adxOHXiyVScv7PR6" /><figcaption>Photo by <a href="https://unsplash.com/@javigabbo?utm_source=medium&amp;utm_medium=referral">Javier García</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>We need to know more about the characters. Heroes are often seen as ideal beings. One who can make no mistakes. But we relate more to flawed heroes. It makes them more human. Giving a background on the characters helps us understand their decisions. We become attached to the characters and almost wish they did something for themselves. Heroes don’t have to perfect and win every battle. Sometimes it is okay to make a mistake. But they always stand for what is right. Sometimes this has repercussions. So, let us talk about a film: Batman: Under the Red Hood. We have the introduction of a new villain: Red Hood. Robin is Batman’s sidekick who had worked with Batman from a young age. They have a good bond and Batman sees himself as responsible for his actions. The movie starts with Joker killing Robin and Batman isn’t able to make it in time. A new villain appears in Gotham who is wiping out the mafia. The intelligence and technique of Red Hood start reminding Batman of someone. He realizes that Red Hood is Robin. His mistake of not catching the Joker and keeping him alive has cost Robin. He turns evil and chooses to control the crime rather than eradicate it. Batman is trying to do the right thing but his choices have led him to this stage. His actions have almost forced Robin to become Red Hood and take up killing as his last resort. Is Batman a hero in this story? We see a very different side to heroes in the movie. Batman has to make some difficult decisions that challenge his moral compass.</p><p>Heroes face a lot of challenges. What if this challenge faced by the hero is only a physical one? Is that any less than a mentally challenging one? A challenge where the hero has to think, do research and draw logical conclusions. The hero has the put on the thinking cap, pull out a pen and paper, and solve complex problems. It doesn’t seem like a hero. The character sounds like the sidekick who does the mentally straining tasks (Gordon perhaps?). So, what is a worthy challenge? A challenge that plays to the strength of the heroes or one that forces them to evolve beyond their skillset? It would be weird seeing Captain America bent over a computer writing code to prevent a DOS attack. His strength is his courage and determination, and maybe that should be a part of his challenge.</p><p>It might be interesting to see what kind of challenges heroes face in their stories. Let us start with the Dark Knight Rises. A mercenary called Bane methodically renders the defense system of Gotham useless and proclaims to liberate the city. In the process, Bane breaks Batman physically and mentally. Bane says it best, you fight like a younger man, nothing held back. Bane then breaks his back and carefully lowers him into a pit. Legend says that nobody has escaped from the pit except a child. You can see that hope and despair go together. Bruce works hard to rebuild himself physically. But that isn’t the reason that he escapes. The illusion of a second chance is sometimes what is holding us back. Overcoming this mental challenge where so many people have died trying makes Batman a real hero. His strength is his mental and physical conditioning, and the story shows that. Batman beats Bane psychologically. He is smart this time, targets the mask, and beats Bane in a 1v1 situation. The challenge here is daunting, and so is the villain. But Batman wins his battle and frees the city. A story where the hero is forced to upgrade himself and put his character to the test.</p><p>Let us talk about another film, Black Panther. T’Challa is the king of Wakanda and set to inherit the throne and Killmonger enters the scene. He kills an enemy of the kingdom and challenges the throne. Killmonger was well within his rights to do so as he was a royal descendent. T’Challa realizes that his father had killed his brother and left Killmonger alone in the world. He doesn’t wish to fight him but the fight does happen. He’s defensive and just looking forward to getting out of this without anyone getting hurt. But Killmonger is a trained mercenary and ruthlessly beats T’Challa. This fight was life-threatening. Even under such conditions, if T’Challa cannot win, then Killmonger is the better fighter. But T’Challa comes back in the end and beats him. The physical fight has nothing to do with their journeys, abilities, and who the better fighter is. This kind of spoils the ending. You’d expect T’Challa to win and regain the throne but more logically. Home ground advantage and help from his sister shouldn’t be why the hero wins. But there might be a piece I’m ignoring. T’challa goes through an emotional awakening when he realizes his father wasn’t the man, he thought he was. He realizes that mistakes were made and it should be up to him to correct them. His duty and responsibility as a king are what motivate him and help him beat his enemy. Only with a good background in place can we understand the story better. The challenge here is formidable. The enemy is a member of the family. He overcomes emotional, psychological, and physical problems to win back the throne and his people.</p><p>Superheroes are the epitome of heroes. Maybe if we move to an average person, things might be different. I really like the movie, Drishyam. It is about a simple man who is trying to save his family. I’m not sure if he is doing the morally correct thing. The problem he is faced with is a daunting one. The whole family is put through physical and emotional torture. Vijay (Ajay Devgn) is smart, calculative, and resourceful. He disposes of shreds of evidence cleanly and trains his family very well. He is a simple man who is looking after his interests. This was a challenge they could not afford to lose. He performs exceptionally well when everything is on the line, which makes him a hero. Maybe heroes aren’t always about society. Maybe, it is about protecting your loved ones.</p><p>There seem to be a lot of pieces to make the story engaging. Background on the characters helps us understand their aspirations and reasonings. Making them more human helps us relate to them better. Maybe it is helpful to have both challenges as well. A challenge that forces the hero to think and another where they light up the screen. The ending should be dramatic. All the pieces come together and wreak havoc. The hero pressing the enter key at the end of a film and beating the villain would be a whimper of an ending. The hero must win a psychological battle to get to the physical one. A story without the final fight would feel incomplete.</p><p>What is your favorite hero movie? What do you think makes it great?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d2f11877a00" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reviewing Vistara & Mumbai’s Travel Club Lounge]]></title>
            <link>https://jinit245.medium.com/reviewing-vistara-mumbais-travel-club-lounge-6aac3f2005bf?source=rss-9742554d5456------2</link>
            <guid isPermaLink="false">https://medium.com/p/6aac3f2005bf</guid>
            <category><![CDATA[lounge-review]]></category>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[flight-review]]></category>
            <category><![CDATA[jainfood]]></category>
            <category><![CDATA[vistara]]></category>
            <dc:creator><![CDATA[Jinit Shah]]></dc:creator>
            <pubDate>Sun, 14 May 2023 05:34:51 GMT</pubDate>
            <atom:updated>2023-05-14T06:25:34.969Z</atom:updated>
            <content:encoded><![CDATA[<p>I traveled from Mumbai to Bangalore on the 5th of May, 2023. The T2 airport is impressive in both form and function. I arrived a little early and had ample time to roam around.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WMLlhrW36x94dt4n2szOKA.jpeg" /><figcaption>A glimpse of Mumbai</figcaption></figure><h3>Lounge</h3><p>Good food should be the minimum requirement of an airport lounge, but this place doesn’t meet that standard. The food options were limited, and even fewer Jain options were available. The main thing that lounges should sell is hospitality, but when I asked the manager and chef about Jain food, they could point me to three items: Sheera, Dhokla, and Dal vada. They refused any requests to make additional items. Even the vegetarian options were limited with only pasta and noodles available additionally. They did have fruits, salads, and random sauces, but the food should have been much better. I did notice a separate drinks counter, but I’m not sure if the drinks were complimentary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pEs0taQsoI97cIN9-TQtJQ.jpeg" /><figcaption>Some of the offerings at the Lounge</figcaption></figure><p>The lounge was less crowded, providing ample space to sit. The lounge was fairly quiet and had a good ambience. There were many boards displaying flight information to ensure you don’t miss your flight. A calm place with limited food options.</p><p>Rating the lounge:</p><ol><li>Seating and spacing: 3.5/5</li><li>Food: 1/5</li><li>Ambience and staff: 0/5</li></ol><p>Below-average (1.5/5) and a lot to improve on.</p><h3>Vistara</h3><p>I made it to the boarding gate just in time before the final call and thankfully didn’t miss my flight. The interiors of the plane were decorated in a soothing combination of purple and gold. The business class section looked very comfortable, and they were already serving juice to the business class flyers. The premium economy section, as the name suggests, is an interesting concept that falls between the economy and business classes. It looked similar to the economy seats, just a little more spacious.</p><p>The legroom in economy class is limited, making it uncomfortable for people who are 6ft tall. However, the seat has some upgrades, including a charging port and phone holder. While these additions are simple, they do enhance the overall experience.</p><p>The flying time from Bombay to Bangalore is only an hour and 15 minutes, but the scheduled flight time was from 5:30 to 7:15. We took off around 6 pm and soon after, I was served my Jain meal. I wasn’t expecting a meal at that time, so it was a pleasant surprise. The food was steaming hot and included a coconut ladoo for dessert, kachori, and chhole &amp; dal ki sabzi as the main course. It was an interesting combination and surprisingly filling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cFsCYYlqj4QTUlNoqbSMvQ.jpeg" /><figcaption>In-flight Jain Meal</figcaption></figure><p>Both the veg and non-veg meals looked appealing, but I can say the veg meal was good because the person beside me had it. Over the years, very few domestic flights serve proper food, but Jet Airways was the last airline I experienced that served a meal. Air India used to serve food, but their offerings were limited to samosas and juice, which isn’t much of a meal.</p><p>Ultra low-cost carriers like Go First, Indigo, and SpiceJet only serve water (at least pre-lockdown and the last time I traveled). Serving tea and coffee is the bare minimum in terms of hospitality, and I cannot understand the money they save by not serving a beverage to all passengers. The bar for making a person happy is quite low, and I think we should aim to exceed it more often. This meal definitely did that. They also served tea and coffee after the meal.</p><p>The flight was clean and smelled nice. The cabin crew was nice and served with a smile. The ambience and hospitality were great. The flight was slightly delayed and deplaned about 10 minutes after landing.</p><p>Rating the flight:</p><ol><li>Baggage handling and check-in: 5/5</li><li>Seating and spacing: 3/5</li><li>Food: 5/5</li><li>Ambience and flight staff: 5/5</li><li>Punctuality and in-flight entertainment: 3/5</li></ol><p>A pleasant flying experience (4.2/5) with great food on a clean and maintained aircraft.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6aac3f2005bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reviewing The Batman (2022)]]></title>
            <link>https://jinit245.medium.com/reviewing-the-batman-2022-fbc1f799a55c?source=rss-9742554d5456------2</link>
            <guid isPermaLink="false">https://medium.com/p/fbc1f799a55c</guid>
            <category><![CDATA[movie-review]]></category>
            <category><![CDATA[batman]]></category>
            <category><![CDATA[riddler]]></category>
            <dc:creator><![CDATA[Jinit Shah]]></dc:creator>
            <pubDate>Sat, 18 Feb 2023 19:09:29 GMT</pubDate>
            <atom:updated>2023-02-18T19:09:29.347Z</atom:updated>
            <content:encoded><![CDATA[<p>There is a new villain in town: the Riddler and also a new Batman. It is an intellectual battle between the two, one which you would have to say Batman loses. Gotham is in trouble and Batman manages to keep it afloat and allow people to rebuild their faith.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ixx7-LdFLFBQtGiPspXtlg.jpeg" /></figure><h3>What I like about the movie</h3><h3>Portrayal of Batman</h3><p>The portrayal of Batman is more human this time, both physically and mentally. He actually gets hit by people this time, which is definitely more believable. There are scenes where he needs the help of other people to escape and just doesn’t fly in his bat “thing” everywhere. The bat mobile is also more believable. You see him travelling, getting in and out of places. Just simple scenes of continuity that makes you think yes, Batman is just as human as us. He is gullible and falls into the traps of the Riddler. But here’s what is separating him from a normal human, he is willing to try, put effort into and actually make a change. He’s a hero because he believes in Gotham and is putting everything on the line to save it. You’ll see a different side to Batman. Not just the fighter and charmer. But someone who has to analyze crime scenes, follow leads and catch criminals. It is quite different from the one played by Christian Bale. Robert Pattinson adds a different touch.</p><h3>Story</h3><p>For someone who has no idea of the universe, they’ll still understand everything that is happening. The movie doesn’t feel long and the tension is well maintained. The backdrop of failure of the political system and institutions is well established. There are many elements at play: the election, Maroni’s drug bust, crime rings and the Wayne family. Corruption is rampant and the Riddler is looking to clean some of it. He does go after big names and the city is taken by shock. The fact that powerful people like the commissioner, DA and the mayor are corrupt says everything about the state of Gotham. By the time, the movie ends the state isn’t really any better. Some would argue in a worse off state but Batman has to keep trying. An interesting part is where the Riddler gets caught. He could easily get away with the murder but instead he chooses to get caught. Getting some facetime with Batman doesn’t seem reasonable. He is smart and keeps Batman running on his cues. So, it would be interesting to see if this is touched upon in the sequel.</p><h3>What I don’t like about the movie</h3><h3>Cinematography</h3><p>Barring a few scenes, the whole movie is shot in the night. Darkness is really his ally. I Would’ve really liked to see some morning scenes and at least some happy/non-gloomy weather. But it is kind of reflective of the mood. Batman is sad and drained, but still, he drudges on.</p><h3>Other Characters</h3><p>I would have liked to see more involvement and backstory of the villains: Falcone, the Riddler and Oz. All three have interesting stories and it all started from one point: the Renewal Fund. Their fates are intricately tied together after that event.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fbc1f799a55c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Habits, Death, and E-waste]]></title>
            <link>https://jinit245.medium.com/habits-death-and-e-waste-b71d4dec1747?source=rss-9742554d5456------2</link>
            <guid isPermaLink="false">https://medium.com/p/b71d4dec1747</guid>
            <category><![CDATA[waste]]></category>
            <category><![CDATA[ritual]]></category>
            <category><![CDATA[death]]></category>
            <category><![CDATA[habits]]></category>
            <dc:creator><![CDATA[Jinit Shah]]></dc:creator>
            <pubDate>Sun, 29 Jan 2023 08:25:56 GMT</pubDate>
            <atom:updated>2023-01-29T08:25:56.927Z</atom:updated>
            <content:encoded><![CDATA[<p>I like eating fruit before my meal. Not after or in between. Is there any scientific evidence to say this is a better dietary practice? Probably not. It’s just a habit now. Would I suggest to other people to do the same? Probably now, they have started spreading the idea. Some years down the lane, it might become a rule, and doing anything otherwise would seem like a crime.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hxz1nkf1STtncnti" /><figcaption>Photo by <a href="https://unsplash.com/@febev?utm_source=medium&amp;utm_medium=referral">Febe Vanermen</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Activities that we do overtime become habits. We also advise other people to do the same. These activities are more relevant when we are entering new fields. Older activities and things already have their habits associated with them, then you hear about them and follow them. Whereas, in new areas of life, things are gray. Electronics products are a recently developed area. Laptops, phones, and tablets were born a few decades back. Slowly, one starts forming habits around them like charging them every night and waking up seeing them first thing in the morning. Any break from these habits would require a conscious effort.</p><p>Throwing away electronic devices is a big question. They either exist in your drawer till the end of time or you probably exchange them for a newer device. You don’t see them again. Their existence doesn’t matter anymore. It sounds like death. Every region and religion has its own customs for death. Some prefer to cremate the bodies, and some prefer to bury them. Sometimes, they are buried with their worldly belongings. Death is the only thing constant since the start of life and it is bound to have its beliefs and rituals around it.</p><p>People who prefer to cremate the body have specific processes for it. Particular people have to lift the body from the house to the crematorium, a crying scene around it, family members not taking worldly pleasures for 14 days and feeding rice to crows. So, these things probably just started as a practice by someone and their close ones probably just took it up. Or are these rituals set in stone by a learned person? Any deviation from these practices is believed to have ramifications. The soul roams for eternity if the previous body is not disposed of correctly. The person can come back to haunt people for their worldly goals and doesn’t stop till someone fulfills them.</p><p>Some people prefer to bury the bodies with personal belongings. This seems reasonable as they would want them to have these possessions in their next life. There’s a chance that it might work and a chance that it might not work. If it works then voila! But if it doesn’t then it’s probably a loss to the next of their kin. The only person to set to gain from this practice is the person who died. But do you really want a possession that keeps reminding you of someone’s absence? It might seem reasonable to bury these emotional items. So, are these practices set in stone or just a thing started and followed by people over time? Grave robbers pose an interesting problem.</p><p>Rituals are sometimes more about the people left behind than the people who left. The ones left behind are suffering and looking to come to terms with death. Some rituals might be their beliefs and things they do to give themselves peace. Holding a funeral seems like one of them. People are bound to visit the family members of the deceased to console them. Why not call them at once and not relive the pain? Somehow people always speak good about the dead. Are we worried that we weren’t nice enough to them when they were alive? Or are we worried they might be scarier as ghosts?</p><p>We like to have control and substantiate why things happen. In this case, we don’t know enough. Why does a person die, who picks the time, and is there escaping it? But again, we like to reason with it. When a young person passes away, the common explanation is that God picks the best flowers in the garden first. Does this sound reasonable? Not really. But is it a reason? Yes.</p><p>I feel that something similar happens to our devices when we throw them away. The remains of these devices are sent far away from us. Probably buried with its charger or set aflame. Generally, the E-waste is sent to third world countries where workers try to scavenge the resources they can. The wires, devices, and cables are burnt to retrieve commodities like copper, aluminum, and brass. The process of burning is dangerous. The workers develop respiratory problems, dermatological problems, eye infections, neurological issues, and shorter lives. People aren’t doing this out of a choice and it’s a compulsion to earn a livelihood.</p><p>There are similarities and differences between the death of humans and devices. Both these items have valuable information and resources. Devices have metals that can be sold and probably user data if in usable form, and graves tend to have riches. Grave robbers are punished for extracting these valuable resources. The afterlife is where things get interesting. The extracted metals are reused in some form and used in making new devices. Bodies decay over time and their minerals are dispersed in the environment. These minerals are then used by plants or organisms, giving rise to new devices and the cycle continues. We tend to see the end coming, right? We generally just start looking for a newer one for phones and maximize the current one’s usage. We can’t do the same for people and it’s more difficult to replace them. Both phones and people are abundantly available, but that doesn’t stop us from choosing one and living with it. Even after they are gone, they can have an influence on our lives.</p><p>What would be scarier: a notification in the middle of the night that someone has logged into Gmail in your old Blackberry from Maui or your dead uncle asking for his bike? Both ghosts have a lot of power. They know a lot about you and will probably use that to get what they want. This might be a good time to add the dreaded 2 Factor Authentication to your account.</p><p>We have developed so many rituals around death. Will we have the same for our devices too?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b71d4dec1747" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Autocomplete using Tries]]></title>
            <link>https://medium.com/analytics-vidhya/autocomplete-using-tries-42aadd875d72?source=rss-9742554d5456------2</link>
            <guid isPermaLink="false">https://medium.com/p/42aadd875d72</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[trees]]></category>
            <category><![CDATA[try]]></category>
            <category><![CDATA[autocomplete]]></category>
            <category><![CDATA[algorithms]]></category>
            <dc:creator><![CDATA[Jinit Shah]]></dc:creator>
            <pubDate>Sun, 01 Nov 2020 05:53:21 GMT</pubDate>
            <atom:updated>2020-12-01T17:50:41.704Z</atom:updated>
            <content:encoded><![CDATA[<p>You know when you a type a word on google and it gives you suggestions/predictions on what you should search. Well, we’ll start off with something simpler! We’ll predict a word based on a given input something like an autocomplete feature.</p><p>I’ll be using c++ to implement a trie and search through it. You can find the code <a href="https://github.com/jinit24/Word-Predictor">here</a>.</p><p>Tries are powerful structures. You can think of a trie as a tree where each node stores an alphabet. So by traversing through the trie you can store, search and match for string.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3YjjU2UpiVma6gl0" /><figcaption>Photo by <a href="https://unsplash.com/@veeterzy?utm_source=medium&amp;utm_medium=referral">veeterzy</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3><strong>Node</strong></h3><p>I’ll be working only on lowercase letters. So,the number of total alphabets that we have are 26. The value each node stores is decided by the path taken from its parent node. So if we take the 0th path, the node stores ‘a’, 1st path stores, the node stores ‘b’ and so on. Each node has 26 children, some might be null.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f657f02ee134bfe3b7928dde4bfc96ac/href">https://medium.com/media/f657f02ee134bfe3b7928dde4bfc96ac/href</a></iframe><p>We also use three other values : end, size and maxfreq. End gives the number of words ending at this node or can be thought of the frequency of the word. Size gives the size of the sub-tree rooted at this node, so it is basically the number of words which use this node and and don’t end here. Maxfreq stores the frequency of the word which has the highest frequency and uses this node. (You’ll realize ahead why we need this variable)</p><h3><strong>Inserting Words</strong></h3><p>Instead of working with alphabets, we can reference them using numbers. We also add a root node which is the starting point. While inserting a string to the trie, we start with the first letter. We check if that child is not null, and move to it if it isn’t. If it is null, then we create a new node there. We keep repeating this process till we reach the end of the string. At the last node, we increase the value of its end. So this tells us a word ended here.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/561683eb197c9d75d60d43dbd85ff224/href">https://medium.com/media/561683eb197c9d75d60d43dbd85ff224/href</a></iframe><p>Here we haven’t updated the maxfreq variable. We need to traverse the same path again and update the nodes in this path, if the frequency of this word is greater than the original maxfreq.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d3ab2890f18272c0c2fc0924ab7192ee/href">https://medium.com/media/d3ab2890f18272c0c2fc0924ab7192ee/href</a></iframe><p>Now that we have inserted words, we move towards making predictions. The simplest one you can think of is the predicting the closest one : BFS (Breadth First Search) Let’s start off with that.</p><h3>Next Closest Words</h3><p>We now have to find the next closest words. First,we push in all the words that we could possibly have. So basically the whole dictionary or something similar. Then we take in a word, which we have to complete or predict the end of. So, once added, we start searching. For the next closest word, we will have to use some traversal technique. DFS or BFS ? But DFS will first traverse along one path and then move on the next child. This is different than what we want. We use BFS, as it traverse the layer completely and then moves on to the next one. We just check if a word ends there and add it to our predictions.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4fc76e667d0971d8296c654e11a9c562/href">https://medium.com/media/4fc76e667d0971d8296c654e11a9c562/href</a></iframe><p>For example the input is ‘rat’. We have reached the node which represents ‘t’ after traversing through the trie. We now push {this node, rat} to the queue, if rat is a word according to your trie then it will be added to our answer list.</p><p>Then line 17–19 adds all the children nodes to the queue. So this might push words like rate, rati, rats and others. So here rati isn’t a word but if rating exists in the trie, the node ‘i’ exists and hence it is pushed to the queue. We move to next member in queue which might be rate and repeat this process till we don’t find 5 words or the queue is empty.</p><p>You can find this code in the ‘initial’ branch of the github repository.</p><h3>Frequency based Prediction</h3><p>The above algorithm is quite simple and the results aren’t the best. We want to predict words based on the user’s usage of words. So we need like an input text where either each word’s frequency is given or just an essay. Then we can add these words to our trie and depending on the usage, each word’s frequency will be stored in the nodes.</p><p>Now that we have the frequencies of all the words how do we use it. We want to predict the one with maximum frequency right? This is where the maxfreq variable is helpful.</p><p>So again for a given input we reach the node which marks its end through traversal (node* temp) . We maintain a priority queue now, just to make things simpler. For each of its children, we add {maxfreq, input + ‘character’}, the character here could be from a to z depending on which child you are considering.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/27f2d09225af9ae315ea2704880d8e6b/href">https://medium.com/media/27f2d09225af9ae315ea2704880d8e6b/href</a></iframe><p>Then we pick the top 5 elements of the priority queue. But we still need to find the word which represents the maxfreq. How do we do this?</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/da2030c695f2b7cdc42324d4dffc9a56/href">https://medium.com/media/da2030c695f2b7cdc42324d4dffc9a56/href</a></iframe><p>Line 7–12 , We know that maxfreq is a child of the current node. Hence, we check each of its children if they have the same maxfreq value. If yes, we are moving in the right direction and towards the end of the word. If the node’s end/frequency is equal to the maxfreq then we have found our word.</p><p>Let’s take the same example, input is rat. Now for each child, if it exists we add the maxfreq to the priority queue. So the queue could be of the form - rats, ratd, rata and etc. The priority queue is sorted by its maxfreq value. So if you look closely you’ll realize we are picking 5 out of the 26 possible children. So if even rating and ratio both have very high frequencies compared to other words only one will be picked out of the two. We can increase the complexity by taking the grandchildren as well essentially picking 5 out of 676 possible cases. You’ll definitely have more accurate results.</p><p><strong>Random points to ponder over</strong></p><ol><li>Right now we are working assuming that the input is an exact prefix. We can try to incorporate cases with one mistake and/or extra character. The main traversal algorithm remains the same but the string we provide changes. Think about how you’ll merge all those predictions and based on what?</li><li>Is there any other criteria to consider other than length and frequency? Context can definitely used. But the problem is quantifying it and maybe grouping similar words together. Do we need a different data structure? Sounds very interesting though.</li><li>Can we extrapolate this idea of tree for predicting next words and consequently predicting sentences? So what do the nodes represent now?</li></ol><p>So this a very basic version of autocomplete where assume the input to be an exact prefix. If you get stuck anywhere, you can refer the code I’ve written. The github repository also has a command line like UI, do check it out!</p><pre>&gt;&gt; predict kin -v<br>Input is an exact prefix : kind king kinsman kinky kine <br>After assuming exactly one mistake: mind line lingered min kong <br>After assuming exactly one extra character: in into know knew kind <br>Time taken for query : 347 microseconds<br>Predictions are : kind king in into know</pre><p>Any questions or suggestions, feel free to hit me up! :D</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42aadd875d72" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/autocomplete-using-tries-42aadd875d72">Autocomplete using Tries</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ARIMA Model from Scratch in Python]]></title>
            <link>https://medium.com/analytics-vidhya/arima-model-from-scratch-in-python-489e961603ce?source=rss-9742554d5456------2</link>
            <guid isPermaLink="false">https://medium.com/p/489e961603ce</guid>
            <category><![CDATA[numpy]]></category>
            <category><![CDATA[arima]]></category>
            <category><![CDATA[forecasting]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Jinit Shah]]></dc:creator>
            <pubDate>Thu, 18 Jun 2020 14:19:40 GMT</pubDate>
            <atom:updated>2023-05-01T05:06:03.892Z</atom:updated>
            <content:encoded><![CDATA[<p>Are you tired of relying on libraries for ARIMA and forecasting? Have you ever considered writing it from scratch using NumPy and Pandas to gain a better understanding? Look no further, because this is the solution that will give you ultimate control over your data.</p><p>ARIMA (Auto Regressive Integrated Moving Average) is an incredibly powerful model used for time-series forecasting. The three main components of ARIMA are making the data stationary, Auto Regression (AR), and Moving Average (MA). By beginning with differencing the data to make it stationary, we can then estimate using AR, use MA on generated errors, un-difference the result and verify its accuracy.</p><p>Don’t settle for just utilizing existing libraries; take matters into your own hands by building a deeper comprehension by creating from scratch! Let’s dive in together as we explore every aspect of what makes up this intricate modeling method.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8vw5tlWE_5IZJjeI" /><figcaption>Photo by <a href="https://unsplash.com/@mischievous_penguins?utm_source=medium&amp;utm_medium=referral">Casey Horner</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>You can download the dataset from <a href="https://github.com/jinit24/ARIMA-Model/">here</a>. The dataset contains the details of daily bank transactions. We’ll group the amount by month and start the analysis.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8675af5ae6e3ca755da3607c336e2fe8/href">https://medium.com/media/8675af5ae6e3ca755da3607c336e2fe8/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*IaC2ZNjxiWvV-919UPzBig.png" /><figcaption>Total Amount transacted per month</figcaption></figure><p>Upon careful analysis, it is evident that there exists a discernible pattern of both trend and seasonality in the data. The general tendency to increase or decrease can be observed as recurring annually. Notably, June consistently experiences a marked surge compared to May every year.</p><p><strong>Part 1: Making the data stationary</strong></p><p>Various methods are available to achieve data stationarity, including logarithmic and differencing techniques. A previous value subtraction method did not result in stationarity due to a seasonal trend; therefore, the data was shifted by 12 units and subtracted again. To clarify, for June 1998’s value, May 1998’s value and June 1997’s value were subtracted accordingly. Different approaches can be tested to obtain desired results while ensuring stationarity using the ADF test.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cffb4956413912dabc7a535d4d62f247/href">https://medium.com/media/cffb4956413912dabc7a535d4d62f247/href</a></iframe><p><strong>Part 2: Auto-Regressive Model</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*WdjvvqnWHLG2hqGEGROkzA.png" /><figcaption>AR</figcaption></figure><p>When analyzing a value at time t, we assume that it is reliant on the previous p lagged values in a linear manner and has an error term associated with it. This method bears similarities to linear regression where X represents the p-lagged values while y denotes the value at time t. The order of p can be determined through ACF and PACF plots or deemed as a hyper-parameter given sufficient data. I shall not delve into selecting specific values for p here.</p><p>In this scenario, I partitioned my dataset into training (80%) and testing (20%) datasets for analysis purposes.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ac1c31a6271db803b4e2267e9bcd80e3/href">https://medium.com/media/ac1c31a6271db803b4e2267e9bcd80e3/href</a></iframe><p><strong>Part 3: Moving Average</strong></p><p>Now that we have generated the coefficients and intercept, we can get our predictions. The error difference between the actual value and predicted value will form our residues.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b32fc53fb11c62bc20a571e76a327e5f/href">https://medium.com/media/b32fc53fb11c62bc20a571e76a327e5f/href</a></iframe><p>Similar to the p, q is used here to denote the number of lagged observations. Again, it can be thought of a linear regression with q-lagged errors as X and the error as y.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5503ca1b06671254ca95dc8141c16872/href">https://medium.com/media/5503ca1b06671254ca95dc8141c16872/href</a></iframe><p>We now make combine the two AR and MA model to get our predictions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0cyEcrGfG2fXqKOY.png" /></figure><p><strong>Part 4: Un-differencing the data</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/483271b6501ca952b17996f536a1536d/href">https://medium.com/media/483271b6501ca952b17996f536a1536d/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/372/1*b1OvlNxVHXj_yIY8UIpsaA.png" /><figcaption>Final Predictions</figcaption></figure><p>So, there you go. Don’t hesitate to reach out and inform me of any errors that you may come across during your use of this code. For complete access to the source code, kindly click on the link <a href="https://github.com/jinit24/ARIMA-Model/">here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=489e961603ce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/arima-model-from-scratch-in-python-489e961603ce">ARIMA Model from Scratch in Python</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>