<?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 Priyansh gupta on Medium]]></title>
        <description><![CDATA[Stories by Priyansh gupta on Medium]]></description>
        <link>https://medium.com/@pg170898?source=rss-53b6be1d4549------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Pr16Qrzl37kFCqEvZUYU1g.jpeg</url>
            <title>Stories by Priyansh gupta on Medium</title>
            <link>https://medium.com/@pg170898?source=rss-53b6be1d4549------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 19:53:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pg170898/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[RNN (RECURRENT NEURAL NETWORK) & LSTM ( LONG SHORT-TERM MEMORY)]]></title>
            <link>https://medium.com/@pg170898/rnn-recurrent-neural-network-lstm-long-short-term-memory-7585a0a8f15?source=rss-53b6be1d4549------2</link>
            <guid isPermaLink="false">https://medium.com/p/7585a0a8f15</guid>
            <dc:creator><![CDATA[Priyansh gupta]]></dc:creator>
            <pubDate>Wed, 23 Oct 2019 05:45:10 GMT</pubDate>
            <atom:updated>2019-10-23T05:47:49.581Z</atom:updated>
            <content:encoded><![CDATA[<p>RNN (RECURRENT NEURAL NETWORK) &amp; LSTM ( LONG SHORT-TERM MEMORY)</p><p>Hi folks, Today i’m gonna talk about Recurrent Neural Network. What is this ? Where we use this? <br>RNN is a kind of ANN( artificial Neural Nwetwork) . I assume that all of you whosoever is reading this article have some knowledge of Machine learning. These all the tools or algorithms are used to get the outcomes by using previous data or history. RNN solves complex problem by taking large amount of data.</p><p>RNN has some special property . It has memory to save or store the outcomes at each state. It has some hidden layer to make complex model in order to get optimal solution. These hidden layer serves as a memory in standard (Vanilla) RNN.</p><p>All the RNNs have have feedback loops in recurrent layer. This loop tells it to maintain or update it&#39;s memory time to time. Because in each state we have some output so we store it in memory and use this previous hidden layer&#39;s output and Present layer&#39;s input to predict the outcome for the Present layer. Again this output goes into memory to get stored.</p><p>But It is very difficult to maintain memory every time or make some changes.</p><p>The only cause of this trivial is gradient. In each step we have loss function to check whether loss is decreasing ot not.</p><p>So RNN suffers from decays or exploding gradient problem of loss function.</p><p>To deal with this problem we have another kind of RNN is LSTM (long short term memory) .</p><p>LSTM deals with this problem. It not only has hidden layer but also has separate &#39;Memory Cell&#39; and set of gates. These gates are input gate and forget gate.</p><p>The only purpose of these gates are to control the flow the information. These gates are also used for a better control over the gradient flow and enable better preservation of &quot;long-range dependencies&quot;. <br>If any input enters in RNN layer via input gate then they can hold the information as long as until the output gate is open. And provide the output for that input.</p><p>The memory cell state has the ability to remove or add information to the cell, regulated by &quot; set of gates&quot;.</p><p>GRU: GRUs are almost similar to the LSTM.s but GRUs use simplified structure. And they also use a set of gates to control the flow of information, but they don&#39;t use separate memory cells, and they use fewer gates.</p><p>So we can say LSTM is an extended version of GRU.</p><p>LSTM gives us the most Control-ability and thus, Better Results. But also comes with more Complexity and Operating Cost.</p><p>Where do we use RNN? <br>It is very simple wherever we need to make our model remember the previous output or store the previous results in memory to predict future results. Then RNN, LSTM come into picture.</p><p>Some projects where can implement RNN &amp; LSTM .The following are the few applications of the RNN:</p><p>1. Next word prediction.<br>2. Music composition.<br>3. Image captioning<br>4. Speech recognition<br>5. Time series anomaly detection<br>6. Stock market prediction</p><p>I’ve hope you’ve some basic understanding about RNN , LSTM. I’ve tried my level best to make you understand the concept of RNN. <br>If you are new in deep learning, Neural Nework then i insist you to learn what is Neural Network (ANN) , deep learning and why do we use ? After that you can go through this above article. If you have any query then feel free to reach out to me at pg170898@gmail.com</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7585a0a8f15" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Playing aroundWith Image and Matplotlib in python]]></title>
            <link>https://medium.com/@pg170898/playing-aroundwith-image-and-matplotlib-in-python-1d77a56120ce?source=rss-53b6be1d4549------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d77a56120ce</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python3]]></category>
            <category><![CDATA[image-processing]]></category>
            <dc:creator><![CDATA[Priyansh gupta]]></dc:creator>
            <pubDate>Wed, 18 Sep 2019 23:06:42 GMT</pubDate>
            <atom:updated>2019-09-18T23:06:42.962Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/128/0*ckWFYzaUB-C8fOdF.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/128/0*1e8q71_tH7BWp4D6.gif" /></figure><p>You can’t perform that action at this time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/128/0*hmA6WHQuaCYdcdoh.gif" /></figure><p>You signed in with another tab or window. You signed out in another tab or window. <a href="https://github.com/priyanshgupta1998/Image_Processing/blob/master/Playing_with_Image_matplotlib.ipynb">Reload</a> to refresh your session. <a href="https://github.com/priyanshgupta1998/Image_Processing/blob/master/Playing_with_Image_matplotlib.ipynb">Reload</a> to refresh your session.</p><p><em>Originally published at </em><a href="https://github.com/priyanshgupta1998/Image_Processing/blob/master/Playing_with_Image_matplotlib.ipynb"><em>https://github.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d77a56120ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Problem facing at Github ‘.ipynb’ is not loading]]></title>
            <link>https://medium.com/@pg170898/problem-facing-at-github-ipynb-is-not-loading-f986a04649f3?source=rss-53b6be1d4549------2</link>
            <guid isPermaLink="false">https://medium.com/p/f986a04649f3</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-science-training]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Priyansh gupta]]></dc:creator>
            <pubDate>Tue, 17 Sep 2019 14:40:17 GMT</pubDate>
            <atom:updated>2019-09-17T14:40:17.681Z</atom:updated>
            <content:encoded><![CDATA[<h3>Jupyter Notebook won’t load on Github . Sorry, something went wrong. Reload?</h3><p>Today i am gonna discuss about some issues on github . sometimes when we try to open our github repository and ‘.ipnb’ file then we get ‘Sorry, something went wrong. Reload?’ error.</p><p>So there are two solutions i have come across yet.</p><p><strong><em>First Solution </em></strong>: is copy your github link of ‘.ipynb’ file and open this link <a href="https://nbviewer.jupyter.org/">https://nbviewer.jupyter.org</a> on your browser. after that paste that previous link in the box ,which will be shown on the nbviewer website page and press Enter . for example i have link https://github.com/priyanshgupta1998/Machine_learning/blob/master/ODI_Country_Records.ipynb</p><p>if i will paste this link on the nbviewer page then it will be look like this <a href="https://nbviewer.jupyter.org/github/priyanshgupta1998/Machine_learning/blob/master/ODI_Country_Records.ipynb">https://nbviewer.jupyter.org/github/priyanshgupta1998/Machine_learning/blob/master/ODI_Country_Records.ipynb</a></p><p><strong>Second Solution :</strong> Open google colab by using this link <a href="https://colab.research.google.com/notebooks/gpu.ipynb">https://colab.research.google.com/notebooks/gpu.ipynb</a> in the browser. after that go the ‘File’ option at the ‘top-right’ . click on this and click again on open notebook . After that go to fourth option in the header ‘GITHUB’ and paste the link in the search box and press enter. You will be able to see Your Github ‘.ipynb’ file .</p><figure><img alt="Paste that github link here" src="https://cdn-images-1.medium.com/max/1024/1*BGRZP13n8fbsdbD6QfKTKQ.png" /></figure><p>I hope this is helpful for you who else is reading this blog . Thank you . if You have any query then feel free to reach out to me at pg170898@gmail.com .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f986a04649f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is meant by cybersecurity ? What is computer networks ? What is hacking ?]]></title>
            <link>https://medium.com/@pg170898/what-is-meant-by-cybersecurity-what-is-computer-networks-what-is-hacking-b153664fe555?source=rss-53b6be1d4549------2</link>
            <guid isPermaLink="false">https://medium.com/p/b153664fe555</guid>
            <dc:creator><![CDATA[Priyansh gupta]]></dc:creator>
            <pubDate>Thu, 07 Mar 2019 19:36:43 GMT</pubDate>
            <atom:updated>2019-03-07T19:38:38.772Z</atom:updated>
            <content:encoded><![CDATA[<p>What is meant by cybersecurity ? What is computer networks ? What is hacking ?</p><p>In today’s era ,the number of Internet users are increasing rapidly.because everything is becoming digital. Instead of paying cash , we are using online payment system. Can transfer money from the bank . paying bill,mobile recharge, ticket booking etc. can be done online . Basically life has become very easy and fast . Students can study and fillup the application form online from anywhere. IOT (internet of things ) like webcam/cctv camera can be connected by user’s mobile (digital device) through internet . User can monitor his home/office from anywhere and anytime. One more example of traffic light can be controlled by the internet. So how they are conected with each other?</p><p>COMPUTER NETWORKS:</p><p>A group or network of digital devices(computers).the data is sent/transferred through many intermediate hardware devices such as routers ,switch etc. to send the data from one place to another place routers play a main role in networking.they contains all the required information about the sender and receiver. Computer network can be defined as locally (LAN) and globally(WAN).</p><p>LAN(Local area network): it has small range of area where more than one computers can connected with each other and share the information. Ex. Home, small office.</p><p>WAN(Wide area network): it is used for large place/region.</p><p>Since so many users(whole world) are using internet and they are sharing their confidential data online . So any body who is using the internet can see and access this data or information . And stole anyone’s data or can misuse of this information . It is also possible he can alter the original information . These types of persons who does this illegal activity are called Atrackers or intruders. They try to harm/destroy public data . These are also calles black hat hacker.</p><p>Hacker is the person who uses the information and data for a special purpose .like expose corrupted persons by stealing their information. They are recognised as white hat hacker or ethical hacker who tries to solve online security baesed prolem .such as debugging ,removing the loopholes , errors in a online application legally.</p><p>CRYPTOGRAPHY:</p><p>In order to provide the security to our data some techniques and algorithm are used like convert all the plain text into cipher text(encrypted text) .so unknown can’t understand it .for this purpose hashing algorithms are used.hash key is a unique and one way key. All data ,information is converted into another language or ambiguous code. Hacking is based on above two parts :computer networks and cryptography.</p><p>CYBERSECURITY:</p><p>All banking details (card information),offcial details(company’s employee identity , and their records) and other confidential details are available on online.so we need to make a solution to keep them secure in the internet’s world. So no body can interrupt with them .all internet devices whether network or host need the security . we use firewall and other antivirus in a host machine to prevent these atrackers. So that they can’t access the system without taking the permission from the authorised user.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b153664fe555" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why do we use .isin() function in python ?]]></title>
            <link>https://medium.com/@pg170898/why-do-we-use-isin-function-in-python-119e4c9ea398?source=rss-53b6be1d4549------2</link>
            <guid isPermaLink="false">https://medium.com/p/119e4c9ea398</guid>
            <dc:creator><![CDATA[Priyansh gupta]]></dc:creator>
            <pubDate>Thu, 07 Mar 2019 10:00:59 GMT</pubDate>
            <atom:updated>2019-03-07T10:00:59.263Z</atom:updated>
            <content:encoded><![CDATA[<p>Why do we use .isin() function in python ?</p><p>Nowadays, python is good at data analysis . For this purpose python uses so many libraries, modules. By using pandas package we can construct the dataframe . .isin() function can be used by pandasdataframe object .it is used to select all the rows form the dataset which has same value in a particular column.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=119e4c9ea398" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AttributeError: module ‘cv2.cv2’ has no attribute ‘createLBPHFaceRecognizer’]]></title>
            <link>https://medium.com/@pg170898/attributeerror-module-cv2-cv2-has-no-attribute-createlbphfacerecognizer-4577c4268a1f?source=rss-53b6be1d4549------2</link>
            <guid isPermaLink="false">https://medium.com/p/4577c4268a1f</guid>
            <category><![CDATA[opencv-python]]></category>
            <category><![CDATA[opencv]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Priyansh gupta]]></dc:creator>
            <pubDate>Mon, 19 Jun 2017 14:34:16 GMT</pubDate>
            <atom:updated>2019-09-17T14:06:58.227Z</atom:updated>
            <content:encoded><![CDATA[<p>Use Stack Overflow for Teams at work to find answers in a private and secure environment. Get your first 10 users free. <a href="https://stackoverflow.com/teams?utm_source=so-owned&amp;utm_medium=sponsor&amp;utm_campaign=10-promo&amp;utm_content=announcement">Sign up.</a></p><p>Asked</p><p>I am facing some attribute error while running face recognizing the code. My face detects code run perfectly.But while I try to run the face recognizing code it shows some attribute error. I googled and tried to follow all the steps. But still, it shows the same error. Here is my code:</p><p>face recognition</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zrhoEeCqJ0ZOT0mX.png" /></figure><p>and I get the following error:</p><pre>C:\Users\MAN\AppData\Local\Programs\Python\Python36\python.exe C:/Users/MAN/PycharmProjects/facerecognition/Recognise/recognize1.py Traceback (most recent call last): File &quot;C:/Users/MAN/PycharmProjects/facerecognition/Recognise/recognize1.py&quot;, line 4, in &lt;module&gt; recognizer = cv2.createLBPHFaceRecognizer() AttributeError: module &#39;cv2.cv2&#39; has no attribute &#39;createLBPHFaceRecognizer&#39; Process finished with exit code 1.</pre><p>I am using Windows platform. python 3.6 version.Thanks in advance.</p><p>Stack Overflow works best with JavaScript enabled</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1/0*PY_SPZRDaJ43ofut.gif" /></figure><p><em>Originally published at </em><a href="https://stackoverflow.com/a/57441502/8950300"><em>https://stackoverflow.com</em></a><em> on June 19, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4577c4268a1f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>