<?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 Bagiyalakshmi on Medium]]></title>
        <description><![CDATA[Stories by Bagiyalakshmi on Medium]]></description>
        <link>https://medium.com/@bagiyalakshmi59?source=rss-fb2ac6b9ad33------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*yVvzVlsKCTQzo7XmI40omA.jpeg</url>
            <title>Stories by Bagiyalakshmi on Medium</title>
            <link>https://medium.com/@bagiyalakshmi59?source=rss-fb2ac6b9ad33------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 20:39:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bagiyalakshmi59/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[How I used SSH (Student Side Hustle) to pay my semester fee!]]></title>
            <link>https://medium.com/featurepreneur/how-i-used-ssh-student-side-hustle-to-pay-my-semester-fee-01315ab4ef27?source=rss-fb2ac6b9ad33------2</link>
            <guid isPermaLink="false">https://medium.com/p/01315ab4ef27</guid>
            <category><![CDATA[semester-exams]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[featurepreneur]]></category>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[ssh]]></category>
            <dc:creator><![CDATA[Bagiyalakshmi]]></dc:creator>
            <pubDate>Sun, 26 Nov 2023 07:54:03 GMT</pubDate>
            <atom:updated>2023-12-01T06:33:25.705Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w6VSFIJlM7TI1LkRFRUq9w.png" /></figure><p>In the ever-evolving landscape of technology, continuous learning is the key to success.<strong> My journey from an intern to a course creator at Featurepreneur </strong>has not only broadened my knowledge but has also enabled me to achieve a significant milestone — paying for my semester exam fees through the creation of an in My journey from an intern to a course creator at Featurepreneur course titled “Gamify Git Commit with ChatGPT.”</p><h3><strong>How I Secured the Internship</strong></h3><p>I was fortunate enough to land the internship opportunity through a referral from one of my cousins. Networking, even within the family, played a crucial role in opening doors to valuable experiences and opportunities.</p><h3>Duration of Internship</h3><p>I have been a part of the Featurepreneur for a substantial period, dedicating 1200 hours over 15 months to my internship</p><h3>Learning from Featurepreneur (FPR)</h3><p>My tenure at Featurepreneur has been a transformative phase of learning and growth. I acquired a diverse skill set in automation testing with Selenium to navigating the AWS Elastic Compute Cloud (EC2). Additionally, I gained hands-on experience in deployment strategies, effective use of GitHub for version control, and explored the world of programming languages through LangChain. The exposure to databases, including practical applications like MongoDB and SQLite, rounded out my comprehensive education at FPR.</p><h3>Laddering Up from Intern to Course Creator:</h3><p>My Journey into mentoring began with the basics of Python — exploring data types, functions, and the intricacies of the language. As I went deeper , my mentorship expanded to cover databases with Python, including popular systems like SQLite, MongoDB, and effective version control using GitHub. The experience of guiding others not only solidified my understanding of these concepts but also instilled in me a passion for sharing knowledge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r0f1WHhTdFtOnaeb7AzXSA.png" /></figure><p>Building upon my mentoring experiences, I decided to take the next step by creating courses for Featurepreneur. This platform, where I initially pursued my developer internship,<strong> became the place for my educational initiatives</strong>. So far, I have crafted four courses .</p><ol><li><strong>Python for Beginners</strong>: A comprehensive introduction to Python programming, covering fundamental concepts and practical applications.</li><li><strong>LangChain</strong>: An exploration of various Components in Langchain, Generating an API Key and Models</li><li><strong>Gamify Git Commit with ChatGPT</strong>: A course that combines the principles of gamification with the powerful capabilities of ChatGPT to enhance the Git commit process.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/1*0Q9eZ4AO_ToDSxeoKvwlhA.png" /></figure><p>The process of mentoring and creating courses has been a two-way street.</p><p>One of the most rewarding aspects of my journey has been the financial milestone I achieved through my course creation. The income generated from the “Gamify Git Commit with ChatGPT” <strong>course allowed me to pay for my semester exam fees, turning my passion for teaching into a benefit for my education with help of Featurepreneur</strong>.</p><h3>Enjoyment of the Journey</h3><p>One of the highlights of my Featurepreneur journey was the diversity of tasks. Engaging in non-technical responsibilities added a layer of excitement to my daily routine, making each day at work uniquely interesting.</p><h3>Financial Milestone</h3><p>Through my dedication and contributions at Featurepreneur, I’ve not only gained valuable experience but have also earned approximately <strong>15–18K INR</strong>. This financial milestone, coupled with the educational and professional growth, underscores the tangible benefits of my journey from intern to course creator at Featurepreneur.</p><p>I am excited about the opportunities ahead to contribute, learn, and inspire others on their educational journeys.</p><p>Happy Learning !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=01315ab4ef27" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/how-i-used-ssh-student-side-hustle-to-pay-my-semester-fee-01315ab4ef27">How I used SSH (Student Side Hustle) to pay my semester fee!</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Coding Synergy: Bridging CoreNLP in Java with Python for NLP]]></title>
            <link>https://medium.com/featurepreneur/coding-synergy-bridging-corenlp-in-java-with-python-for-nlp-20bde3df6b75?source=rss-fb2ac6b9ad33------2</link>
            <guid isPermaLink="false">https://medium.com/p/20bde3df6b75</guid>
            <category><![CDATA[stanza]]></category>
            <category><![CDATA[corenlp]]></category>
            <category><![CDATA[stanford]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Bagiyalakshmi]]></dc:creator>
            <pubDate>Sun, 09 Jul 2023 13:26:39 GMT</pubDate>
            <atom:updated>2023-07-09T13:26:39.341Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oN9elmqV-LOuENHS.png" /></figure><h4><strong>setup and use Stanford CoreNLP Server with Python.</strong></h4><ol><li><strong>Download Stanford CoreNLP</strong></li></ol><ul><li>To download Stanford CoreNLP, visit <a href="https://nlp.stanford.edu/software/stanford-corenlp-4.5.4.zip">https://nlp.stanford.edu/software/stanford-corenlp-4.5.4.zip</a></li><li>and unzip the folder</li></ul><p>2. <strong>Install Java8</strong></p><p>3.<strong> Run the Stanford CoreNLP server.</strong></p><ul><li>Go to the path of the unzipped Stanford CoreNLP and execute the below command</li></ul><pre>java -mx4g -cp &quot;*&quot; edu.stanford.nlp.pipeline.StanfordCoreNLPServer -annotators &quot;tokenize,ssplit,pos,lemma,parse,sentiment&quot; -port 9000 -timeout 30000</pre><ul><li>This command starts the server on port 9000 with a timeout of 30 seconds.</li></ul><p>4. <strong>Accessing Stanford CoreNLP Server using Python</strong></p><ul><li>Installing Dependencies:</li></ul><p>To access the CoreNLP Server from Python, we need to install the ‘Stanford’ or ‘stanza’ library, which provides a Python interface for communicating with the server. Use the following command to install the library.</p><p>You can use either one,</p><pre>pip install stanfordnlp</pre><pre>pip install stanza</pre><ul><li>Now that we have set up the CoreNLP Server and installed the necessary dependencies, we can access it using Python. Here’s an example code snippet to get started.</li></ul><ol><li>This is an example code snippet using the ‘Stanfordnlp’ library</li></ol><pre>from stanfordcorenlp import StanfordCoreNLP<br>import json<br>    <br>class StanfordNLP:<br>    def __init__(self, host=&#39;http://localhost&#39;, port=9000):<br>        self.nlp = StanfordCoreNLP(host, port=port,<br>                                   timeout=30000)  # , quiet=False, logging_level=logging.DEBUG)<br>        self.props = {<br>            &#39;annotators&#39;: &#39;tokenize,ssplit,pos,lemma,ner,parse,depparse,dcoref,relation&#39;,<br>            &#39;pipelineLanguage&#39;: &#39;en&#39;,<br>            &#39;outputFormat&#39;: &#39;json&#39;<br>        }<br><br>    def word_tokenize(self, sentence):<br>        return self.nlp.word_tokenize(sentence)<br><br>    def pos(self, sentence):<br>        return self.nlp.pos_tag(sentence)<br><br>    def ner(self, sentence):<br>        return self.nlp.ner(sentence)<br><br>    def parse(self, sentence):<br>        return self.nlp.parse(sentence)<br><br>    def dependency_parse(self, sentence):<br>        return self.nlp.dependency_parse(sentence)<br><br>    def annotate(self, sentence):<br>        return json.loads(self.nlp.annotate(sentence, properties=self.props))<br><br>    @staticmethod<br>    def tokens_to_dict(_tokens):<br>        tokens = defaultdict(dict)<br>        for token in _tokens:<br>            tokens[int(token[&#39;index&#39;])] = {<br>                &#39;word&#39;: token[&#39;word&#39;],<br>                &#39;lemma&#39;: token[&#39;lemma&#39;],<br>                &#39;pos&#39;: token[&#39;pos&#39;],<br>                &#39;ner&#39;: token[&#39;ner&#39;]<br>            }<br>        return tokens<br>    <br>def startpy():<br><br>    sNLP = StanfordNLP()<br>    text = &#39;Meet Dr.Shaun Murphy, who is autistic and a doctor&#39;<br>    print(&quot;Annotate:&quot;, sNLP.annotate(text))<br>    print (&quot;POS:&quot;, sNLP.pos(text))<br>    print (&quot;Tokens:&quot;, sNLP.word_tokenize(text))<br>    print (&quot;NER:&quot;, sNLP.ner(text))<br>    print (&quot;Parse:&quot;, sNLP.parse(text))<br>    print (&quot;Dep Parse:&quot;, sNLP.dependency_parse(text))<br><br>if __name__ == &#39;__main__&#39;:<br>    startpy()</pre><p>2. This is an example code snippet using the ‘stanza’ library</p><pre>import stanza<br>from collections import defaultdict<br><br>class stanza:<br>    def __init__(self):<br>        self.nlp = stanza.Pipeline(lang=&#39;en&#39;, processors=&#39;tokenize,mwt,pos,lemma,ner,depparse&#39;)<br><br>    def word_tokenize(self, sentence):<br>        doc = self.nlp(sentence)<br>        return [token.text for sent in doc.sentences for token in sent.tokens]<br>    <br>    def pos(self, sentence):<br>        doc = self.nlp(sentence)<br>        return [word.xpos for sent in doc.sentences for word in sent.words]<br>    <br>    def ner(self, sentence):<br>        doc = self.nlp(sentence)<br>        return [ent.type for sent in doc.sentences for ent in sent.ents]<br>    <br>    def parse(self, sentence):<br>        doc = self.nlp(sentence)<br>        return [sent.deptree for sent in doc.sentences]<br>    <br>    def dependency_parse(self, sentence):<br>        doc = self.nlp(sentence)<br>        return [<br>            [<br>                (word.head, word.deprel)<br>                for word in sent.words<br>            ]<br>            for sent in doc.sentences<br>        ]<br>    <br>    @staticmethod<br>    def tokens_to_dict(_tokens):<br>        tokens = defaultdict(dict)<br>        for token in _tokens:<br>            tokens[int(token[&#39;id&#39;])] = {<br>                &#39;word&#39;: token[&#39;text&#39;],<br>                &#39;lemma&#39;: token[&#39;lemma&#39;],<br>                &#39;pos&#39;: token[&#39;xpos&#39;],<br>                &#39;ner&#39;: token[&#39;ner&#39;]<br>            }<br>        return tokens<br>    <br>def startpy():<br><br>    sNLP = stanza()<br>    text = &#39;Meet Dr.Shaun Murphy, who is autistic and a doctor&#39;<br>    print(&quot;Word Tokenize:&quot;, sNLP.word_tokenize(text))<br>    print(&quot;POS:&quot;, sNLP.pos(text))<br>    print(&quot;NER:&quot;, sNLP.ner(text))<br>    print(&quot;Dependency Parse:&quot;, sNLP.dependency_parse(text))<br><br><br>if __name__ == &#39;__main__&#39;:<br>    startpy()</pre><p>There is an extensive <a href="https://stanfordnlp.github.io/CoreNLP/annotators.html">list of Annotator</a>s, here we will see some of them</p><ul><li>tokenize</li></ul><p>Tokenization is the process of turning text into tokens. For example, the sentence “Claire is a good singer.” this would be tokenized as “Claire”, “is”, “a”, “good”, “singer”, “.”.</p><ul><li>pos</li></ul><p>Part of speech tagging assigns part of speech labels to tokens, such as whether they are verbs or nouns. Every token in a sentence has applied a tag</p><ul><li>ner</li></ul><p>Recognizes named entities (person and Organization names, etc.) in text.</p><ul><li>parse</li></ul><p>Parsing refers to the process of analyzing the syntactic structure of sentences to determine the relationships between words and their roles in a sentence. It involves building a parse tree that represents the hierarchical structure of the sentence based on grammar rules and syntactic dependencies.</p><ul><li>deparse</li></ul><p>Deparsing, also known as un-parsing, is the reverse process of parsing. It involves reconstructing a sentence from its parse tree or syntactic representation, allowing the sentence to be generated or outputted in its original form. ref: <a href="https://www.khalidalnajjar.com/setup-use-stanford-corenlp-server-python/">here</a></p><p>In this article, we have explored how to access the Stanford CoreNLP Server using Python. By leveraging the ‘Stanfordnlp’ and ‘stanza’ libraries, we can conveniently communicate with the server and perform various natural language processing tasks. This integration of CoreNLP’s powerful analysis capabilities with the flexibility of Python opens up a world of possibilities for NLP applications.</p><p>Let’s keep exploring more and dig a lot!!</p><p>Happy learning and coding !!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20bde3df6b75" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/coding-synergy-bridging-corenlp-in-java-with-python-for-nlp-20bde3df6b75">Coding Synergy: Bridging CoreNLP in Java with Python for NLP</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Securing Your AWS Environment: A Step-by-Step Guide to Creating Policies, Users, and Access Keys]]></title>
            <link>https://medium.com/featurepreneur/securing-your-aws-environment-a-step-by-step-guide-to-creating-policies-users-and-access-keys-7aa0ea373bfd?source=rss-fb2ac6b9ad33------2</link>
            <guid isPermaLink="false">https://medium.com/p/7aa0ea373bfd</guid>
            <category><![CDATA[aws-user-group]]></category>
            <category><![CDATA[aws-policies]]></category>
            <category><![CDATA[aws-access-keys]]></category>
            <category><![CDATA[featurepreneur]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Bagiyalakshmi]]></dc:creator>
            <pubDate>Mon, 29 May 2023 13:49:43 GMT</pubDate>
            <atom:updated>2023-05-29T13:49:43.677Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*skDJXa_hwZR4Yb5-fdv16A.png" /></figure><p>Policy —Giving access to EC2 and EC2 Instances connect to a specific region.</p><p>Follow the given steps below to create a policy and add that policy to the user:</p><ol><li>Search for IAM</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qv9GzpmH3w93vw8UX55iCQ.png" /></figure><p>2. To the left, you can see the dashboard, and choose policies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/293/1*5Sj8CnxtV_089eM57PMMfA.png" /></figure><p>3. In service, choose EC2</p><p>4. In Resources, choose specific and add request condition</p><p>5. Choose the given, region (us-east-2)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*IfaAnblMn5HIWjsBYE-3Jw.png" /></figure><p>6. Follow the 3rd step, to allow EC2 Instance connect.</p><p>7. click next: tags, after adding tags. click Next: Review.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8piQRbqlsoRkQwrD7s2ehg.png" /></figure><p>8. Name the policy and Finally create a policy.</p><p>Now add this policy to a new user:</p><ol><li>In the dashboard, click user</li><li>click add user.</li><li>name the user, click Provide console access and create an IAM user.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*2-0YyemfMTRCEXeIvlAnLg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*k4NdwVfG7WPvnId09VuMxw.png" /></figure><p>4. <strong>Attach the policies directly</strong>, search for the policy we created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*_TZg31NaJTTxY7-WH485lg.png" /></figure><p>5. Click create user, and download the CSV file containing the console link, username, and password.</p><p>6. To get the access key and secret key.</p><p>7. click security credentials, and click the access key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/909/1*n32B06ceAUGFAYTx9iCAaA.png" /></figure><p>8. click the command line interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*io1XeuJ4kvY0StRShO5qkQ.png" /></figure><p>9. click next and add tags, then click Create an access key.</p><p>10. Similarly, you can download the CSV containing access and secret keys.</p><p>Here are some additional tips for securing your AWS environment:</p><ul><li>Use strong passwords and enable multi-factor authentication for all users.</li><li>Regularly rotate access keys and passwords.</li><li>Monitor your AWS account for suspicious activity.</li><li>Use AWS security services, such as Shield and WAF, to protect your resources from attacks.</li></ul><p>By following these tips, you can help to ensure that your AWS environment is secure and that your data is protected.</p><p>Securing your AWS environment is essential to protecting your data and applications. By following the steps in this article, you can create policies, users, and access keys that will help you to control access to your resources and prevent unauthorized access.</p><p>Happy learning!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7aa0ea373bfd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/securing-your-aws-environment-a-step-by-step-guide-to-creating-policies-users-and-access-keys-7aa0ea373bfd">Securing Your AWS Environment: A Step-by-Step Guide to Creating Policies, Users, and Access Keys</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</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 Generate an Open API Key and PDF Summarization with LangChain]]></title>
            <link>https://medium.com/featurepreneur/how-to-generate-an-open-api-key-and-pdf-summarization-with-langchain-9a647a4d92ad?source=rss-fb2ac6b9ad33------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a647a4d92ad</guid>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[featurepreneur]]></category>
            <category><![CDATA[langchain]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[summarization]]></category>
            <dc:creator><![CDATA[Bagiyalakshmi]]></dc:creator>
            <pubDate>Mon, 29 May 2023 13:46:51 GMT</pubDate>
            <atom:updated>2023-06-26T06:11:20.414Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*G43OB9e831HCQyIF.png" /></figure><p>This article will explain how to generate an OpenAI API key and how to use PDF summarization. OpenAI API keys are used to access third-party APIs, such as text summarization. PDF summarization is the process of extracting critical information from a PDF file and presenting it concisely. This can be useful for quickly scanning long documents or for getting the gist of a document without reading the entire thing.</p><p><strong>To Generate OpenAI API Key</strong></p><ul><li>you will need to create an account, visit <a href="https://platform.openai.com/account/api-keys">https://platform.openai.com/account/api-keys</a></li><li>Click Create New API key</li><li>To explore and experiment with the API, all new users get free $5 worth of free tokens. These tokens expire after 3 months. After this, you can choose to enter <a href="https://beta.openai.com/account/billing">billing information</a> to upgrade to a paid plan and continue your use of the API on a pay-as-you-go basis.</li><li>You can check your usage and validity <a href="https://platform.openai.com/account/usage">here</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*rhah_q-vT9HwFpGYlYlN3g.png" /></figure><p><strong>PDF Summarization using Langchain</strong></p><ul><li>Paste your OpenAI API key</li></ul><pre>import os<br>os.environ[&quot;OPENAI_API_KEY&quot;] = &quot;PASTE_OPENAI_API_KEY_HERE&quot;</pre><pre>pip install langchain</pre><ul><li>Import necessary libraries</li></ul><pre>from langchain import OpenAI<br>from langchain.chains.summarize import load_summarize_chain<br>from langchain.document_loaders import PyPDFLoader</pre><pre>llm      = OpenAI(temperature=0)<br>loader   = PyPDFLoader(&#39;path_to_pdf&#39;)</pre><ul><li>Define a function to summarize pdf using Langchain</li></ul><pre>def summarize_pdf(pdf_file_path):<br>    loader  = PyPDFLoader(pdf_file_path)<br>    docs    = loader.load_and_split()<br>    chain   = load_summarize_chain(llm=llm, chain_type=&quot;map_reduce&quot;)<br>    summary = chain.run(docs)   <br>    return summary</pre><ul><li>Call the function</li></ul><pre>summarize = summarize_pdf(&quot;path_to_pdf&quot;)<br>print(summarize)</pre><p>This is how the pdf content is summarized using Langchain.</p><p>PDF summarization can be a useful tool for quickly scanning long documents or for getting the gist of a document without reading the entire thing. By following the steps in this article, you will be able to generate an Open API key and use PDF summarization to extract the key information from PDF files.</p><p>Happy Learning!!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a647a4d92ad" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/how-to-generate-an-open-api-key-and-pdf-summarization-with-langchain-9a647a4d92ad">How to Generate an Open API Key and PDF Summarization with LangChain</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Streamline Your Flask Deployment Process on EC2 with These Simple Steps]]></title>
            <link>https://medium.com/featurepreneur/streamline-your-flask-deployment-process-on-ec2-with-these-simple-steps-26cffc7b979a?source=rss-fb2ac6b9ad33------2</link>
            <guid isPermaLink="false">https://medium.com/p/26cffc7b979a</guid>
            <category><![CDATA[flask]]></category>
            <category><![CDATA[featurepreneur]]></category>
            <category><![CDATA[instance]]></category>
            <category><![CDATA[miniconda]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <dc:creator><![CDATA[Bagiyalakshmi]]></dc:creator>
            <pubDate>Mon, 13 Mar 2023 08:14:23 GMT</pubDate>
            <atom:updated>2023-03-13T08:16:51.273Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*XoYxvVTx07wx-qXReXFhQQ.png" /></figure><p>Before Starting with EC2 Deployment, you must have created an EC2 instance and it should be running status.</p><p>To create an EC2 instance refer: <a href="https://medium.com/featurepreneur/creating-an-ec2-instance-on-aws-everything-you-need-to-know-630c5eb92f1f">https://medium.com/featurepreneur/creating-an-ec2-instance-on-aws-everything-you-need-to-know-630c5eb92f1f</a></p><ol><li>Connect with the remote machine.</li></ol><p>2. It’s time to install some basics to proceed</p><ul><li>To install miniconda</li></ul><pre>cd /tmp<br>wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh<br>chmod +x Miniconda3-latest-Linux-x86_64.sh<br>./Miniconda3-latest-Linux-x86_64.sh</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*8-1KuR56WiEkOarhq87xQQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*5Hvf-Y5cN0L10kbQl0PbOQ.png" /></figure><p>Once you’re done with the above steps, exit from EC2 and reconnect again. Then type in the following command:</p><pre>conda config --set auto_activate_base false</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*5jDc09SUfR-mZtdNcQsSfg.png" /></figure><ul><li>Create conda environment</li></ul><pre>conda create -n py39 -y python=3.9</pre><ul><li>To activate and deactivate the environment, type in the commands below:</li></ul><pre>conda activate py38<br>conda deactivate</pre><ul><li>Install git and copy your ssh key and paste it in your GitHub account</li></ul><pre>sudo apt install git</pre><pre>ssh-keygen -t rsa -b 4096 -C &quot;youremail@gmail.com&quot;<br>eval &quot;$(ssh-agent -s)&quot;<br>ssh-add ~/.ssh/id_rsa<br>cat ~/.ssh/id_rsa.pub</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*d1vCDOaBQymxi4z9y4v-mg.png" /></figure><p>Once you’re done with the above commands, copy the SSH key generated and add it to GitHub.</p><p>To do so, go to settings on GitHub, then you will find SSH and GPG keys on the left-hand side panel. Go into it and add in the SSH key generated and name it.</p><p>3. This is enough to deploy a simple-flask</p><p>4. git clone the repository (here we use: <a href="https://github.com/BagiyaLakshmi/simple-flask">https://github.com/BagiyaLakshmi/simple-flask</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*Ojz7wUkb6nf1BPOs-lYnTQ.png" /></figure><p>4. Navigate to the repo cloned, conda activate the environment, and install the requirements</p><pre>pip install -r requirements.txt</pre><p>5. Now, it’s time to work on the console</p><ul><li>Go inside the EC2 console-&gt; security -&gt; click the security group -&gt; edit inbound rule -&gt; add the port in which the flask app is running.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*dsjT02TSCtoDx6-jzY8a8w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qJ9RQDjRWCkYnS3Itla7Ow.png" /></figure><p>6. Now in the terminal run</p><pre>python app.py</pre><p>7. open a browser, paste</p><pre>&lt;public_ip&gt;:&lt;port_number&gt;</pre><p>eg:</p><p>34.56.78.119:3011</p><p>The public IP of the instance is found in the EC2 instance summary in the console</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tk-Ek4GPgLhLiRk7Y6ftyQ.png" /></figure><p>8. To stop the flask app from the server, just kill the port</p><pre>sudo kill -9 &#39;sudo lsof -t -i:&lt;port_number&gt;&#39;</pre><p>eg : sudo kill -9 ‘sudo lsof -t -i:3011’</p><p>In conclusion, deploying a Flask application on EC2 can seem intimidating at first, but with the right guidance, it can be a straightforward and rewarding process. Amazon EC2 provides a scalable and reliable cloud computing environment that can easily host Flask applications. By following the steps outlined in this article, you can deploy your Flask application on EC2 and take advantage of the many benefits of cloud computing, including scalability, cost-effectiveness, and high availability.</p><p>Hope you enjoyed it!!</p><p>Happy learning!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26cffc7b979a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/streamline-your-flask-deployment-process-on-ec2-with-these-simple-steps-26cffc7b979a">Streamline Your Flask Deployment Process on EC2 with These Simple Steps</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating an EC2 Instance on AWS: Everything You Need to Know]]></title>
            <link>https://medium.com/featurepreneur/creating-an-ec2-instance-on-aws-everything-you-need-to-know-630c5eb92f1f?source=rss-fb2ac6b9ad33------2</link>
            <guid isPermaLink="false">https://medium.com/p/630c5eb92f1f</guid>
            <category><![CDATA[ec2-instance]]></category>
            <category><![CDATA[ec2-instance-connect]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[featurepreneur]]></category>
            <dc:creator><![CDATA[Bagiyalakshmi]]></dc:creator>
            <pubDate>Mon, 13 Mar 2023 08:10:28 GMT</pubDate>
            <atom:updated>2023-03-13T08:17:43.371Z</atom:updated>
            <content:encoded><![CDATA[<p>Creating an EC2 Instance on AWS: Everything You Need to Know</p><p>In this article, you will create a new Amazon EC2 instance running Ubuntu. Before launching and connecting to an Amazon EC2 instance, you need to create a key pair, unless you already have one. You can create a key pair using the Amazon EC2 console and launch your EC2 instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*XoYxvVTx07wx-qXReXFhQQ.png" /></figure><ol><li>Open the AWS console</li><li>Search for ec2</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*Fnss3NTpXNceIjVAlQSAfg.png" /></figure><p>3. EC2 Dashboard will be opened, choose instances(running).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*0_02nePByY3l5SEHIUpSjA.png" /></figure><p>4. Click launch instances.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kWx6ePb2-jD24ZITAw3tMA.png" /></figure><p>5. Name the instance and choose the OS image — (Ubuntu)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/1*djTtrVAwezvVTUIV-fJfMw.png" /></figure><p>6. Select the instance type — (here we choose t2.micro)</p><p>7. Choose the key-pair if it already exists or else click create new key pair</p><ul><li>click create new key-pair</li><li>Name the key</li><li>choose RSA</li><li>Choose .pem</li><li>click create key pair</li><li>save the .pem key in your local machine, (so, while connecting navigate to the .pem key location and connect with the remote machine)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*HD5p5vhMEjSRVfmdSRaSBQ.png" /></figure><p>8. Keep the network settings as follows, setting it to ‘My IP’ will save you money.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*51GO8j2u5LXFdsNm_v-IYw.png" /></figure><p>9. Check for the summary and launch instance</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*tk-vWSZ4fJtvqvWmP8grVw.png" /></figure><p>10. It will take a few seconds to create an instance and display the success status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3j2jMPKb-7Ouj9MtMFKBIQ.png" /></figure><p>11. Now, go inside the instance and check for status(running)</p><p>12. To connect with the remote machine, do as follow</p><ul><li>In instance summary, choose to connect</li><li>choose SSH Client</li><li>In your terminal, navigate to the .pem key location, and paste the 3rd command.</li><li>Paste the last command and connect with the remote system</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*Ib8IT09i2Vv5A5in-W-RZw.png" /></figure><p>Now, you are ready to work on the remote system</p><p>13. To exit, just type ‘exit’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*dwD-7Nl6MMCINQpBnSgcFw.png" /></figure><p>14. To select an instance, do as follow</p><ul><li>choose the instance</li><li>actions → delete</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UofKoX3uwsgUXLD6ZykrBQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*SGSV14bw_G_WqGeV8fHevg.png" /></figure><p>In conclusion, creating an EC2 instance can seem like a daunting task, but it is a fundamental aspect of using Amazon Web Services. With the right knowledge and guidance, anyone can create an EC2 instance and launch their virtual server in the cloud. By following the steps outlined in this article, you can create your instance and start exploring the many features and capabilities of AWS. With EC2 instances, the possibilities are endless, and you have the power to scale your infrastructure to meet the demands of your application. So, take the first step today and create your own EC2 instance to begin your cloud computing journey.</p><p>Happy learning !!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=630c5eb92f1f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/creating-an-ec2-instance-on-aws-everything-you-need-to-know-630c5eb92f1f">Creating an EC2 Instance on AWS: Everything You Need to Know</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s explore NumPy !!]]></title>
            <link>https://medium.com/featurepreneur/lets-explore-numpy-63bcef975690?source=rss-fb2ac6b9ad33------2</link>
            <guid isPermaLink="false">https://medium.com/p/63bcef975690</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[numpy-tutorial]]></category>
            <category><![CDATA[numpy]]></category>
            <dc:creator><![CDATA[Bagiyalakshmi]]></dc:creator>
            <pubDate>Sun, 11 Dec 2022 18:36:42 GMT</pubDate>
            <atom:updated>2022-12-11T18:36:42.221Z</atom:updated>
            <content:encoded><![CDATA[<h3>Let’s explore NumPy !!</h3><p>NumPy is a Python library used for working with arrays. It adds powerful data structures to Python that guarantee efficient calculations with arrays and matrices and it supplies an enormous library of high-level mathematical functions that operate on these arrays and matrices.</p><p>NumPy stands for numerical python, It is high performance multi-dimensional array data structures. Mostly implemented in C language.</p><pre>import numpy as np</pre><pre>print(np.__version__)</pre><p>## 1.22.4</p><p><strong>N-Dimensional array</strong></p><p>Create rank 1 array:</p><pre>x = np.array([1, 2, 3])</pre><pre>print(type(x))</pre><p>## &lt;class ‘numpy.ndarray’&gt;</p><p>Accessing the array using index numbers.</p><pre>print(x[0], x[1], x[2])</pre><p>## 1 2 3</p><p>Change an element of the array</p><pre>x[0]=5<br>print(x)</pre><p>## [5 2 3]</p><pre>x = np.array([[1, 2, 3], [4, 5, 6]])</pre><pre>print(x)<br>print(x.shape)</pre><p>## [[1 2 3]<br> [4 5 6]]</p><p>## (2, 3) →(row, column)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*GEMzqcwLKU_rKkTU5YIRKg.png" /></figure><p>List of lists</p><pre>l = [[1, 2, 3], [4, 5, 6]]</pre><p>Converting list to array</p><pre>x = np.array(l)</pre><p>Converting the type of array</p><pre>x1 = x.astype(np.float64)</pre><p>Create a sequential values</p><pre>x = np.arange(10, 59)<br>print(x)</pre><p>## [10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33<br> 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57<br> 58]</p><p>Printing first, last 10 numbers and reverse of array.</p><pre>print(x[:10])<br>print(x[-10:])<br>print(x[::-1])</pre><p>## [10 11 12 13 14 15 16 17 18 19]</p><p>## [49 50 51 52 53 54 55 56 57 58]</p><p>##[58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35<br> 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11<br> 10]</p><p>Creating an array of all zeros</p><pre>x = np.zeros((3, 2))<br>print(x)</pre><p>## [[0. 0.]<br> [0. 0.]<br> [0. 0.]]</p><p>To fill an array with same number</p><pre>x = np.full((5, 5), 7)<br>print(x)</pre><p>## [[7 7 7 7 7]<br> [7 7 7 7 7]<br> [7 7 7 7 7]<br> [7 7 7 7 7]<br> [7 7 7 7 7]]</p><p>Creating an array of all ones</p><pre>x = np.ones((2,2))<br>print(x)</pre><p>## [[1. 1.]<br> [1. 1.]]</p><p>Seed the random function for repeatability</p><pre>np.random.seed(25)</pre><p><strong>To Read a standard documentation</strong></p><p>if you want to read about any function, for example randint</p><pre>help(np.random.randint)</pre><pre>x1 = np.random.randint(10, size =5)    # one dimensional<br>x2 = np.random.randint(10, size(2,3))  # two dimensional<br>print(x1)</pre><p>## [5 9 2 3 2]</p><p>Sliced result is pointer to the actual array, so modifying the sliced array will modify the original array.</p><p><strong>Vectorized operations</strong></p><ol><li>addition</li></ol><pre>x1 = np.array([[1, 2], [3, 4], [5, 6], [7, 8]])<br>x2 = np.array([[5,4], [6,7], [9,10], [10,12]])<br>print(np.add(x1, x2))</pre><p>## [[ 6 6]<br> [ 9 11]<br> [14 16]<br> [17 20]]</p><p>2. subtraction</p><pre>x1 = np.array([[1, 2], [3, 4], [5, 6], [7, 8]])<br>x2 = np.array([[5,4], [6,7], [9,10], [10,12]])<br>print(np.subtract(x1, x2))</pre><p>## [[-4 -2]<br> [-3 -3]<br> [-4 -4]<br> [-3 -4]]</p><p>3. Multiply</p><pre>print(np.multiply(x1,x2))</pre><p>## [[ 5 8]<br> [18 28]<br> [45 60]<br> [70 96]]</p><p>4. Divide</p><pre>print(np.divide(x1,x2))</pre><p>## [[0.2 0.5 ]<br> [0.5 0.57142857]<br> [0.55555556 0.6 ]<br> [0.7 0.66666667]]</p><p>5. Square root</p><pre>print(np.sqrt(x1))</pre><p>## [[1. 1.41421356]<br> [1.73205081 2. ]<br> [2.23606798 2.44948974]<br> [2.64575131 2.82842712]]</p><p><strong>Array Transpose</strong></p><pre>x = np.array([[1,2,3],[5,7,8]])<br>print(x)<br>print(&quot;transpose= &quot;, x.T)</pre><p>## [[1 2 3]<br> [5 7 8]]</p><p>## transpose= [[1 5]<br> [2 7]<br> [3 8]]</p><p><strong>Be tuned for more updates.</strong></p><p><strong>Thank you !!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63bcef975690" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/lets-explore-numpy-63bcef975690">Let’s explore NumPy !!</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kubernetes Vs Docker]]></title>
            <link>https://medium.com/featurepreneur/kubernetes-vs-docker-9c5fc7c5bd43?source=rss-fb2ac6b9ad33------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c5fc7c5bd43</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Bagiyalakshmi]]></dc:creator>
            <pubDate>Sun, 11 Dec 2022 18:35:30 GMT</pubDate>
            <atom:updated>2022-12-11T18:35:30.901Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/787/0*51t-qhQrPafjI-K7.png" /></figure><p>There is a misconception that kubernetes and docker are same. They are different. Kubernetes also known as <strong>K8s</strong>, is an open-source(anyone can use) system for automating deployment, scaling, and management of containerized applications.</p><p>While Docker is a container runtime, Kubernetes is a platform for running and managing containers from many container runtimes.</p><p>Docker helps in creating image but, it is difficult to manage more images. Docker uses application whereas Kubernetes uses no application.</p><p>Kubernetes detects and create new pods and helps managing the request. Pods are <strong>the smallest, most basic deployable objects in Kubernetes</strong>. A Pod represents a single instance of a running process in your cluster. Pods contain one or more containers, such as Docker containers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*OWxArbyEcKcD7Ebe" /></figure><p><strong>Worker node</strong> manages the pods, in way they work, do they face any down time? or any overloading.</p><p>When pods are not working, information is conveys to <strong>Master node</strong>, and it will come to play. Master node manages the entire cluster. It is like the brain of kubernetes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/0*S5bNed1ohvZdeUdg" /></figure><p><strong>Kind </strong>—It is <strong>a tool for running local Kubernetes clusters using Docker container “nodes”</strong>.</p><p><strong>KubeCTL</strong> — It is a command-line tool, kubectl, <strong>allows you to run commands against Kubernetes clusters</strong>.</p><p>Installation and setup</p><ol><li>KubeCTL installation</li></ol><pre>https://kubernetes.io/docs/tasks/tools/install-kubectl/</pre><pre>curl -LO &quot;https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl&quot;<br>curl -LO &quot;https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256&quot;<br>echo &quot;$(&lt;kubectl.sha256)  kubectl&quot; | sha256sum --check<br>sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl<br>kubectl version --client</pre><pre>kubectl cluster-info</pre><p><strong>Be tuned for more updates.</strong></p><p><strong>Thank you !!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c5fc7c5bd43" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/kubernetes-vs-docker-9c5fc7c5bd43">Kubernetes Vs Docker</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Missing value Imputation with python — EDA]]></title>
            <link>https://medium.com/featurepreneur/missing-value-imputation-with-python-eda-9597ed874d5a?source=rss-fb2ac6b9ad33------2</link>
            <guid isPermaLink="false">https://medium.com/p/9597ed874d5a</guid>
            <category><![CDATA[pandas]]></category>
            <category><![CDATA[pandas-dataframe]]></category>
            <category><![CDATA[jupyter]]></category>
            <dc:creator><![CDATA[Bagiyalakshmi]]></dc:creator>
            <pubDate>Sun, 11 Dec 2022 18:34:58 GMT</pubDate>
            <atom:updated>2022-12-11T18:34:58.610Z</atom:updated>
            <content:encoded><![CDATA[<h3>Missing value Imputation with python — EDA</h3><p>Imputation <strong>preserves all cases by replacing missing data with an estimated value based on other available information</strong>. Once all missing values have been imputed, the data set can then be analyzed using standard techniques for complete data.</p><p>Missing data can skew anything for data scientists, from economic analysis to clinical trials. so, Imputation of missing value holds a very important position data analysis.</p><p>For convenience, I’m proceeding with jupyter lab</p><p>jupyter lab installation in Ubuntu</p><p>To create a new environment, follow the command below:</p><pre>conda create -n py38 -y python=3.8</pre><pre>conda activate py38<br>conda deactivate</pre><p>Install jupyter lab on Conda:</p><pre>pip install jupyterlab</pre><p>Once, you have installed jupyter lab, use this command on Conda to open:</p><pre>jupyter lab</pre><p>In this session:</p><ul><li>Import Dataset &amp; Headers</li><li>Identify Missing Data</li><li>Replace Missing Data</li></ul><ol><li>Import Dataset &amp; Headers</li></ol><p>First import the packages, such as numpy, pandas etc., then import the dataset with the following syntax as dataframe.</p><p>data = pd.read_csv(“&lt;location of the dataset&gt;”)</p><p>If the dataset presents in the same folder, then just mention the name of the file in the place location.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1019/1*H5cnggl_oIINaVK9VgRFRA.png" /></figure><p>2. Identify the Missing values.</p><p>data.head()- it returns the top 5 rows in the dataframe</p><p>to find the null values use data.info()- returns number of non-null values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mZDENxeVtspoZ7vTrfnXxw.png" /></figure><p>3. Replace the missing data.</p><p>data.fillna()- fills the not null value with the repective input.</p><p>In this dataset, we see null values in column name- num and award.</p><p>num column can be replaced by the mean of the other values in the column.</p><p>award column can be replaced as “No award”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*7u6EiLmAla09hM2lpGB9Ow.png" /></figure><p>But we see here that ‘?’ is not identified as null value so, it must be replaced with null by using replace().</p><p>value_counts() — helps in counting the number of given entry.</p><p>Here we can calculate how many people did not get the award</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*Lohx0pJeQbfyZuFggKXESg.png" /></figure><p>In this dataset, the first column name is very large so, it is difficult to call every time and make changes. so we can rename the column name by rename() function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*AvSvi4-mKpU9QsYjF7QFNA.png" /></figure><p>In some cases, numerical columns are main concerns so, there is a function in python to include and exclude the datatypes.</p><p>Here, we will exclude the object datatypes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z6Zq0J-FKmKt5qqBezOySQ.png" /></figure><p>Finally the cleaned data frame can be converted to csv or even other formats.</p><pre>data.to_csv(&quot;file.csv&quot;, header=False, index=False)</pre><p>syntax:</p><p>&lt;dataframe_name&gt;(“&lt;new_file&gt;”, header=False, index=False)</p><p><strong>Be tuned for more updates.</strong></p><p><strong>Thank you !!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9597ed874d5a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/missing-value-imputation-with-python-eda-9597ed874d5a">Missing value Imputation with python — EDA</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS App Runner]]></title>
            <link>https://medium.com/featurepreneur/aws-app-runner-639a6494a5d6?source=rss-fb2ac6b9ad33------2</link>
            <guid isPermaLink="false">https://medium.com/p/639a6494a5d6</guid>
            <dc:creator><![CDATA[Bagiyalakshmi]]></dc:creator>
            <pubDate>Sat, 03 Dec 2022 12:14:19 GMT</pubDate>
            <atom:updated>2022-12-03T12:14:19.446Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LOt2OpP0mctaIiqY.png" /></figure><p><strong>1. What App Runner?</strong></p><ul><li>It is fully managed container development service.</li><li>Fargate 2.0 — container deployment service</li><li>Comparable to heroku(container-based cloud Platform as a Service (PaaS))</li><li>similar to ElasticBeanstalk EC2</li></ul><p><strong>2. Features</strong></p><ul><li>AutoBuild and deployment</li><li>Load balancing</li><li>Autoscaling</li><li>Certificate setup</li><li>log, metric integration</li><li>aws clockwatch</li></ul><p><strong>3. Integration and Configuration</strong></p><ul><li>ECR image upload or Github source update</li><li>Specify the resources and memory Features</li></ul><p><strong>4. Workflow</strong></p><ul><li>Connect to source -&gt; configure -&gt; launch and go</li></ul><p><strong>5. Pricing model</strong></p><ul><li>Provisioned instances — $0.007/GB hours</li><li>Active instances- $0.064/vCPU hour +$0.0007/GB hour</li><li>more computation, more money-</li><li>Additional charge</li></ul><p>→ automatic deployment — 1$/ month per app</p><p>→ Build fees- $0.005/build minute</p><p>→ Cloudwatch -$0.50 per GB</p><p><strong>6. Gotchas (an unexpected usually disconcerting challenge)</strong></p><ul><li>VPC connectivity is not supported</li><li>Can not scale down to zero</li></ul><p>7.AWS management console -&gt; search aws app runner</p><p>Create app runner service-&gt; container registry-&gt; amazon ecr -&gt; browse (add your amazon ecr image)-&gt; Automatic -&gt; create new service -&gt; next</p><p>configure</p><p>service name-&gt; mention port you gonna use-&gt;set others as default-&gt;next</p><p>-&gt;create and deployment</p><p>see your running your code -&gt; got to actions -&gt;delete(so that no extra charge)</p><p>Reference : <a href="https://www.youtube.com/watch?v=TKirecwhJ2c">https://www.youtube.com/watch?v=TKirecwhJ2c</a></p><p><strong>Be tuned for more updates.</strong></p><p><strong>Thank you !!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=639a6494a5d6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/aws-app-runner-639a6494a5d6">AWS App Runner</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>