<?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 Abhishek Ravichandran on Medium]]></title>
        <description><![CDATA[Stories by Abhishek Ravichandran on Medium]]></description>
        <link>https://medium.com/@abhishekravichandran23?source=rss-e95d421c4801------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*bD4gdVwqSp0HNDOR</url>
            <title>Stories by Abhishek Ravichandran on Medium</title>
            <link>https://medium.com/@abhishekravichandran23?source=rss-e95d421c4801------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 13:30:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abhishekravichandran23/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[Workcation in Goa — Datalabs Team]]></title>
            <link>https://culture.optisolbusiness.com/workcation-in-goa-29489912e263?source=rss-e95d421c4801------2</link>
            <guid isPermaLink="false">https://medium.com/p/29489912e263</guid>
            <category><![CDATA[life-at-optisol]]></category>
            <category><![CDATA[workcation]]></category>
            <category><![CDATA[datalab]]></category>
            <category><![CDATA[optisol]]></category>
            <category><![CDATA[goa]]></category>
            <dc:creator><![CDATA[Abhishek Ravichandran]]></dc:creator>
            <pubDate>Mon, 27 Dec 2021 04:13:07 GMT</pubDate>
            <atom:updated>2022-06-23T11:46:53.858Z</atom:updated>
            <content:encoded><![CDATA[<p>A wise man once said, “<strong><em>To travel is to live</em></strong>”. But given the pandemic, it was the last thing that we could think of until a few days ago. We were all fighting against this pandemic by isolating ourselves and working from home. And hence it had been months since the <a href="https://www.optisolbusiness.com/"><strong>Optisol</strong></a> team met, interacted and had fun in person.</p><p>But, touch-wood, things are getting better and easier these days and people are slowly reverting to their normal lives. So, we, the <a href="https://datalabs.optisolbusiness.com/"><strong>Data Labs team</strong></a> of Optisol thought this could be the best time to plan a workcation to Goa — The fun capital of India.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aqQCOBx7TKRK1rV0Qgjx2w.jpeg" /></figure><p>Eight Tamil Nadu folks boarded the train at Coimbatore(<a href="https://www.linkedin.com/in/praneeth-ravichandran-964b621ab?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3BitTyudu4Sm6xDNtJ%2FnlofQ%3D%3D"><strong>Praneeth R</strong></a>, <a href="https://www.linkedin.com/in/balamurugamuthumani?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3B15vp%2BKyhS6Chr5MY2hIuiQ%3D%3D"><strong>Balamuruga M</strong></a>, <a href="https://www.linkedin.com/in/lingeshwaran-r-j-5242871b5?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3B0xqxBo2uTTikwCMfd4Sdvw%3D%3D"><strong>Lingeshwaran RJ</strong></a>, <a href="https://www.linkedin.com/in/nizamudeen-k-9b85a6155?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3BsS8NEh%2B0SwKPIakEsMA9pQ%3D%3D"><strong>Nizamudeen K</strong></a>, <a href="https://www.linkedin.com/in/shankarnd?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3BSPZWbT5aR4SjP7A6EuiXaQ%3D%3D"><strong>Shankar Narayanan</strong></a>, <a href="https://www.linkedin.com/in/abhishek-5b1699159?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3BIOaxbBFdRpeES%2FderFeAMw%3D%3D"><strong>Abhishek R</strong></a>, <a href="https://www.linkedin.com/in/sharat-chandar-murugesan-136951168?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3B4y2XXjKETNuV%2Bh0Vob5kpQ%3D%3D"><strong>Sharatchandar M</strong></a>, <a href="https://www.linkedin.com/in/vinoth-arjun-367650156?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3BFk0sj7EARz21wndmSDjZeQ%3D%3D"><strong>Vinoth A</strong></a>). Two from UP (<a href="https://www.linkedin.com/in/vishal-sharma-84b322216?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3BfSiQroSnTOW105vfOXRhDA%3D%3D"><strong>Vishal Sharma</strong></a>, <a href="https://www.linkedin.com/in/yash-kumar11?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3BReW3zoZORaK9IZuS1uitmA%3D%3D"><strong>Yash Kumar</strong></a>) joined us directly in Goa. Almost meeting everyone for the first time, But later, it didn’t feel like that. It all started on a good note. The exchange of music and cinema gossip was really fun. Playing cards was a good time pass. And one thing that united all of us was food. Trying different snacks spiced up the train journey.</p><p>The stay in Goa was well planned to keep everyone’s comfort in mind. Since it was a workcation, everyone wished for a hostel kind of stay where everybody can get to sit in one place and work. <strong>Monkey Mind Hostel</strong> at South Goa and <strong>Hashtag Rooms</strong> at North Goa was what all of us agreed to. It was economical and matched all our expectations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YYhrg0GxccH32QVRyEnXgw.jpeg" /><figcaption>BU-3 Boys</figcaption></figure><p>After stepping into goa, most of us felt bad for skipping the Hindi classes during school days. But thanks to <strong>Yash Kumar</strong> and <strong>Vishal Sharma</strong> — the two guardian angels of the whole troop, who helped us in communicating in the local language. It took nearly half a day to rent cars and start planning. We all know that <strong>BEACH</strong> is the <strong>B</strong>est <strong>E</strong>scape <strong>A</strong>nyone <strong>C</strong>an <strong>H</strong>ave.</p><blockquote><a href="https://culture.optisolbusiness.com/did-you-know-where-the-hr-team-went-for-team-tour-c73e0052cd7"><strong><em>Read — HR Team in Gods Own Country</em></strong></a></blockquote><p><strong>Day 1 —</strong> We started our beach campaign from <strong>Palolem</strong> Beach, the famous beach in South Goa. It was a peaceful and soothing experience. Since it is the southmost point of Goa, we had to travel for more than an hour from where we were to experience this calmness. There was not much crowd; Maybe this is the speciality of South Goa. Not a happening place, yet it was peaceful to stay there. All of us started working with more enthusiasm and felt like our productivity got increased after breathing the salty air of the Palolem Beach.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eF4pjWGtpt6nvrW-LJNYPg.jpeg" /><figcaption>Palolem Beach at South Goa</figcaption></figure><p><strong>Day 2</strong> — After working for the whole day, we headed to the <strong>Colva beach</strong>. It was so nice to see the sunset and beautiful scenery. It was when we realised that it was high time to change our display pictures in Microsoft Teams and started clicking candids in the magical hours.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EmWHyot9M5T9dDLaEQBuLg.jpeg" /><figcaption>Colva Beach at South Goa</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NsE8tTZhJjDCd85Ik-ohRg.jpeg" /><figcaption>Magical Hour at Colva Beach</figcaption></figure><p><strong>Day 3</strong> — We all started a little early in the morning in North Goa. After getting settled in the hostel we were back in business and started working for the day. Then in the evening, we spend our time in <strong>Anjuna Beach</strong>, famous for its stunning ambience and swaying palm trees. Where-ever we go sunset was stellar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v4KB5T48V-lVk93z6ERIpw.jpeg" /><figcaption>Hashtag Rooms at North Goa</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3YVIhJBuwXyJ9B23SZP_YA.jpeg" /><figcaption>Anjuna Beach at North Goa</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kpLa9nT3aXgHtYJd7bPL0g.jpeg" /></figure><p><strong>Day 4 </strong>— Usual morning but a different day, thereafter we went to <strong>Baga Beach</strong>, one of the most happening beaches in Goa. Beach was heavily packed with colour lights and live music to set up the feel of being in the Nightclub. Until that moment, we felt like we were in Kerala.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fdJ4GsEg2CD0iDtj0LhX5Q.jpeg" /><figcaption>Baga Beach at North Goa</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mMbDKkGgK1AHgcH-H1Mh2g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5bWTonGh4MFxeEFZjISEnw.jpeg" /></figure><p>After wandering around Baga Beach, we wished to meet one of the heroes of <strong>OptiSol Business Solutions</strong>, <a href="https://www.linkedin.com/in/karthicchandran?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3BsBBedmL6TgisF3cBIB5RMQ%3D%3D"><strong>Mr.Karthic Chandran</strong></a> who came to Goa with his family. We were all excited to see him due to the fact that many of us haven’t seen him in person and listened to his fruitful stories and experience. He also showed the same level of enthusiasm to meet us and without giving a second thought, he accepted to give us his special appearance in this Workcation. As we all anticipated it turned out to be a great outing with our own CK. We enjoyed his company with a pleasant dinner. Thank you so much for your sweet presence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5SfrmVu6iH5yDWbKrq74TQ.jpeg" /><figcaption>Dinner Out with Kartic Chandran</figcaption></figure><p>Day 5 — After working for half a day, we started at <strong>Chappora Fort</strong> famously called <strong>Dil Chahta Hai Fort</strong>. The fort is best visited in the evenings, once the fierce afternoon heat has receded. It offers a spectacular view over the peninsula, the Chapora River and the beaches of Chapora, Anjuna and Vagator. It is also a great place to watch the panorama of a fiery sunset over the Arabian Sea. This alone makes a visit and the climb up to the Chapora Fort, more than worthwhile.</p><p>Thereafter, we headed to <strong>Vagator Beach</strong> which is famous for its notorious rave parties that go well into the late hours of the night, its flea markets and the picturesque red laterite cliffs that overlook the beach. We had valuable time in the water and felt heavy as we came out, carrying cute little memories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LKwOPIJK_elJsRDjc8QGiw.jpeg" /><figcaption>Chappora Fort at North Goa</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DysQPBTeUcY4lAPTInwM2Q.jpeg" /><figcaption>Chappora Fort Viewpoint</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eGAxxKAIkzl4Kb2SGk7Gcw.jpeg" /><figcaption>Vagator Beach at North Goa</figcaption></figure><p>Day 6 — That day, we, workcation doods got some vacation mood. Took a day off, and planned for water sports on <strong>Grande Island </strong>— an island near Vasco da Gama. This is the best package happening in Goa. It’s the best because, at a pocket-friendly price, you can enjoy the best place in Goa. The Grande Island or monkey beach trip starts in the morning. It is a daylong package which is rejuvenating as well as exhilarating.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JmBzjv0yHqw9VbKIjwyG-w.jpeg" /></figure><p>The trip starts from the boat jetty near cocoa beach. You will be taken to the destination on a boat. It’s not only a trip to the destination, but it’s a trip where sightseeing from the water is included. You will see so many places which look absolutely different from the land. You will see Aguada fort, merchant’s bungalow, central jail, and a few beaches from the mid-sea.</p><p>The monkey beach trip has all of it in it. You just have to book your trip and the fun follows. A Grand island trip is not only about the island visit but it is about the various refreshing water activities too. Once your journey starts, you will be welcomed by the lovely dolphins. Watching them twirl and twist in the blue Arabian Sea is really remarkable. The feeling when we watch it can’t be described in words.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uGVs53GAskeGw2hMZLCR7w.jpeg" /></figure><p>The dolphin sighting is followed by <strong>scuba diving</strong> and swimming in the mid-sea, which are exciting water sports too. Scuba diving is a must when paying a visit to India’s most vibrant and happening coastal state, Goa. Money spent is worth every penny as the experience gained is priceless. Scuba diving in Goa offers the best experience at a very attractive price and prioritizes safety.</p><p>For all those looking to get high, go scuba diving and feel high like never before. For all the adventurous souls out there who are willing to go out of their comfort zone to experience the magnificence that the world has to offer, scuba diving is for you. Satiate your souls with the incredible scuba diving experience that no alcohol or drug can provide.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*thWOJfMnLpccJoj_dJsaZA.jpeg" /><figcaption>Scuba Diving at Grande Island</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vgzrsBlIAbLNffWHvdhGqw.jpeg" /></figure><p>Other water activities like <strong>Parasailing</strong>, <strong>Jet-ski</strong>, <strong>Banana ride</strong> and <strong>Bumper ride</strong> were also included in this tour package. Every minute spent was worth a while.</p><p>Day 7 — The finale of this workcation series ended up on a high note. Our plan was uncomplicated, start early, and hand over the vehicle to the owner without any hassle. Play <strong>UNO cards</strong> till the train comes. As people say — “Our greatest strength is our greatest enemy”. Google maps ensured to give us flavours of tension. As it kept on suggesting alternative routes, one of our vehicles happen to miss the route and was forced to take a small road. It was too small, to drive a remote-control car on that road is itself a challenging task.</p><p>To leave a way for a car in opposite direction, one side of the car got stuck in the ditch. 2–3 cars in order to give us company, parked their vehicle in a similar manner and struggled along with us. But our struggle was so hard, that we had no other go but to avail towing service to relieve our vehicle from the ditch. It cost us money and time. But thank God, there was no clue about that incident in the car.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*PmpiZG7YtfZhyuZSsiMVqg.jpeg" /></figure><p>Day 8 — Nothing much to describe that day, boarded a train and took good rest and passed away time by playing cards. By Night everyone reached their home with a bag full of memories that would last forever.</p><p>After getting used to working from home during this covid out-break, everyone is feeling exhausted and stressed. These kinds of trips are absolutely necessary for every working professional. OptiSol didn’t disappoint their employees and so do us. We had a perfect blend of high-yielding and leisure time.</p><p>Many takings from this workcation trip, this troop is simply best and no-one died of boredom. With these people hanging around, we never felt this as a workcation trip. Thanks to <strong>Praneeth R</strong> and<strong> Balamuruga M</strong> for organizing this workcation to Goa. Without them, this trip wouldn’t be a successful one.</p><p>Article by <strong>Abhishek R.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29489912e263" width="1" height="1" alt=""><hr><p><a href="https://culture.optisolbusiness.com/workcation-in-goa-29489912e263">Workcation in Goa — Datalabs Team</a> was originally published in <a href="https://culture.optisolbusiness.com/">Life at OptiSol</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to build a custom NER Model?]]></title>
            <link>https://techmusings.optisolbusiness.com/how-to-build-a-custom-ner-model-6425d9b271cf?source=rss-e95d421c4801------2</link>
            <guid isPermaLink="false">https://medium.com/p/6425d9b271cf</guid>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[spacy]]></category>
            <category><![CDATA[custom-ner]]></category>
            <dc:creator><![CDATA[Abhishek Ravichandran]]></dc:creator>
            <pubDate>Thu, 18 Nov 2021 11:23:44 GMT</pubDate>
            <atom:updated>2021-11-19T03:49:02.944Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*JjRrp8lwh3aD1B7813067w.png" /></figure><h3>What is NER?</h3><p>Named Entity Recognition (NER) is a Natural Language Processing Technique which is used to extract proper entities in a given text content and classify the extracted entites under pre-defined classes. To put in simple words, NER is a technique used to extract entities such as person names, location names, company names, etc from a given text. NER has its own importance when it comes to information retrieval.</p><h3>How does NER work?</h3><p>Naturally after reading a particular text, Humans can recognize some common entities like person name , date and so on. But to do the same with the aid of computers, we have to help the computer learn and do the task for us. To do so, we can avail services of Natural Language Processing (NLP) and Machine Learning (ML). The role of NLP is to make possible for the computer to read text, communicate with humans , understand their sentiments and interpret it by knowing the patterns and rules of languages. And the role of ML is to help machines learn and improve in time.</p><p>Like how we define a heartbeat as a two-part pumping action, we define the working of NER as a two-step process, 1. Identify the named entity 2. Categorize the named entity.</p><p>Let us take an example.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6232f62f5eda301e805e64bad9d9d2b0/href">https://medium.com/media/6232f62f5eda301e805e64bad9d9d2b0/href</a></iframe><p><em>Output</em></p><pre>[(&#39;Sundar Pichai&#39;, &#39;PERSON&#39;), (&#39;Google Inc.&#39;, &#39;ORG&#39;), (&#39;1972&#39;, &#39;DATE&#39;), (&#39;India&#39;, &#39;GPE&#39;)]</pre><p>A NER algorithm can highlight and extract particular entities from a given text.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1c25785f5816829ecd0bcfdeb632f1d4/href">https://medium.com/media/1c25785f5816829ecd0bcfdeb632f1d4/href</a></iframe><p><em>Output</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*7EJVTmhImNvV6TqEdtdmVQ.png" /></figure><p>Spacy library allows us to train a NER by updating the existing model according to the specific context or train a fresh NER model as well. In this article we can explore how to build a custom NER model to extract <strong><em>education details from resume data</em></strong>.</p><h3>Building a custom NER model</h3><h4>Importing necessary libraries</h4><p>Like performing rituals before kick-starting a new project, we have to import necessary libraries.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/443696a547ad3563f86a4ee6a428c78e/href">https://medium.com/media/443696a547ad3563f86a4ee6a428c78e/href</a></iframe><h4>Training Data</h4><p>First we need to create entity categories such as Degree, School name, Location, Percentage &amp; Date and feed the NER model with relevant training data.</p><p>Spacy library accepts the training data in the form of tuples containing text data and a dictionary. The dictionary should contain the start and end indices of the named entity in the text and category of the named entity.</p><pre><strong>TRAIN_DATA </strong>= [(“Higher School Certificate, Parramatta Marist High School, Westmead (1998)”,{“entities”:[(0,25,”degree”),(27,56,”school_name”),(58,66,”location”),(68,72,”date”)]}),</pre><pre>(“Bachelor of Business, University of Western Sydney (2005) “,{“entities”:[(0,20,”degree”),(22,43,”school_name”),(44,50,”location”),(52,56,”date”)]}),</pre><pre>(“2007–2010 BCA (Bachelor of Computer Application) from Khalsa college for women, Amritsar (Affiliated to Guru Nanak Dev University (G.N.D.U) India “,{“entities”:[(0,9,”date”),(12,50,”degree”),(54,78,”school_name”),(80,88,”location”)]}),</pre><pre>(“2010–2013 MCA (Masters in Computer Applications) from Amritsar College of Engineering, Amritsar (Affiliated to Punjab Technical University (P.T.U) India. “,{“entities”:[(0,9,”date”),(10,48,”degree”),(54,85,”school_name”),(87,95,”location”)]})]</pre><pre><em>                             (Truncated)</em></pre><h4>Creating Blank Model</h4><p>The very first baby step in building a cutom model is to create a blank ‘en’ model. This blank model is built to carry out NER process.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b4d84a2ceda7c40e9dd7e8fea29834aa/href">https://medium.com/media/b4d84a2ceda7c40e9dd7e8fea29834aa/href</a></iframe><h4>Pipeline Set-up</h4><p>Next step is to set-up the pipeline with only NER using <em>create_pipe</em> function.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5767679e2044067922e3b5b6ca0868b8/href">https://medium.com/media/5767679e2044067922e3b5b6ca0868b8/href</a></iframe><h4>Training the model</h4><p>Before starting to train the model, we have to add the categories of the named entities (Labels) to the ‘ner’ using <strong><em>ner.add_label()</em></strong> method and then we have to disable other pipeline components apart from ‘ner’ since these components should not get affected while training. we train the recognizer by disabling those components using <strong><em>nlp.disable_pipes()</em></strong> method.</p><p>To train the ‘ner’ model, the model has to be looped over the training data for sufficient number of iterations. For that, we use n_iter which is set to 100. Inorder to ensure that the model does not make generalizations based on the order of the examples, we will shuffle the training data randomly before every iteration using <strong><em>random.shuffle()</em></strong> function.</p><p>We use <strong><em>tqdm()</em></strong> function for creating Progress Meters or Progress Bars. <strong><em>Example</em></strong> class holds the information for one training instance. It stores two objects, one for holding the predictions of the pipeline and other for holding the reference data. <strong><em>Example.from_dict(doc,annotations)</em></strong> method is used to construct an Example object from the predicted document (doc) and the reference annotations provided as a dictionary (annotations).The <strong><em>nlp_update()</em></strong><em> </em>function can be used to train the recognizer.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6262b2e86e0b2aa7930dce73e3357ac7/href">https://medium.com/media/6262b2e86e0b2aa7930dce73e3357ac7/href</a></iframe><p>Training Losses</p><pre>100%|██████████| 264/264 [00:03&lt;00:00, 85.77it/s]</pre><pre>{&#39;ner&#39;: 1374.9512253289013}</pre><pre>100%|██████████| 264/264 [00:03&lt;00:00, 87.11it/s]</pre><pre>{&#39;ner&#39;: 1019.8016201121706}</pre><pre>100%|██████████| 264/264 [00:03&lt;00:00, 80.58it/s]</pre><pre>{&#39;ner&#39;: 1005.1642449391736}</pre><pre>100%|██████████| 264/264 [00:03&lt;00:00, 81.42it/s]</pre><pre>{&#39;ner&#39;: 939.7529402925834}</pre><pre>100%|██████████| 264/264 [00:03&lt;00:00, 80.36it/s]</pre><pre>{&#39;ner&#39;: 900.2848344074926}</pre><pre>100%|██████████| 264/264 [00:03&lt;00:00, 75.66it/s]</pre><pre><em>                           (Truncated)</em></pre><h4>Saving the model</h4><p>Save the model which is stored in the <em>output_dir</em> variable and export the model as a pkl file.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/82550537455dd2c8a4ea35f621bba1e5/href">https://medium.com/media/82550537455dd2c8a4ea35f621bba1e5/href</a></iframe><h4>Testing the trained model</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ccc8887146b4c9d45955d895bd76b30c/href">https://medium.com/media/ccc8887146b4c9d45955d895bd76b30c/href</a></iframe><p>The output will look like this</p><pre>date  ------&gt;   2015-2017<br>degree  ------&gt;   BE Chemical Engineering<br>school_name  ------&gt;   Coimbatore Institute of Technology<br>location  ------&gt;   India</pre><h3>Use Cases</h3><ol><li>Extract Structure from Unstructured Text Data — Entity extraction like education and other professional information from Resumes.</li><li>Recommendation system — NER can aid recommendation algorithms by extracting entities from one document and storing these entities in a relational database. Data science teams can then create tools to recommend other documents that have similar entities mentioned.</li><li>Customer Support — NER can be used to categorize the complaints registered by customers and assign it to the relevant department within the organization that should be handling this.</li><li>Efficient Search algorithm — NER can be run on all documents to extract entities and be stored separately. The next time a user searches for a term, that search term would be matched with a smaller list of entities in each document, which leads to faster search execution.</li></ol><h3>Pros</h3><ol><li>SpaCy NER model learns very quickly with few lines of annotated data. More the training data better will be the performance of the model.</li><li>Many open-source annotation tools are available for creating training data for SpaCy NER model.</li></ol><h3>Cons</h3><ol><li>Ambiguity and Abbreviations -One of the major challenges in identifying named entities is language. Recognizing words which can have multiple meanings is difficult.</li><li>Words which are not used very frequently these days is another major challenge. Words like person names, location names etc.</li></ol><h3>Conclusion</h3><p>For entity extraction from resumes, we prefer custom NER over pre-trained NER. This is because pre-trained NER model will have only common categories like PERSON,ORG,GPE etc. But when we build a custom NER model, we can have our own set of categories which is suitable to the context that we are working on.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6425d9b271cf" width="1" height="1" alt=""><hr><p><a href="https://techmusings.optisolbusiness.com/how-to-build-a-custom-ner-model-6425d9b271cf">How to build a custom NER Model?</a> was originally published in <a href="https://techmusings.optisolbusiness.com/">Tech Musings</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Analytical purview to IPL 2021]]></title>
            <link>https://medium.com/swlh/analytical-purview-to-ipl-2021-8cb08e60b12a?source=rss-e95d421c4801------2</link>
            <guid isPermaLink="false">https://medium.com/p/8cb08e60b12a</guid>
            <category><![CDATA[indian-premier-league]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[cricket-analysis]]></category>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[2020]]></category>
            <dc:creator><![CDATA[Abhishek Ravichandran]]></dc:creator>
            <pubDate>Thu, 11 Feb 2021 02:17:14 GMT</pubDate>
            <atom:updated>2021-02-11T02:17:14.526Z</atom:updated>
            <content:encoded><![CDATA[<p>We were lucky to witness the 13th season of IPL during these unprecedented times, thanks to <strong>Sourav Ganguly </strong>and <strong>Jay Shah</strong>. It was quite a roller-coaster ride with full of surprises throughout the tournament only second to Indian soap operas in terms of drama.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*U3NgiGWr4t1R9p6EStSPOg.png" /></figure><p>A team synonymous to IPL failed to qualify for the play-offs for the first time in the tournament’s history. RCB failed to win the trophy (Oh no, we were talking about surprises), two super overs in a single day and a drawn super over which led to another super over unlike the WC fiasco (sorry Kiwis😪).</p><p>Every team found their pearls in the great sea of Cricket. Rajasthan Royals found an unlikely hero in <strong>Rahul Tewatia</strong>, <strong>Natarajan</strong> reported a back injury after carrying the SRH pace attack in the absence of<strong> Bhuvi </strong>(romba thanks bhuvi), <strong>Sunil Narine</strong> had to change his bowling action for the umpteenth time while <strong>Varun Chakravarthy</strong> emerged a worthy successor for the mystery spinner. Special Mentions — <strong>Ravi Bishnoi</strong>, <strong>Devdutt Padikkal</strong>, <strong>Sam Curran. </strong>No list is complete without them — <strong>Kedar Jadhav</strong> and<strong> Prithvi Shaw</strong>.</p><p>Here I’m trying to visualize how each team has performed in IPL 2020 by chopping the innings into 3 pieces. Rate at which the team scores — <strong>Run rate</strong> is taken into consideration for picturing the batting performances of each team and similarly for bowling, <strong>Bowling Average</strong> and <strong>Strike Rate</strong> is taken into account.</p><p><strong>TOSS TIME!!</strong></p><p>Being my first blog, it’s my call and I go with tails. Coin is flipped and fortunately head of the nail turns to be a <strong>TAIL. </strong>So yes, I’m starting with my <strong>batting analysis.</strong></p><blockquote><strong>1ST INNINGS</strong></blockquote><p><strong>Run rate: </strong>It is the average number of runs a batting side scores per over. The higher the run rate, more powerful the team is, in scoring runs.</p><p>Limited overs cricket is made of 3 phases — Opening, Middle and Death overs with each having its own importance. A team performing well in all the phases is bound to win a match , but cricket is a funny game . As we can see below DC in spite of being mediocre in the PPs ended up runner up in this 2020 edition of the IPL as they had put up good performances in middle and death overs . DC scored the most number of runs in IPL 2020.</p><p><strong>Powerplay</strong></p><p>The word PP signifies the impactful scoring rate in typical T20 match. As experts say Cricket is a game of uncertainties . Who’d have thought that PP would extend beyond the traditional 1–6 overs by reducing it to 4 block overs and two overs when the team wanted to. Thanks to Power surge in the BBL, teams benefitted strategically and fans benefitted dramatically.</p><p>Coming to IPL, where the concept of Power Surge is Latin. We witnessed scores of 220 being chased down with ease and teams chasing scores below 150 being put under seize. One major contribution to the success of both high scores and low scores while batting is a good aggressive start.</p><p>IPL has witnessed various opening combinations with iconic openers like <strong>Chris Gayle</strong>, <strong>Brendon McCullum</strong>, <strong>Matthew Hayden</strong> and <strong>Viru pa</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*6B12L1nMr1jhfY6IhX_dBw.png" /><figcaption>Run rate in PP overs</figcaption></figure><p>2020 was nevertheless with MI [8.03 rpo] having staggering starts from the likes of<strong> De Kock</strong> and <strong>Rohit Sharma</strong> in the season opener and SRH [7.98 rpo] with <strong>Warner</strong> and<strong> Bairstow</strong> smashing bowlers all around the park. Both teams had strong backups to make up for injuries.</p><p>KXIP, RR, RCB and DC were mediocre in the powerplays with their run rate being 7.81, 7.48,7.16 and 7.11 respectively.</p><p>KKR [6.9] and CSK [6.89] were struggling to find an opening pair who can “<strong>Power-play</strong>”</p><p><strong>Middle Overs</strong></p><p>A destructive powerplay should be followed by a constructive middle over phase. “Chasing 226, men in yellow couldn’t achieve the target after being 100–2 at the end of the powerplay in 2014”</p><p>An ideal middle over phase acts a catalyst to finish off the death overs well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*embJkqxpa-8xh-kFzQupRA.png" /><figcaption>Run-rate in Middle overs</figcaption></figure><p>In 2020 IPL we witnessed intelligent batting during the middle overs. MI and KXIP top the list with 8.076 rpo and 7.961 rpo respectively with <strong>Suryakumar Yadav</strong>, <strong>Ishan Kishan</strong> and <strong>KL Rahul</strong> anchoring the innings for their respective teams. DC (7.831), RR (7.829) and SRH (7.486) fall in the next bracket of teams with relatively lower run rates with their middle order not consistently standing up to the occasion, followed by KKR (7.300), CSK (7.174) and RCB (6.881) with not so good batting display in the middle overs. RCB were too dependent on the <strong>Virat</strong> and <strong>AB</strong> duo which has always been the case while CSK carried their powerplay form to the middle overs. KKR definitely missed the <strong>Nitish Rana</strong> and <strong>Dinesh Karthik</strong> of the past in the middle overs.</p><p><strong>Death Overs</strong></p><p>Death Overs as the name suggests is a do or die battle. We saw some terrific hitting in the death overs from many players with <strong>Rahul Tewatia</strong> being a surprise package smashing <strong>Cottrell</strong> for 30 runs in an over winning the game for RR.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*53WHLGhxWc1Ml53aCG558w.png" /><figcaption>Run-rate in Death overs</figcaption></figure><p>MI was on a league of their own with a run rate of 12.568. CSK (10.682), RR (10.367), KKR (10.124) and RCB (10.049) are the next class of teams with great run rates. KXIP (9.619) and DC (9.353) didn’t perform well as their counterparts. Finally, SRH (8.764) who were pretty much dead during the death overs.</p><p>MI clearly set a benchmark for batting at the death, thanks to fire powers like <strong>Hardik Pandya</strong> and <strong>Pollard</strong>. CSK had <strong>Jadeja</strong>,<strong> Sam Curran</strong> supported by <strong>FAF</strong>, of course. RR had a never-ending batting line up with <strong>Tewatia</strong> and <strong>Archer</strong> smashing sixes left and right. KKR had <strong>Morgan</strong> and<strong> Cummins</strong> with their usual suspect not having a good season in his standards. RCB with their, for the nth time — “regular duo”.</p><p><strong>KL Rahul</strong> was the leading run scorer for KXIP during all the phases of a match which shows how pivotal and indispensable he is for the team, he batted throughout the game anchoring the innings helping his team put a respectable total every now and then, he was supported from<strong> Nicholas Pooran</strong>. <strong>Maxwell</strong> didn’t show shades of his BBL self in the latest edition of the IPL, failing to hit a single six in the 112 balls he totally faced during the season. DC didn’t have the big hitters at the end with <strong>Pant</strong> not up to the mark and <strong>Stoinis</strong> batting in the middle overs for most of the matches, he was their top scorer at the death nevertheless.</p><p><strong>Williamson</strong> was the top scorer at the death for SRH who only played during the business end of the tournament pretty much sums up their performance.</p><blockquote><strong>2ND INNINGS</strong></blockquote><p>As I mentioned earlier, I’m using Bowling Average and Bowling Strike Rate for my bowling Analysis.</p><p><strong>Bowling Average: </strong>Bowling average is the number of <strong>runs</strong> they have conceded per wicket taken. The lower the <strong>bowling average</strong> is, the better the Team is performing.</p><p><strong>Bowling Strike-Rate: </strong>Bowling strike rate is defined as the average number of balls bowled per wicket taken. The lower the <strong>strike rate</strong>, the more effective a team is at taking wickets quickly.</p><p><strong>Powerplay</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*h6tkBuqExJRUPchNtrgvpQ.png" /><figcaption>Bowling Average (Bowl Avg) and Bowling Strike Rate (Bowl SR) in Powerplay overs.</figcaption></figure><p>MI always gave a blistering start whenever they got the new ball. They had star foreign bowlers <strong>Trent Boult</strong>,<strong> Nathan </strong>gave a wonderful start supported by <strong>Bumrah </strong>and <strong>K Pandya</strong> whenever necessary during the Powerplay. They maintained an alluring bowling average of 21.65 and a strike rate of 19.23. They were able to strike the batsmen early and concede less runs in the powerplay overs. Next team to have an impactful bowling attack is SRH, they were able to take at least one wicket in the first 4 overs they bowled and conceded runs at an average of 27 for their opening spell. They showed an amazing bowling display with <strong>Sandeep Sharma </strong>and <strong>T Natrajan </strong>bowling in the powerplay in the absence of <strong>Bhuvaneshwar Kumar</strong>. DC were having a composed bowling attack with two Proteas putting pressure on the batting side. <strong>Anrich Nortje </strong>and <strong>Rabada </strong>shined well this season with the new ball. They were commanding in the start, bowling at a strike rate of 25.2 and were averaging 32.16.</p><p>RCB and KXIP were struggling to find a right twin to start off the bowling innings, RCB had <strong>Washington</strong> to start from one end but failed to find a good match to him. KXIP experienced same kind of situation where they had <strong>Shami</strong> to start at one end but <strong>Cottrell</strong>,<strong> Jordan </strong>didn’t support well at the other end. These two teams had a mediocre start with the ball averaging about 34 and strike rate of 27.</p><p>CSK, RR and KKR tried different combinations in the powerplay but nothing worked out in their case. RR had <strong>Archer</strong> to control one end but he stayed in the ground unchaperoned with <strong>Ankit Rajpoot</strong>, <strong>Jaydev Unadkat </strong>and<strong> Varun Aaron </strong>not performing so well which decelerated Archer’s energy during the powerplay. CSK had <strong>Deepak Chahar</strong>, <strong>Sam Curran</strong>, <strong>Hazlewood</strong>,<strong> Ngidi </strong>but no-one looked comfortable to find their own rhythm in the powerplay bowling. CSK and RR recorded a poor bowling performance with an average of 41 and strike rate nearer to 32. KKR find themselves at the bottom of the chart despite having experienced <strong>Pat Cummins</strong> leading their pace attack, they tend to give away more runs in the powerplay often struggling to take a wicket at the start. KKR maintained a poor bowling average and SR about 50.23 and 39.77 respectively.</p><p><strong>Middle Overs:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*g0q1gZ-92qQj0HA4cH81GA.png" /><figcaption>Bowling Average (Bowl Avg) and Bowling Strike Rate (Bowl SR) in Middle overs.</figcaption></figure><p>If a team performs well in the middle overs, we can wager with confidence that it was because of their spin attack who normally trouble the batting team. A spin bowler is always impactful in the middle over with some support from a leading all-rounder or another spinner.</p><p>It was obvious with SRH and RCB who had <strong>Rashid</strong> and <strong>Chahal</strong> bamboozling the batting side with their magic wand. These two teams put pressure with their lead spinner from one end and tempt the batsman with a medium pacer in the other end to go for big shots and deceive the batsman for wickets. They sustained the middle overs averaging around 26.5 and striking around 23.</p><p>MI, KKR and DC looked similar at the middle overs with Bowling Average around 31 and Strike rate nearing 24. Each team used 2 spinners to tighten the batsman to play run-a-ball innings in the middle. MI had <strong>K Pandya</strong> and <strong>Rahul Chahar</strong> to support their team by containing the batsmen. KKR found their alternative mystery spinner this season in <strong>Varun Chakravarthy</strong>, who looked in good shape with the ball and helped the team with 4 crucial overs. <strong>Narine </strong>and <strong>Ferguson</strong> were used to support him at the other end. DC used <strong>Axar</strong> and <strong>Ashwin</strong> in the middle overs. They managed to maintain the impact created at the start by the African duo and kept the game under control. DC’s Bowling department took the team into the final with ease.</p><p>CSK and RR continue their powerplay position into the middle overs. Team which batted against these two teams looked comfortable to score more than 35 runs for a wicket. They failed to strike the batsmen out in the middle, measuring at a rate around 27.50. CSK is famous for their spin attack but they failed to retain their name in 2020. Yeah, it is hard to digest, 2020 curse haunted CSK’s Bowling unit. RR had inexperienced<strong> Rahul Tewatia</strong> and <strong>Krishnappa Gowtham</strong> who didn’t give much support to the team with the ball.</p><p>KXIP at first half of the season looked in good shape in middle overs with <strong>Murugan Ashwin</strong> and <strong>Ravi Bishnoi</strong>. <strong>Ravi Bishnoi</strong> was trending for first few matches but as the series passed on, this combo started to be expensive in the middle overs. Punjab recorded a Bowling average of 37.45 and a strike rate of 30. They were leaking more runs in the middle overs and struggled to take wickets, which bagged them opportunity to go home before the tournament ended with the other 3 teams who found their position at the bottom of the table.</p><p><strong>Death Overs:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*E8SB0ZNT1FLne_ri-ipU6g.png" /><figcaption>Bowling Average (Bowl Avg) and Bowling Strike Rate (Bowl SR) in Death overs.</figcaption></figure><p>Cricket has been a batsman’s game from the time twenty-twenty was introduced. Since the introduction of IPL in 2008, bowlers usually have been at the receiving end. This is why bowling in the death overs is very critical for any IPL franchise. Teams with good death bowlers always have the edge over others.</p><p><strong>Lasith Malinga</strong> holds the record for the highest number of wickets in death overs in IPL which is 90 followed by <strong>Dwayne Bravo</strong> and <strong>Bhuvneshwar Kumar</strong> who have taken 77 and 66 wickets respectively.</p><p>In the latest edition of IPL, DC did exceptionally well with the ball at the death. They found their chair in the first place with a bowling average of 17.35 and strike rate around 11.18. <strong>Rabada</strong> came up with a responsible bowling and helped his team to concede less runs with the support of other core bowlers. KXIP with a bit of luck, were able to maintain least strike rate of 9.39 and averages 18 at the death. <strong>Arshdeep Singh </strong>— a worthy find for team Punjab this year, bowled well and supported <strong>Shami</strong> at the death. Punjab who struggled in the middle overs, managed to find their rhythm at the end of their bowling innings.CSK, finding their no.3 spot in the chart, despite failures in Powerplay and Middle overs. They did quite well in the death overs managing to strike the batsman out at 10.93 and averaging around 18.24. <strong>Deepak Chahar</strong> who was quite expensive with 2 fielders standing outside the circle, He was able to find his tempo during the death overs braced with <strong>Thakur</strong>’s slower balls.</p><p>SRH and MI are considered to be set dosas when comes to bowling unit. They maintain a similar bowling average of around 21.5 and strike rate of 13. Two yorker specialists of current generation, <strong>T Natarajan</strong> and <strong>Jasprit Bumrah</strong> bowled for their team in a remarkable way. The intent showed by Nattu and Bumrah was quite exceptional. They managed to put proxy for their team mates, in their absence. Yeah, the franchise tallied their loss of<strong> Bhuvi</strong> and <strong>Malinga </strong>by making use of them.</p><p>KKR and RCB were suffering to get a right death bowling combination in this season. With inexperienced bowling attack they managed to keep their bowling average around 24 and strike rate around 15.</p><p>RR, like getting mentioned in a separate space albeit for a negative reason, they were in their own space. Their death bowling was proved to be dead since they were leaking more runs, they showed a poor bowling average of over 38 and strike rate of 19.65 which shows they hardly take wickets.</p><blockquote><strong>CONCLUSION</strong></blockquote><p>We have seen where the team stands in terms of batting and bowling performance. I wish to talk more about the upcoming IPL season with the help of SMAT and BBL data I have collected and visualized to present my point of view on how each franchise can look to build their team.</p><p>Data Analysis by Abhishek Ravichandran and flavoured by Vaibhaava Sai.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8cb08e60b12a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/analytical-purview-to-ipl-2021-8cb08e60b12a">Analytical purview to IPL 2021</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>