<?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 Kristinelpetrosyan on Medium]]></title>
        <description><![CDATA[Stories by Kristinelpetrosyan on Medium]]></description>
        <link>https://medium.com/@kristinelpetrosyan?source=rss-9f15abf9a7cc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*eZOt9ZxpJy_vUjE-UZO-wA.png</url>
            <title>Stories by Kristinelpetrosyan on Medium</title>
            <link>https://medium.com/@kristinelpetrosyan?source=rss-9f15abf9a7cc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 12:22:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kristinelpetrosyan/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[Differences between Pytorch and Tensorflow]]></title>
            <link>https://kristinelpetrosyan.medium.com/differences-between-pytorch-and-tensorflow-1c8abafc13bd?source=rss-9f15abf9a7cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c8abafc13bd</guid>
            <dc:creator><![CDATA[Kristinelpetrosyan]]></dc:creator>
            <pubDate>Sun, 04 Jul 2021 02:32:10 GMT</pubDate>
            <atom:updated>2021-07-04T02:32:10.316Z</atom:updated>
            <content:encoded><![CDATA[<p>When comparing the experience of programming for PyTorch versus TensorFlow with the Keras API, our opinion is that the differences fall into one major and one minor category. The major difference is that some things that are handled by the Keras API need to be explicitly handled in PyTorch. This makes it slightly harder to get started for a beginner but pays off in the long run in terms of providing flexibility when you want to do something slightly off the beaten path. The minor differences simply consist of a number of minor design/API choices that are different between the two frameworks.</p><p>Both frameworks are rapidly evolving. Therefore, this section is likely to get outdated over time. We recommend that you consult the most up-to-date documentation for the framework you use.</p><h4>Need to Write Our Own Fit/Training Function</h4><p>One of the bigger obstacles in PyTorch compared to Tensorflow is the need to write your own function to train your model. In Tensorflow, once you have defined a model, you simply call the function fit() with a set of suitable parameters, and the framework handles a lot of the details, including running the forward pass, running the backward pass, and adjusting the weights. In addition, it computes and prints out a number of useful metrics like loss and accuracy for both the training set and the test set. In PyTorch, you must handle these mechanics yourself.</p><p>Although this might seem cumbersome, in reality, it is not that much code to write. In addition, as we show in our code examples, it is simple to write your own library function that can be reused across many models. This is a prime example of where we think it is a little bit harder to get started with PyTorch than with Tensorflow. On the other hand, it is very powerful to be able to easily modify this piece of code.</p><h4>Explicit Moves of Data Between NumPy and PyTorch</h4><p>The Keras API in TensorFlow uses NumPy arrays as its representation of tensors. For example, when passing a tensor to a model, the format is expected to be in the form of a multidimensional NumPy array. In contrast, in PyTorch you need to explicitly convert data between NumPy arrays and PyTorch tensors.</p><p>PyTorch keeps track of information to be able to do automatic differentiation (using backpropagation) on PyTorch tensors. That is, as long as you work on PyTorch tensors, you can use any computation supported by the tensor data type when defining a function, and you will later be able to automatically compute partial derivatives of that function. The explicit move to and from a tensor enables PyTorch to track what variables to provide this functionality for.</p><p>There are a few different functions related to this:</p><p>from_numpy()converts from NumPy array to PyTorch tensor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/7/0*3RPFzGkAyD_qH2ie.jpg" /></figure><p>detach()creates a PyTorch tensor that shares storage with the original PyTorch tensor but for which automatic differentiation is not supported.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/7/0*X5SDWrnUt8GkXx91.jpg" /></figure><p>clone()creates a PyTorch tensor from a PyTorch tensor but where storage is not shared between the two tensors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/7/0*uoid3KNAXDoWyRZs.jpg" /></figure><p>item()converts a single element in a PyTorch tensor into a NumPy value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/7/0*-BAbDLU5r1WhsjxJ.jpg" /></figure><p>with torch.no_grad() turns off support for automatic differentiation within the scope of this construct.</p><p>For a beginner, it can be challenging to understand how these functions and constructs all relate, especially when encountering a combined expression such as detach().clone().numpy(). It is like with anything else. It takes some time to get used to, but once you understand it, it is not that complicated.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c8abafc13bd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quantum Computing and Machine Learning]]></title>
            <link>https://kristinelpetrosyan.medium.com/quantum-computing-and-machine-learning-16a15d2dbae0?source=rss-9f15abf9a7cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/16a15d2dbae0</guid>
            <dc:creator><![CDATA[Kristinelpetrosyan]]></dc:creator>
            <pubDate>Sun, 27 Jun 2021 23:36:21 GMT</pubDate>
            <atom:updated>2021-06-27T23:36:21.069Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently Quantum Computing is a hot topic and everybody wants to jump on it. Especially Machine Learning such NLP or AI are most discussed areas.</p><h3>What is quantum AI?</h3><p>Quantum AI is the use of quantum computing for computation of machine learning algorithms. Thanks to computational advantages of quantum computing, quantum AI can help achieve results that are not possible to achieve with classical computers.</p><h3>What is quantum computing?</h3><p>Quantum mechanics is a universal model based on different principles than those observed in daily life. A quantum model of data is needed to process data with quantum computing. Hybrid quantum-classical models are also necessary in quantum computing for error correction and correct functioning of the quantum computer.</p><p>Although AI has made rapid progress over the past decade, it has not yet overcome technological limitations. With the unique features of quantum computing, obstacles to achieve AGI (Artificial General Intelligence) can be eliminated. Quantum computing can be used for the rapid training of machine learning models and to create optimized algorithms. An optimized and stable AI provided by quantum computing can complete years of analysis in a short time and lead to advances in technology. Neuromorphic cognitive models, adaptive machine learning, or reasoning under uncertainty are some fundamental challenges of today’s AI. Quantum AI is one of the most likely solutions for next-generation AI.</p><h3>How does quantum AI work?</h3><p>Recently, Google announced <a href="http://ai.googleblog.com/2020/03/announcing-tensorflow-quantum-open.html">TensorFlow </a>Quantum(TFQ): an open-source library for quantum machine learning, in collaboration with the <a href="https://uwaterloo.ca/">University of Waterloo</a>, <a href="https://x.company/">X</a>, and <a href="https://www.volkswagenag.com/en/news/2018/06/volkswagen-tests-quantum-computing-in-battery-research.html#">Volkswagen</a>. The aim of TFQ is to provide the necessary tools to control and model natural or artificial quantum systems. TFQ is an example of a suite of tools that combines quantum modeling and machine learning techniques.</p><ol><li><strong>Convert quantum data to the quantum dataset: </strong>Quantum data can be represented as a multi-dimensional array of numbers which is called as quantum tensors. TensorFlow processes these tensors in order to represent create a dataset for further use.</li><li><strong>Choose quantum neural network models: </strong>Based on the knowledge of the quantum data structure, quantum neural network models are selected. The aim is to perform quantum processing in order to extract information hidden in an entangled state.</li><li><strong>Sample or Average</strong>: Measurement of quantum states extracts classical information in the form of samples from the classical distribution. The values are obtained from the quantum state itself. TFQ provides methods for averaging over several runs involving steps (1) and (2).</li><li><strong>Evaluate a classical neural networks model</strong> — Since quantum data is now converted into classical data, deep learning techniques are used to learn the correlation between data.</li></ol><p>The other steps of evaluating cost function, gradients, and updating parameters are classical steps of deep learning. These steps make sure that an effective model is created for unsupervised tasks.</p><h3>How to apply quantum computing in AI?</h3><p>Researchers’ near term realistic aim for quantum AI is to create quantum algorithms that perform better than classical algorithms and put them into practice.</p><ul><li><strong>Quantum algorithms for learning:</strong> Development of quantum algorithms for quantum generalizations of classical learning models. It can provide possible speed-ups or other improvements in the deep learning training process. The contribution of quantum computing to classical machine learning can be achieved by quickly presenting the optimal solution set of the weights of artificial neural networks.</li><li><strong>Quantum algorithms for decision problems:</strong> Classical decision problems are formulated in terms of decision trees. A method to reach the set of solutions is by creating branches from certain points. However, when each problem is too complex to be solved by constantly dividing it into two, the efficiency of this method decreases. Quantum algorithms based on <a href="https://en.wikipedia.org/wiki/Hamiltonian_(quantum_mechanics)">Hamiltonian</a> time evolution can solve problems represented by a number of decision trees faster than random walks.</li><li><strong>Quantum search:</strong> Most search algorithms are designed for classical computing. Classical computing outperforms humans in search problems. On the other hand, Lov Grover provided his Grover algorithm and stated that quantum computers can solve this problem even faster than classical computers. AI-powered by quantum computing can be promising for near term applications such as encryption.</li><li><strong>Quantum game theory:</strong> Classical game theory is a process of modeling that is widely used in AI applications. The extension of this theory to the quantum field is the quantum game theory. It can be a promising tool for overcoming critical problems in quantum communication and the implementation of quantum artificial intelligence.</li></ul><p>Although quantum AI is an immature technology, there are improvements in quantum computing which increase the potential of quantum AI. However, the quantum AI industry needs critical milestones in order to become a more mature technology.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16a15d2dbae0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Analyst or Data Scientist?]]></title>
            <link>https://kristinelpetrosyan.medium.com/data-analyst-or-data-scientist-8f4f8cc36c25?source=rss-9f15abf9a7cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f4f8cc36c25</guid>
            <dc:creator><![CDATA[Kristinelpetrosyan]]></dc:creator>
            <pubDate>Mon, 21 Jun 2021 04:13:24 GMT</pubDate>
            <atom:updated>2021-06-21T04:13:24.477Z</atom:updated>
            <content:encoded><![CDATA[<p>For every individual either thinking to choose a career or maybe already graduated there is always question which title is better and how.</p><p>If you’re interested in a career working with big data and crunching numbers, there are two paths you may want to consider — becoming a data analyst or a data scientist. What is the difference between data analysts and data scientists?</p><p>As the world relies increasingly on data in many aspects of business, research and the economy, both data scientists and analysts are in demand with salaries typically above the national average.</p><h3>Data Analyst</h3><p>People with this title typically gather data to identify trends that help business leaders make strategic decisions. The discipline is focused on performing statistical analyses to help answer questions and solve problems. A data analyst uses tools such as SQL to make queries to relational databases. A data analyst may also clean data, or put it in a usable format, discarding irrelevant or unusable information or handling the missing data.</p><p>A data analyst typically works as part of an interdisciplinary team to determine the organization’s goals and then manage the process of mining, cleaning and analyzing the data. The data analyst uses programming languages like Python/R or SAS, visualization tools like Power BI or Tableau.</p><h3>Data Scientist</h3><p>People with this title will be involved in creating algorithms and predictive models. Therefore, data scientists may spend more time designing tools, automation systems and data frameworks.</p><p>Compared to a data analyst, a data scientist may be more focused on developing new tools and methods to extract the information the organization requires to solve complex problems. It’s also beneficial to possess business intuition and critical-thinking skills to understand the implications of the data. Some in the field might describe a data scientist as someone who not only has mathematical and statistical knowledge but also the skills of a hacker to approach problems in innovative ways.</p><h3>Differences and Similarities</h3><p>A data analyst may spend more time on routine analysis, providing reports regularly. A data scientist may design the way data is stored, manipulated and analyzed. Simply put, a data analyst makes sense out of existing data, whereas a data scientist works on new ways of capturing and analyzing data to be used by the analysts.</p><p>If you love numbers and statistics as well as computer programming, either path could be a good fit for your career goals. An analyst typically works on answering specific questions about the organization’s business. A data scientist may work at a more macro level to develop new ways of asking and answering important questions.</p><p>Although each role is focused on analyzing data to gain actionable insights for their organization, they’re sometimes defined by the tools they use. It helps data analysts to be proficient with relational database software, business intelligence programs and statistical software. Data scientists tend to use Python and machine learning to manipulate and analyze data.</p><h3>Roles and Responsibilities</h3><h3>Data Analysts:</h3><ul><li>Data querying using SQL.</li><li>Data analysis and forecasting using Excel.</li><li>Creating dashboards using business intelligence software.</li><li>Performing various descriptive, diagnostic, predictive or prescriptive analytics.</li></ul><h3>Data Scientists:</h3><ul><li>A data scientist may spend up to 60% of their time scrubbing data.</li><li>Data mining using APIs or building ETL pipelines.</li><li>Data cleaning using programming languages .</li><li>Statistical analysis using machine learning algorithms such as natural language processing, logistic regression, kNN, Random Forest or gradient boosting.</li><li>Creating programming and automation techniques, such as libraries, that simplify day-to-day processes using tools like Tensorflow to develop and train machine learning models.</li><li>Developing big data infrastructures using Spark and tools such as Pig and Hive.</li></ul><p>Each role analyzes data and gains actionable insights to make business decisions. Data analysts use SQL, business intelligence software and SAS, a statistical software, while data scientists use Python and machine learning to make sense of data.</p><h3>Job Market</h3><p>A data analyst or data scientist’s salary may vary depending on their industry and employer. The job outlook for data scientists is bright and the projected median annual salary of $100,000 while for data analyst it is little less like $80,000.</p><h3>Career Growth</h3><p>A data analyst may start out in an entry-level role where their main responsibilities are reporting and creating dashboards. The next step may be to take on a role that involves strategy or advanced analytics techniques. Taking it a step further, an advanced analyst may be interested in a managerial role and become an analytics manager after working for over nine years. In some cases, a data analyst may continue their education and sharpen their skills to become a data scientist.</p><p>Hope you find this article interesting and all the best in your job search!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f4f8cc36c25" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[All you need about code review]]></title>
            <link>https://kristinelpetrosyan.medium.com/all-you-need-about-code-review-2c642110e2c2?source=rss-9f15abf9a7cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c642110e2c2</guid>
            <dc:creator><![CDATA[Kristinelpetrosyan]]></dc:creator>
            <pubDate>Sun, 13 Jun 2021 22:41:32 GMT</pubDate>
            <atom:updated>2021-06-13T22:41:32.632Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*Dtf98eTvskXtOBSSceTsYQ.png" /></figure><p>When you join a company as a software engineer or data engineer/ scientist part of daily work becomes code review and submission. There are multiple points to consider while reviewing code and it is better to spend additional time in order to deliver clean code. Important to have main points in your mind and follow and checkmark before pushing the code.</p><h4>1. Know what you need to review</h4><p>Because getting PRs merged quickly is so important you need to stay on top of the changes people want your input on. You can use tools like <a href="https://ptsochantaris.github.io/trailer/">Trailer.app</a> or even simply searches in GitHub using &quot;involves:&lt;YOUR USERNAME&gt;&quot; to find PRs relevant to you.</p><h4>Respond quickly</h4><p>Tolerate being interrupt driven. You need focussed time to your other work done but PRs are time sensitive because they block other people. You shouldn’t put off code review for more than a few hours. Never more than a day.</p><h4>Should know which code review is highly important</h4><p>It’s one of the most important things you can work on. The only things that should come ahead of it are time critical work such as fixing availability problems or dealing with high priority requests from customers. This means you should expect to spend some time every day doing reviews and that you will probably need to spend 2–3 sessions per day replying to PRs and reading other people’s code.</p><h4>Be accurate</h4><p>Reviewing code is hard and error prone. It is our last line of defense against downtime and tech debt. You must pay attention, ask questions and not +1 lightly. Sometimes you will slip and miss something or only notice late in the review process.</p><h4>Don’t block progress</h4><p>While code reviews need to be done thoughtfully and thoroughly we also need to avoid blocking progress. This means you should help people with solutions, not only identify problems. Often it might be faster to go and pair with someone for a bit to get their code tidied up instead of going back and forth on GitHub about it. Be aware that some test suites takes some time to run and it may make more sense for some fixes to be made in subsequent PRs instead of being added to this one.</p><h3>Things to look for while reviewing the code</h3><h4>Clarity</h4><p>Things should be named well and should be easy to follow when reading. The code should attempt to be self documenting.</p><h4>Correctness</h4><p>There must be unit tests. They should test the edge cases. The code should behave as the submitter described. The code should use other APIs correctly.</p><h4>Security</h4><p>The design should not introduce any security problems such as potential denial of service attacks or unintended information disclosures. In particular we should be aware of potential CSRF and XSS attacks.</p><h4>Performance</h4><p>The code should perform within our targets for a particular area. It should not use obviously suboptimal algorithms. However optimisation is usually best left to later. Except when it can also improve other areas at the same time. Simpler code is often faster.</p><h3>Questions to ask yourself when conducting a code review</h3><ul><li><strong>Code duplication:</strong> I go by the <a href="http://c2.com/cgi/wiki?ThreeStrikesAndYouRefactor">“three strikes”</a> rule. If code is copied once, it’s usually okay although I don’t like it. If it’s copied again, it should be refactored so that the common functionality is split out.</li><li><a href="http://robertheaton.com/2014/06/20/code-review-without-your-eyes/"><strong>Squint-test offenses</strong></a><strong>:</strong> If I squint my eyes, does the shape of this code look identical to other shapes? Are there patterns that might indicate other problems in the code’s structure?</li><li><strong>Code left in a better state than found:</strong> If I’m changing an area of the code that’s messy, it’s tempting to add in a few lines and leave. I recommend going one step further and leaving the code nicer than it was found.</li><li><strong>Potential bugs:</strong> Are there off-by-one errors? Will the loops terminate in the way we expect? Will they terminate at all?</li><li><strong>Error handling:</strong> Are errors handled gracefully and explicitly where necessary? Have custom errors been added? If so, are they useful?</li><li><strong>Efficiency:</strong> If there’s an algorithm in the code, is it using an efficient implementation? For example, iterating over a list of keys in a dictionary is an inefficient way to locate a desired value.</li><li><strong>Method names:</strong> Naming things is one of the hard problems in computer science. If a method is named get_message_queue_name and it is actually doing something completely different like sanitizing HTML from the input, then that’s an inaccurate method name. And probably a misleading function.</li><li><strong>Variable names:</strong> foo or bar are probably not useful names for data structures. e is similarly not useful when compared to exception. Be as verbose as you need (depending on the language). Expressive variable names make it easier to understand code when we have to revisit it later.</li><li><strong>Function length:</strong> My rule of thumb is that a function should be less than 20 or so lines. If I see a method above 50, I feel it’s best that it be cut into smaller pieces.</li><li><strong>Class length:</strong> I think classes should be under about 300 lines total and ideally less than 100. It’s likely that large classes can be split into separate objects, which makes it easier to understand what the class is supposed to do.</li><li><strong>File length:</strong> For Python files, I think around 1000 lines of code is about the most we should have in one file. Anything above that is a good sign that it should be split into smaller, more focused files. As the size of a file goes up, discoverability goes down.</li><li><strong>Docstrings:</strong> For complex methods or those with longer lists of arguments, is there a docstring explaining what each of the arguments does, if it’s not obvious?</li><li><strong>Commented code:</strong> Good idea to remove any commented out lines.</li><li><strong>Number of method arguments:</strong> For the methods and functions, do they have 3 or fewer arguments? Greater than 3 is probably a sign that it could be grouped in a different way.</li><li><strong>Readability:</strong> Is the code easy to understand? Do I have to pause frequently during the review to decipher it?</li><li><strong>Test coverage:</strong> I like to see tests for new features. Are the tests thoughtful? Do they cover the failure conditions? Are they easy to read? How fragile are they? How big are the tests? Are they slow?</li><li><strong>Testing at the right level:</strong> When I review tests I’m also making sure that we’re testing them at the right level. In other words, are we as low a level as we need to be to check the expected functionality? Gary Bernhardt recommends a ratio of 95% unit tests, 5% integration tests. I find that particularly with Django projects, it’s easy to test at a high level by accident and create a slow test suite so it’s important to be vigilant.</li><li><strong>Number of Mocks:</strong> Mocking is great. Mocking everything is not great. I use a rule of thumb where if there’s more than 3 mocks in a test, it should be revisited. Either the test is testing too broadly or the function is too large. Maybe it doesn’t need to be tested at a unit test level and would suffice as an integration test. Either way, it’s something to discuss.</li></ul><p>You should read over your own code, make sure you didn’t omit any files, check for style errors and so on. You should do this before you create the PR.</p><h4>Keep your changes small</h4><p>Small changes are much easier to review. They’re also much easier to explain to people. This means that mistakes are less likely to sneak through and the discussion of the change should be much more productive. It also means your PR should avoid ending up with tens of comments that go round and round in circles without ever getting your code merged. It is not always possible to break a change up into small parts but it very often is. A good guideline for this is that your change should not effect a combined total of more than 400 lines.</p><h4>Write good descriptions</h4><p>The title of the PR should include the reference for any tickets covered by this change. You may also want to copy the description from the ticket into your description. The description for your PR should tell the story of your change in a clear and concise way. It should explain both why you are making this change and what you changed. Not all reviewers will have a deep knowledge of that part of the system so you must make it possible for them to provide useful insight. This means explaining what the existing behaviour was, how you changed it, and why this was thought to be useful.</p><h4>Write good commit messages</h4><p>Your commits should be logically separate changes. This means that you should aim to separate things like lint cleanups from actual behaviour changes. They should have good commit messages that explain what was changed at each step.</p><h4>Pair review</h4><p>If you’re working on a component or a service that others are not familiar with then offer to do an in-person pair review with someone. This guarantees you’ll get eyes on your changes and get your code through the door quicker. It’s also a great way for knowledge sharing and teaching people new techniques.</p><p>Hope you find this article helpful and please reach out @kristinelpetrosyan@gmail.com.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c642110e2c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[All you need to know about interview process for a data scientist at Amazon]]></title>
            <link>https://kristinelpetrosyan.medium.com/all-you-need-to-know-about-interview-process-for-a-data-scientist-at-amazon-886aa3b48d05?source=rss-9f15abf9a7cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/886aa3b48d05</guid>
            <dc:creator><![CDATA[Kristinelpetrosyan]]></dc:creator>
            <pubDate>Sun, 06 Jun 2021 21:47:38 GMT</pubDate>
            <atom:updated>2021-06-06T21:47:38.615Z</atom:updated>
            <content:encoded><![CDATA[<p>Similar to Facebook or Google Amazon’s interview process for data scientists also involves a series of phone interviews, followed by onsite interviews and technical assessments.</p><ul><li><strong>The phone screener.</strong> This is first round of phone interviews that judge a candidate’s suitability for the role. Initial rounds include general HR questions about an applicant’s background, experience, and why they want to work for Amazon. There is then a technical screen, during which the applicant will be asked to explain data science concepts to show that they have the foundational technical knowledge to do the job. According to Glassdoor, applicants have in the past been asked questions such as, “Explain p-value,” “Explain bias-variance tradeoff,” “What is the difference between bagging and boosting?” and “Explain Bayes’ Theorem.” Applicants can also expect to solve SQL or Python algorithm coding questions during this stage in the interview process.</li><li><strong>The behavioral questions.</strong> During both the phone interview and the more grueling onsite interview — the latter of which involves a loop with around five or six hiring managers, data scientists, and members of leadership — applicants will be asked data science interview questions where they will be expected to demonstrate the Amazon leadership principles. For example, a hiring manager might ask an applicant to discuss former projects, talk about a time they have failed, or explain occasions when they made trade-offs. According to <a href="https://www.youtube.com/watch?reload=9&amp;v=WcTrGH8nd2o">people who have experience</a> with the interview process, these questions are designed to invite the applicant to connect their response to one of Amazon’s leadership principles, so it’s worth crafting a story around each principle to share during the interview.</li></ul><p>Depending on the role an applicant is applying for, the data science interview process at Amazon can involve additional technical challenges, such as solving coding problems on a whiteboard, or answering questions on machine learning and predictive modeling.The nature of the challenges and additional questions are determined by the needs of the hiring team, the responsibilities of the particular data science role, and the candidate’s level of experience.“Different teams have different requirements,” said Jain, who added that hiring managers at Amazon typically assess job seekers based on both prior experience and the ability to demonstrate that they have the foundational skills and mindset to succeed at Amazon.</p><p>“They look at how you would work if you were given a problem. They also want to know what you have done in the past because that tells them about your problem-solving skills. They dig into both.”</p><p>Some real time interview questions are below:</p><ul><li>How does a logistic regression model know what the coefficients are?</li><li>Difference between convex and non-convex cost function; what does it mean when a cost function is non-convex?</li><li>Is random weight assignment better than assigning same weights to the units in the hidden layer?</li><li>Given a bar plot and imagine you are pouring water from the top, how to qualify how much water can be kept in the bar chart?</li><li>What is Overfitting?</li><li>How would the change of prime membership fee would affect the market?</li><li>Why is gradient checking important?</li><li>Describe Tree, SVM, Random forest and boosting. Talk about their advantage and disadvantages.</li><li>How do you weight 9 marbles three times on a balance scale to select the heaviest one?</li><li>Find the cumulative sum of top 10 most profitable products of the last 6 month for customers in Seattle.</li><li>Describe the criterion for a particular model selection. Why is dimension reduction important?</li><li>What are the assumptions for logistic and linear regression?</li><li>If you can build a perfect classification model to predict some customer behavior, what will be the problem in application?</li><li>The probability that item an item at location A is 0.6 , and 0.8 at location B. What is the probability that item would be found on Amazon website?</li><li>Given a ‘csv’ file with ID and Quantity columns, 50million records and size of data as 2 GBs, write a program in any language of your choice to aggregate the QUANTITY column.</li><li>Implement circular queue using an array.</li><li>When you have a time series data by monthly, it has large data records, how will you find out significant difference between this month and previous months values?</li><li>Compare Lasso and Ridge Regression.</li><li>What’s the difference between MLE and MAP inference?</li><li>Given a function with inputs — an array with N randomly sorted numbers, and an int K, return output in an array with the K largest numbers.</li><li>When users are navigating through the Amazon website, they are performing several actions. What is the best way to model if their next action would be a purchase?</li><li>Estimate the disease probability in one city given the probability is very low national wide. Randomly asked 1000 person in this city, with all negative response(NO disease). What is the probability of disease in this city?</li><li>Describe SVM.</li><li>How does K-means work? What kind of distance metric would you choose? What if different features have different dynamic range?</li><li>What is boosting?</li><li>How many topic modeling techniques do you know of?</li><li>Formulate LSI and LDA techniques.</li><li>What are generative and discriminative algorithms? What are their strengths and weaknesses? Which type of algorithms are usually used and why?”</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=886aa3b48d05" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When and how to normalize your Data]]></title>
            <link>https://kristinelpetrosyan.medium.com/when-and-how-to-normalize-your-data-7966d4bd1268?source=rss-9f15abf9a7cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/7966d4bd1268</guid>
            <dc:creator><![CDATA[Kristinelpetrosyan]]></dc:creator>
            <pubDate>Mon, 31 May 2021 03:17:27 GMT</pubDate>
            <atom:updated>2021-05-31T03:17:27.756Z</atom:updated>
            <content:encoded><![CDATA[<p>I would like to discuss the needs for normalizing your data — with a specific focus on neural networks. In order to understand the concepts discussed, it’s important to have an understanding of gradient descent.</p><p>As a quick refresher, when training neural networks we will feed in observations and compare the expected output to the true output of the network. We’ll then use gradient descent to update the parameters of the model in the direction which will minimize the difference between our expected outcome and the true outcome. In other words, we are attempting to minimize the error we observe in our model’s predictions.</p><p>Updating our model parameters will depend on the variant of gradient descent optimization techniques we select but all of these update techniques will scale the magnitude of our parameter update by a learning rate. This rate ensures that we aren’t changing the parameter too drastically such that we overshoot our update and fail to find the optimal value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/0*Pcmv34gU95Qom1qZ.png" /></figure><p>Ultimately, gradient descent is a search among a loss function surface in an attempt to find the values for each parameter such that the loss function is minimized. In other words, we’re looking for the lowest value on the loss function surface.</p><p>The important thing to remember throughout this discussion is that our loss function surface is characterized by the parameter values in the network. When visualizing this topology, each parameter will represent a dimension of which a range of values will have a resulting affect on the value of our loss function. Unfortunately, this becomes rather tricky to visualize once you extend beyond two parameters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/0*Jbz2luOSEyep0YBi.gif" /></figure><p>In the above image, we’re visualizing the loss function of a model parameterized by two weights (the x and y dimensions) with the z dimension representing the corresponding “error” (loss) of the network.</p><p>This 3D visualization is often also represented by a 2D contour plot.</p><h3>What is the problem with unnormalized data?</h3><p>Let’s take a second to imagine a scenario in which you have a very simple neural network with two inputs. The first input value, x1x1, varies from 0 to 1 while the second input value, x2x2, varies from 0 to 0.01. Since your network is tasked with learning how to <em>combine</em> these inputs through a series of linear combinations and nonlinear activations, the parameters associated with each input will also exist on different scales.</p><p>Unfortunately, this can lead toward an awkward loss function topology which places more emphasis on certain parameter gradients.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/0*3WaMnQhHa_zwZxzZ.png" /></figure><p>By normalizing all of our inputs to a standard scale, we’re allowing the network to <em>more quickly</em> learn the optimal parameters for each input node.</p><p>In short, computers lose accuracy when performing math operations on really large or really small numbers. Moreover, if your inputs and target outputs are on a completely different scale than the typical -1 to 1 range, the default parameters for your neural network will likely be ill-suited for your data.</p><h4>Implementation</h4><p>It’s a common practice to scale your data inputs to have zero mean and unit variance. This is known as the standard scaler approach.</p><p>However, you may opt for a different normalization strategy. For example, it’s common for image data to simply be scaled by 1/255 so that the pixel intensity range is bound by 0 and 1.</p><h3>Batch normalization</h3><p>Normalizing the input of your network is a well-established technique for improving the convergence properties of a network. A few years ago, a technique known as <strong>batch normalization</strong> was proposed to extend this improved loss function topology to more of the parameters of the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/0*izObuC-w1jL_-zSQ.png" /></figure><p>If we were to consider the above network as an example, normalizing our inputs will help ensure that our network can effectively learn the parameters in the first layer.</p><p>However, consider the fact that the second layer of our network accepts the activations from our first layer as input. Thus, by extending the intuition established in the previous section, one could posit that normalizing <em>these</em> values will help the network more effectively learn the parameters in the second layer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/0*NInkWcRWU8Z_cOQ2.png" /></figure><p>By ensuring the activations of <em>each</em> layer are normalized, we can simplify the overall loss function topology. This is especially helpful for the hidden layers of our network, since the distribution of unnormalized activations from previous layers will change as the network evolves and learns more optimal parameters. Thus, by normalizing each layer, we’re introducing a level of <a href="https://www.coursera.org/learn/machine-learning-projects/lecture/FRvQe/orthogonalization">orthogonality</a> between layers — which generally makes for an easier learning process.</p><h4>Implementation</h4><p>To summarize, we’d like to normalize the activations of a given layer such that we improve learning of the weights which connect the next layer. In practice, people will typically normalize the value of z[l]z[l] rather than a[l]a[l] — although sometimes debated whether we should normalize before or after activation.</p><p>Given a vector of linear combinations from the previous layer z[l]z[l] for each observation ii in a dataset, we can calculate the mean and variance as:</p><p>μ=1m∑iz[l]iμ=1m∑izi[l]</p><p>σ2=1m∑i(z[l]i−μ)2σ2=1m∑i(zi[l]−μ)2</p><p>Using these values, we can normalize the vectors z[l]z[l] as follows.</p><p>z(i)norm=z(i)−μσ2+ε‾‾‾‾‾‾√znorm(i)=z(i)−μσ2+ε</p><p>We add a very small number ϵϵ to prevent the chance of a divide by zero error.</p><p>However, it may not be the case that we always want to normalize zz to have zero mean and unit variance. In fact, this would perform poorly for some activation functions such as the sigmoid function. Thus, we’ll allow our normalization scheme to learn the optimal distribution by scaling our normalized values by γγ and shifting by ββ.</p><p>z̃ (i)=γz(i)norm+βz~(i)=γznorm(i)+β</p><p>In other words, we’ve now allowed the network to normalize a layer into whichever distribution is most optimal for learning.</p><p>One result of batch normalization is that we no longer need a bias vector for a batch normalized layer given that we are already shifting the normalized zz values with the ββ parameter.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7966d4bd1268" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Named Entity Linking]]></title>
            <link>https://kristinelpetrosyan.medium.com/named-entity-linking-7760b21e32f?source=rss-9f15abf9a7cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/7760b21e32f</guid>
            <dc:creator><![CDATA[Kristinelpetrosyan]]></dc:creator>
            <pubDate>Mon, 24 May 2021 03:45:11 GMT</pubDate>
            <atom:updated>2021-05-24T03:45:11.825Z</atom:updated>
            <content:encoded><![CDATA[<p>In my previous article I went over NED and general steps which come after Named Entity Recognition . NER is a fundamental Natural Language Processing task and has a wide range of use cases.</p><p>Before looking into NEL, we will first understand information extraction. According to Wikipedia,</p><blockquote><em>“ Information extraction is a task of automatically extracting structured information from unstructured and/or semi-structured documents. In most of the cases, this activity concerns processing human language texts by means of NLP.”</em></blockquote><h3>More closer look at Named Entity Linking</h3><p>Information extraction comprises of multiple sub-tasks. In most cases, we will have the following sub-tasks.</p><ol><li>Named Entity Recognition (NER)</li><li>Named Entity Linking (NEL)</li><li>Relation Extraction</li></ol><p>NER identifies and classify named entity occurrences in text into pre-defined categories. NER is modeled as a task of assigning a tag to each word in a sentence. Below is an example result from a NER system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/0*gDVxdYislF3CJVjq.png" /></figure><p>NER will tell us what words are entities and what are we can see their types. In the above example, NER will locate “<em>Sebastian Thrun</em>” as a person. But we still don’t know exactly which “<em>Sebastian Thrun</em>” the text is speaking about in the above example. NEL is the next task that will answer this question.</p><p><strong>NEL is the task to link entity mentions in text with their corresponding entities in a knowledge base</strong>. In our above example, we can find exactly which “<em>Sebastian Thrun</em>” by linking the entities to DBpedia. DBpedia is a structured knowledge base extracted from Wikipedia. This process of linking entities to Wikipedia is also called as Wikification.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TIEpH5u2i4umGLxG.png" /></figure><p>NEL is also referred to as Entity Linking, Named Entity Disambiguation (NED), Named Entity Recognition and Disambiguation (NERD) or Named Entity Normalization (NEN). NEL has a wide range of applications other than Information Extraction. There are many libraries available to implement NEL, But here we are going to use DBpedia Spotlight. Target knowledge base for NEL here is DBpedia. DBpedia Spotlight, a system for automatically annotating text documents with DBpedia URIs, is developed as a step towards interconnecting the Web of Documents with the Web of Data.</p><p>DBpedia Spotlight is deployed as a Web Service, and we can use the provided <a href="https://www.dbpedia-spotlight.org/api">Spotlight API</a> to achieve NEL. You can even check the status of DBpedia Spotlight server <a href="https://status.dbpedia-spotlight.org/">here</a>.</p><p>As you can see in the above example, DBpedia Spotlight is linking the located entities to DBpedia knowledge base. As a result, we are getting annotated text back. Spotlight supports many languages and multiple response content type that includes HTML, JSON, XML, N-Triples, etc. If you are not comfortable with the Spotlight API, you can use publicly available wrappers written around DBpedia Spotlight’s REST Interface. One such wrapper is <a href="https://pypi.org/project/pyspotlight/">pyspotlight</a>. For any significant Spotlight usage, it is strongly recommended to run your own server. Please follow the <a href="http://www.dbpedia-spotlight.org/faq#i-want-to-install-the-tool-how-do-i-do">installation instructions</a> for running Spotlight in your own server.</p><p>NEL is not a trivial task due to the name variation and ambiguity problem. <strong>Name variation</strong> means an entity can be mentioned in different ways. For example, the entity <em>Michael Jeffrey Jordan</em> can be referred to using numerous names, such as <em>Michael Jordan</em>, <em>MJ</em>, and <em>Jordan</em>. Whereas the <strong>ambiguity</strong> problem is related to the fact that a name may refer to different entities depending on the context.</p><p>In general, a typical entity linking system consists of three modules, namely Candidate Entity Generation, Candidate Entity Ranking, and Unlinkable Mention Prediction . A brief description of each module is given below.</p><ol><li><em>Candidate Entity Generation</em> — In this module, the NEL system aims to retrieve a set of candidate entities by filtering out the irrelevant entities in the knowledge base. The retrieved set contains possible entities that may refer to an entity mention.</li><li><em>Candidate Entity Ranking</em> — Here, different kinds of evidence are leveraged to rank the candidate entities to find the most likely entity for the mention.</li><li><em>Unlinkable Mention Prediction</em> — This module will validate whether the top-ranked entity identified in the previous module is the target entity for the given mention. If not, then it will return NIL for the mention. Basically, this module is to deal with unlinkable mentions.</li></ol><p>NEL is an essential NLP task that should be given more importance. Recently people started using deep learning techniques to improve the performance of NEL systems on standard datasets. I believe massive <a href="http://linkeddata.org/">Linked Open Data</a> present today provides an incredible opportunity for tomorrow’s Artificial Intelligence. Given NEL’s role in Information Extraction and Semantic Web, we need to work more on topics like these.</p><p>Hope you find this article helpful and please contact me with your questions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7760b21e32f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NER and NED with spaCy]]></title>
            <link>https://kristinelpetrosyan.medium.com/ner-and-ned-with-spacy-dd847800b7d9?source=rss-9f15abf9a7cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd847800b7d9</guid>
            <dc:creator><![CDATA[Kristinelpetrosyan]]></dc:creator>
            <pubDate>Sun, 16 May 2021 19:37:15 GMT</pubDate>
            <atom:updated>2021-05-16T19:37:15.310Z</atom:updated>
            <content:encoded><![CDATA[<h3><a href="https://spacy.io/usage/linguistic-features#named-entities-101">Named Entity Recognition</a></h3><p>A named entity is an object that’s assigned a name — for example, a person, a country, a product or a book title. spaCy can <strong>recognize various types of named entities in a document, by asking the model for a prediction</strong>. Because models are statistical and strongly depend on the examples they were trained on, this doesn’t always work <em>perfectly</em> and might need some tuning later, depending on your use case.</p><p>Named entities are available as the ents property of a Doc:</p><pre>import spacy</pre><pre>nlp = spacy.load(&quot;en_core_web_sm&quot;)</pre><pre>doc = nlp(&quot;Apple is looking at buying U.K. startup for $1 billion&quot;)</pre><pre>for ent in doc.ents:</pre><pre>print(ent.text, ent.start_char, ent.end_char, ent.label_)</pre><ul><li><strong>Text:</strong> The original entity text.</li><li><strong>Start:</strong> Index of start of entity in the Doc.</li><li><strong>End:</strong> Index of end of entity in the Doc.</li><li><strong>Label:</strong> Entity label, i.e. type.</li></ul><p>TEXT START END LABEL DESCRIPTION Apple05ORGCompanies, agencies, institutions.U.K.2731GPEGeopolitical entity, i.e. countries, cities, states.$1 billion4454MONEYMonetary values, including unit.</p><p>Using spaCy’s built-in <a href="https://spacy.io/usage/visualizers">displaCy visualizer</a>, here’s what our example sentence and its named entities look like:</p><h3><a href="https://spacy.io/usage/linguistic-features#accessing-ner">Accessing entity annotations and labels</a></h3><p>The standard way to access entity annotations is the <a href="https://spacy.io/api/doc#ents">doc.ents</a> property, which produces a sequence of <a href="https://spacy.io/api/span">Span</a> objects. The entity type is accessible either as a hash value or as a string, using the attributes ent.label and ent.label_. The Span object acts as a sequence of tokens, so you can iterate over the entity or index into it. You can also get the text form of the whole entity, as though it were a single token.</p><p>You can also access token entity annotations using the <a href="https://spacy.io/api/token#attributes">token.ent_iob</a> and <a href="https://spacy.io/api/token#attributes">token.ent_type</a> attributes. token.ent_iob indicates whether an entity starts, continues or ends on the tag. If no entity type is set on a token, it will return an empty string.</p><h4>IOB SCHEME</h4><ul><li>I – Token is <strong>inside</strong> an entity.</li><li>O – Token is <strong>outside</strong> an entity.</li><li>B – Token is the <strong>beginning</strong> of an entity.</li></ul><h4>BILUO SCHEME</h4><ul><li>B – Token is the <strong>beginning</strong> of a multi-token entity.</li><li>I – Token is <strong>inside</strong> a multi-token entity.</li><li>L – Token is the <strong>last</strong> token of a multi-token entity.</li><li>U – Token is a single-token <strong>unit</strong> entity.</li><li>O – Toke is <strong>outside</strong> an entity.</li></ul><pre>import spacy</pre><pre>nlp = spacy.load(&quot;en_core_web_sm&quot;)</pre><pre>doc = nlp(&quot;San Francisco considers banning sidewalk delivery robots&quot;)</pre><pre>​</pre><pre># document level</pre><pre>ents = [(e.text, e.start_char, e.end_char, e.label_) for e in doc.ents]</pre><pre>print(ents)</pre><pre>​</pre><pre># token level</pre><pre>ent_san = [doc[0].text, doc[0].ent_iob_, doc[0].ent_type_]</pre><pre>ent_francisco = [doc[1].text, doc[1].ent_iob_, doc[1].ent_type_]</pre><pre>print(ent_san)  # [&#39;San&#39;, &#39;B&#39;, &#39;GPE&#39;]</pre><pre>print(ent_francisco)  # [&#39;Francisco&#39;, &#39;I&#39;, &#39;GPE&#39;]</pre><p>TEXT ENT_IOBENT_IOB_ENT_TYPE_DESCRIPTIONS an3B&quot;GPE&quot;beginning of an entityFrancisco1I&quot;GPE&quot;inside an entity considers2O&quot;&quot;outside an entity banning2O&quot;&quot;outside an entity sidewalk2O&quot;&quot;outside an entity delivery2O&quot;&quot;outside an entity robots2O&quot;&quot;outside an entity</p><h3><a href="https://spacy.io/usage/linguistic-features#setting-entities">Setting entity annotations</a></h3><p>To ensure that the sequence of token annotations remains consistent, you have to set entity annotations <strong>at the document level</strong>. However, you can’t write directly to the token.ent_iob or token.ent_type attributes, so the easiest way to set entities is to use the <a href="https://spacy.io/api/doc#set_ents">doc.set_ents</a> function and create the new entity as a <a href="https://spacy.io/api/span">Span</a>.</p><pre>import spacy</pre><pre>from spacy.tokens import Span</pre><pre>​</pre><pre>nlp = spacy.load(&quot;en_core_web_sm&quot;)</pre><pre>doc = nlp(&quot;fb is hiring a new vice president of global policy&quot;)</pre><pre>ents = [(e.text, e.start_char, e.end_char, e.label_) for e in doc.ents]</pre><pre>print(&#39;Before&#39;, ents)</pre><pre># The model didn&#39;t recognize &quot;fb&quot; as an entity :(</pre><pre>​</pre><pre># Create a span for the new entity</pre><pre>fb_ent = Span(doc, 0, 1, label=&quot;ORG&quot;)</pre><pre>orig_ents = list(doc.ents)</pre><pre>​</pre><pre># Option 1: Modify the provided entity spans, leaving the rest unmodified</pre><pre>doc.set_ents([fb_ent], default=&quot;unmodified&quot;)</pre><pre>​</pre><pre># Option 2: Assign a complete list of ents to doc.ents</pre><pre>doc.ents = orig_ents + [fb_ent]</pre><pre>​</pre><pre>ents = [(e.text, e.start, e.end, e.label_) for e in doc.ents]</pre><pre>print(&#39;After&#39;, ents)</pre><pre># [(&#39;fb&#39;, 0, 1, &#39;ORG&#39;)]</pre><p>Keep in mind that Span is initialized with the start and end <strong>token</strong> indices, not the character offsets. To create a span from character offsets, use <a href="https://spacy.io/api/doc#char_span">Doc.char_span</a>:</p><pre>fb_ent = doc.char_span(0, 2, label=&quot;ORG&quot;)</pre><h4><a href="https://spacy.io/usage/linguistic-features#setting-from-array">Setting entity annotations from array</a></h4><p>You can also assign entity annotations using the <a href="https://spacy.io/api/doc#from_array">doc.from_array</a> method. To do this, you should include both the ENT_TYPE and the ENT_IOB attributes in the array you’re importing from.</p><pre>Editable CodespaCy v3.0 · Python 3 · via <a href="https://mybinder.org/">Binder</a></pre><pre>import numpy</pre><pre>import spacy</pre><pre>from spacy.attrs import ENT_IOB, ENT_TYPE</pre><pre>​</pre><pre>nlp = spacy.load(&quot;en_core_web_sm&quot;)</pre><pre>doc = nlp.make_doc(&quot;London is a big city in the United Kingdom.&quot;)</pre><pre>print(&quot;Before&quot;, doc.ents)  # []</pre><pre>​</pre><pre>header = [ENT_IOB, ENT_TYPE]</pre><pre>attr_array = numpy.zeros((len(doc), len(header)), dtype=&quot;uint64&quot;)</pre><pre>attr_array[0, 0] = 3  # B</pre><pre>attr_array[0, 1] = doc.vocab.strings[&quot;GPE&quot;]</pre><pre>doc.from_array(header, attr_array)</pre><pre>print(&quot;After&quot;, doc.ents)  # [London]</pre><h4><a href="https://spacy.io/usage/linguistic-features#displacy">Visualizing named entities</a></h4><p>The <a href="https://explosion.ai/demos/displacy-ent">displaCy ENT visualizer</a> lets you explore an entity recognition model’s behavior interactively. If you’re training a model, it’s very useful to run the visualization yourself. To help you do that, spaCy comes with a visualization module. You can pass a Doc or a list of Doc objects to displaCy and run <a href="https://spacy.io/api/top-level#displacy.serve">displacy.serve</a> to run the web server, or <a href="https://spacy.io/api/top-level#displacy.render">displacy.render</a> to generate the raw markup.</p><p>For more details and examples, see the <a href="https://spacy.io/usage/visualizers">usage guide on visualizing spaCy</a>.</p><pre>NAMED ENTITY EXAMPLE</pre><pre>import spacy<br>from spacy import displacy</pre><pre>text = &quot;When Sebastian Thrun started working on self-driving cars at Google in 2007, few people outside of the company took him seriously.&quot;</pre><pre>nlp = spacy.load(&quot;en_core_web_sm&quot;)<br>doc = nlp(text)<br>displacy.serve(doc, style=&quot;ent&quot;)</pre><h3><a href="https://spacy.io/usage/linguistic-features#entity-linking">Entity Linking</a>(NED)</h3><p>To better understand the goal of Named Entity Disambiguation, it is helpful to place it as the last step in a longer NLP pipeline that begins with Named Entity Recognition. Named Entity Recognition identifies within a unit of text the word or words that represent an entity or object — such as names, organizations, locations, or other proper nouns.</p><p>Once a named entity has been identified, it must be matched to a corresponding node in a knowledge base in order to grow that knowledge base with primary source documentation and improve understanding of the node. The simplest way to link a named entity is by direct string matching.</p><p>To ground the named entities into the “real world”, spaCy provides functionality to perform entity linking, which resolves a textual entity to a unique identifier from a knowledge base (KB). You can create your own <a href="https://spacy.io/api/kb">KnowledgeBase</a> and <a href="https://spacy.io/usage/training">train</a> a new <a href="https://spacy.io/api/entitylinker">EntityLinker</a> using that custom knowledge base.</p><h3><a href="https://spacy.io/usage/linguistic-features#entity-linking-accessing">Accessing entity identifiers </a>NEEDS MODEL</h3><p>The annotated KB identifier is accessible as either a hash value or as a string, using the attributes ent.kb_id and ent.kb_id_ of a <a href="https://spacy.io/api/span">Span</a> object, or the ent_kb_id and ent_kb_id_ attributes of a <a href="https://spacy.io/api/token">Token</a> object.</p><pre>import spacy</pre><pre>nlp = spacy.load(&quot;my_custom_el_pipeline&quot;)<br>doc = nlp(&quot;Ada Lovelace was born in London&quot;)</pre><pre># Document level<br>ents = [(e.text, e.label_, e.kb_id_) for e in doc.ents]<br>print(ents)  # [(&#39;Ada Lovelace&#39;, &#39;PERSON&#39;, &#39;Q7259&#39;), (&#39;London&#39;, &#39;GPE&#39;, &#39;Q84&#39;)]</pre><pre># Token level<br>ent_ada_0 = [doc[0].text, doc[0].ent_type_, doc[0].ent_kb_id_]<br>ent_ada_1 = [doc[1].text, doc[1].ent_type_, doc[1].ent_kb_id_]<br>ent_london_5 = [doc[5].text, doc[5].ent_type_, doc[5].ent_kb_id_]<br>print(ent_ada_0)  # [&#39;Ada&#39;, &#39;PERSON&#39;, &#39;Q7259&#39;]<br>print(ent_ada_1)  # [&#39;Lovelace&#39;, &#39;PERSON&#39;, &#39;Q7259&#39;]<br>print(ent_london_5)  # [&#39;London&#39;, &#39;GPE&#39;, &#39;Q84&#39;]</pre><p>Will share more with real time examples from my project in my next article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd847800b7d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Digital Ocean vs Amazon comparison]]></title>
            <link>https://kristinelpetrosyan.medium.com/digital-ocean-vs-amazon-comparison-e22a28363b67?source=rss-9f15abf9a7cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/e22a28363b67</guid>
            <dc:creator><![CDATA[Kristinelpetrosyan]]></dc:creator>
            <pubDate>Mon, 10 May 2021 03:52:30 GMT</pubDate>
            <atom:updated>2021-05-10T03:52:30.425Z</atom:updated>
            <content:encoded><![CDATA[<p>DigitalOcean is a leading upstart cloud hosting provider. DigitalOcean focuses only on developers’ needs, unlike Amazon’s <a href="https://www.upguard.com/articles/aws-vs-azure">AWS</a> with its everything-to-all-people approach. The company has data centers located in Amsterdam, Singapore, London, San Francisco, and New York. Early on, it received significant media coverage following pop megastar Beyonce’s decision to host her album on their servers in 2013. Over the years, DigitalOcean saw explosive growth and attracted large sums of venture-capital funding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/0*D8WD79QC6FkE_bT2.png" /></figure><p>DigitalOcean zeroes in on three main selling points to differentiate itself: pricing, high performance virtual machines, and simplicity. Their business model concentrates on giving developers a way to quickly start up affordable Linux instances called droplets. The most popular Linux are supported and with just <a href="https://marketplace.digitalocean.com/">one more click</a> you can launch several applications — Ruby on Rails, a LAMP stack, Docker, Ghost, Wordpress, etc.</p><p>DigitalOcean’s pricing is reputedly THE best among all cloud providers. Their prices are affordable, even to very small developer setups. And what’s more, they don’t hit you with hidden charges for add-ons like more traffic and fixed IP addresses. Pricing starts at $0.007/hour or $5/month and they provide an easy slider to convert between hourly and monthly pricing.</p><p>DigitalOcean also prides itself on offering only high-performance machines. All disk drives are SSD, network speed is 1Gbps, and droplet startup time is just 55 seconds (compared to 1–3 minutes for other large cloud providers). Independent performance tests place DigitalOcean nodes at or near the top of performance tests, far above Amazon machines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*uQ9nBIWBerVUC4Nv.gif" /></figure><p>Lastly, DigitalOcean offers a simple, user friendly, uncomplicated setup. It is targeted at developers and only offers machines running some version of the Linux operating system and related services — a virtual machine and DNS management. Over time it has expanded the class of products to include amenities like load-balancing, analytics, configuration management, hosted databases and so on. DigitalOcean still functions true to its DNA as a bare-bones IaaS provider for Linux developers, and they aren’t ashamed to say so. From an early <a href="https://archive.ochronus.com/digitalocean-review-comparison/">review</a> of their services: “The services they provide are quite basic — you get VPS’s in the cloud and DNS management, that’s all. No fancy load balancing, hosted databases, Hadoop clusters, etc. Compared to AWS, for example this could be seen as a disadvantage, but don’t judge just yet.”</p><h3>AWS Overview</h3><p>Amazon’s AWS is the market leader by far; in fact it is estimated that Amazon has as much computing capacity as the next 11 competitors on the list combined.</p><p>Amazon’s AWS is really an umbrella offering consisting of a bewildering array of <a href="https://aws.amazon.com/products/">various branded IaaS and PaaS solutions</a>. The largest and best-known of these is the EC2 IaaS solution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*baAgihMGFAvOxVFi.png" /></figure><p>Others are:</p><ul><li>PaaS configuration (Elastic Beanstalk)</li><li>Storage (S3 &amp; Glacier products).</li><li>Databases (RDS, RedShift, SimpleDB, DynamoDB).</li><li>Networking &amp; Content Delivery (Route 53, CloudFront).</li><li>Deployment &amp; Configuration Management (OpsWorks, CloudFormation).</li><li>Content Delivery (CloudFront).</li><li>Load balancing.</li><li>Application development platforms.</li></ul><p>Amazon owns the largest data centers in the world. Separate data centers have been built in China to service that market exclusively. These are completely isolated from the others to placate Chinese concerns about US government spying, which have of course been heightened (legitimized!) following the Edward Snowden and Wikileaks revelations. In 2013 Amazon also won a coveted contract to create GovCloud which is a private cloud for the U.S. government. In response to Amazon’s dominance in the cloud platform space, we’ve created a 2-part post on implementing GuardRail with Amazon AWS EC2, so be sure to check it out as well.</p><p>Data Centers And Product Inventory</p><p>As one would expect for the world leader in cloud services, AWS operates the largest and most extensive network of cloud data centers worldwide. The cloud provider has continued to introduce new regions to support the needs of its global customer base. Now, AWS has the following regions and locations:</p><ul><li><strong>Asia Pacific:</strong> Mumbai, Seoul, Singapore, Sydney, Tokyo</li><li><strong>Canada:</strong> Central</li><li><strong>China:</strong> Beijing</li><li><strong>Europe:</strong> Frankfurt, Ireland, London</li><li><strong>South America:</strong> São Paulo</li><li><strong>US East:</strong> N. Virginia, Ohio</li><li><strong>US West:</strong> N. California, Oregon</li></ul><p>DigitalOcean, while having a smaller footprint of data centers, has a network of data centers spanning the globe too. These are the regions it has on offer:</p><ul><li><strong>AMS2, AMS3:</strong> Amsterdam, the Netherlands</li><li><strong>BLR1:</strong> Bangalore, India</li><li><strong>FRA1:</strong> Frankfurt, Germany</li><li><strong>LON1:</strong> London, United Kingdom</li><li><strong>TOR1:</strong> Toronto, Canada</li><li><strong>NYC1, NYC2, NYC3:</strong> New York City, United States</li><li><strong>SFO1, SFO2:</strong> San Francisco, United States</li><li><strong>SGP1:</strong> Singapore</li></ul><p>An important distinction here is that <a href="https://www.amazonaws.cn/en/about-aws/china/">AWS now offers servers in the China region</a>, AWS China (Beijing) and AWS China (Ningxia),which, due to Chinese regulations, are offered by AWS’s Chinese partners. If you are operating products to serve the Chinese market, this may make a crucial difference in which service you go with.</p><p>For AWS, these are some of the biggest and most heavily used products, out of all the numerous ones on offer:</p><ul><li><strong>Amazon EC2:</strong> provides cloud computing in the Amazon Web Services cloud</li><li><strong>Amazon S3:</strong> offers object storage and retrieval services</li><li><strong>AWS Lambda:</strong> offers pay per use compute time to run serverless apps</li><li><strong>Amazon Glacier:</strong> low cost storage suitable for archival purposes</li><li><strong>Amazon SNS:</strong> the Simple Notification Service provides pub/sub notifications to mobile users</li><li><strong>Amazon Elastic Block Store:</strong> provides persistent block storage for EC2 servers</li><li><strong>Amazon Kinesis:</strong> a managed service for real time processing of streaming big data in the cloud</li><li><strong>Amazon VPC:</strong> the Virtual Private Cloud service provides customers with a secure virtual private cloud for their cloud computing needs</li><li><strong>Amazon SQS:</strong> the Simple Queue Service provides distributed message queues for microservices and distributed systems</li></ul><p>Its product offerings might be less extensive, but DigitalOcean has the essentials covered for small and medium sized businesses. Still, just about everything DigitalOcean offers can be found on AWS. Here are some of DigitalOcean’s biggest products:</p><ul><li><strong>Droplets:</strong> fast and flexible cloud compute capacity</li><li><strong>DigitalOcean Kubernetes:</strong> service offering simple, user friendly, managed Kubernetes</li><li><strong>Managed Databases:</strong> managed MySQL, PostgreSQL, and Redis, with setups, backups, and updating done for you by DigitalOcean</li><li><strong>Spaces Block Storage:</strong> S3-compatible block storage with a CDN for speed</li><li><strong>Volumes Block Storage:</strong> SSD block storage for Droplets</li><li><strong>Networking:</strong> Load Balancers, Floating IPs, Cloud Firewalls and DNS</li></ul><p>While DigitalOcean’s product range has expanded beyond what it offered a few years ago, the difference in revenue with AWS juxtaposes the two perfectly. DigitalOcean has scaled beyond $250 million in annual revenue, whereas <a href="https://www.cnbc.com/2019/10/24/aws-earnings-q3-2019.html">AWS now does $9 billion a quarter</a>, which translates to annual revenue of around $36 billion. That’s several magnitudes of difference.</p><h3>Cost, Performance Comparisons</h3><p>In line with its value proposition of making cloud computing simpler for small businesses, DigitalOcean keeps its pricing simple as well. While it quotes an hourly rate for its Droplets, there’s a simple, predictable monthly price, which makes planning and budgeting much simpler. AWS goes strictly with a pay-as-you-go approach for its more than 160 products and services. Notably, you can make your AWS costs more predictable and save money by using reserved capacity rather than pay as you go, while <a href="https://aws.amazon.com/lightsail/">Amazon Lightsail</a> has made available a simpler, more predictably priced way to leverage AWS for small apps. Reserved capacity involves an upfront payment for your virtual server, with the potential to save as much as 75% compared to what you would pay with provisioning your EC2 instance on a pay-as-you-go plan.</p><p>DigitalOcean’s pricing for Droplets and other services lets you see ahead of time how much you will end up paying. For example, a 1GB RAM Droplet with 25 GB SSD disk capacity will cost $5/month. This comes out to $0.007/hr, which is a significantly lower price than the comparable AWS EC2 t2.micro cloud server which has a pay as you go cost of $0.0116/hr. This general trend applies to a lot of the two competitors’ product offerings, with DigitalOcean generally costing less for equivalent or comparable cloud computing capacity.</p><p>While both AWS and DigitalOcean have transparent pricing, AWS prices have tended to be opaque and seemingly mysterious in the past. This has made price to be a common FAQ for people considering AWS services. The difference with DigitalOcean is that the latter is upfront and clear about how much you end up paying on a monthly basis, the better to suit small businesses’ budgeting and planning needs.</p><p>It also doesn’t hurt that DigitalOcean has a pricing edge over AWS for most of their overlapping products. For AWS, the complexity of the ecosystem means that the target buyers, large enterprises with complex requirements, might prefer to stay in the AWS ecosystem to manage all their cloud computing and web hosting needs rather than go strictly on price. Large enterprise customers of AWS have included Apple and PayPal, among others, though DigitalOcean has some big names using it too.</p><p>In a notable performance benchmark study, DigitalOcean came out with superior performance per dollar spent. The <a href="https://www.digitalocean.com/resources/cloud-performance-report/">study compared VM performance at comparable levels of spend</a> across major cloud providers. DigitalOcean had higher CPU performance per dollar, almost 40% higher than AWS and more than 50% higher than Google Cloud.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e22a28363b67" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Key points of CNN]]></title>
            <link>https://kristinelpetrosyan.medium.com/key-points-of-cnn-1b3838544172?source=rss-9f15abf9a7cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b3838544172</guid>
            <dc:creator><![CDATA[Kristinelpetrosyan]]></dc:creator>
            <pubDate>Sun, 02 May 2021 04:17:36 GMT</pubDate>
            <atom:updated>2021-05-02T04:17:36.733Z</atom:updated>
            <content:encoded><![CDATA[<p>Before diving deep into image recognition and especially CNN architecture will talk about how we see images and how our brain decides what it is. Our eyes capture the lights and colors on the <a href="https://en.wikipedia.org/wiki/Retina"><em>retina</em></a>. The receptors on the retina pass these signals to the optic nerve which passes them to the brain to make sense of this information. The whole visual pathway plays an important role in the process of understanding and making sense of what we see around us. It is this system inside us which allows us to make sense of the picture above, the text in this article and all other visual recognition tasks we perform everyday.</p><p>We’ve been doing this since our childhood. We were taught to recognize an umbrella, a dog, a cat or a human being. Can we teach computers to do so? Can we make a machine which can <em>see and understand </em>as well as humans do?</p><p>Computers “see” the world in a different way than we do. They can only “see” anything in form of numbers.To teach computers to make sense out of this array of numbers is a challenging task. Computer scientists have spent decades to build systems, algorithms and models which can understand images. Today in the era of Artificial Intelligence and Machine Learning we have been able to achieve remarkable success in identifying objects in images, identifying the context of an image, detect emotions etc. One of the most popular algorithm used in computer vision today is <strong>Convolutional Neural Network or CNN.</strong></p><h3>Convolutional Neural Networks</h3><p>CNN is composed of two major parts:</p><ol><li>Feature Extraction</li><li>Classification</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/60/0*_xQyvjptiqj3C_2D" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cVbFWcdNgQvpbmgqzjZwsQ.png" /></figure><h3>1) Feature Extraction</h3><p>This is the part of CNN architecture from where this network derives its name. <a href="http://mathworld.wolfram.com/Convolution.html"><strong>Convolution</strong></a><strong> </strong>is the mathematical operation which is central to the efficacy of this algorithm. Let’s understand on a high level what happens inside the red enclosed region. The input to the red region is the image which we want to classify and the output is a set of <strong>features. </strong>Think of features as attributes of the image, for instance, an image of a cat might have features like whiskers, two ears, four legs etc. A handwritten digit image might have features as horizontal and vertical lines or loops and curves. Let’s see how do we <strong>extract </strong>such features from the image.</p><h3>Feature Extraction: Convolution</h3><p>Convolution in CNN is performed on an input image using a <strong>filter or a kernel. </strong>To understand filtering and convolution make a<strong> small</strong> <strong>peephole </strong>with the help of your index finger and thumb by rolling them together as you would do to make a fist. Now through this peep hole look at your screen, you can look at a very small part of the screen through the peep hole. You will have to <strong>scan</strong><em> </em>the screen starting from top left to right and moving down a bit after covering the width of the screen and repeating the same process until you are done scanning the whole screen.</p><p>Convolution of an image with a kernel works in a similar way. The kernel or the filter, which is a small matrix of values, acts as the peephole which performs a mathematical operation on the image while scanning the image in a similar way. For instance if the input image and the filter look like —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*FCzRA-eB7uBux9q2.png" /></figure><p>The filter (green) <em>slides</em> over the input image (blue) one pixel at a time starting from the top left. The filter multiplies its own values with the overlapping values of the image while sliding over it and adds all of them up to output a single value for each overlap.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*918q2qmWhz6YN9ZT.gif" /></figure><p>In the above animation the value 4 (top left) in the output matrix (red) corresponds to the filter overlap on the top left of the image which is computed as —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/0*yecbLJ8O7DLEZ6XU.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/60/0*pM4VXw8_yjIkxDll" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/0*IC99HH90VS6LeEpm.jpeg" /></figure><p>Similarly we compute the other values of the output matrix. Note that the top left value, which is 4, in the output matrix depends only on the 9 values (3x3) on the top left of the original image matrix. It does not change even if the rest of the values in the image change. This is the <strong>receptive field</strong> of this output value or neuron in our CNN. Each value in our output matrix is sensitive to only a <strong>particular region</strong> in our original image. Scroll up to see the overlapping neurons receptive field diagram, do you notice the similarity?<br>Each adjacent value (neuron) in the output matrix has overlapping receptive fields like our red, blue &amp; yellow neurons in the picture earlier. The animation below will give you a better sense of what happens in convolution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/395/0*eF08_aTSWPDHrE4E.gif" /></figure><p>Feature Extraction: Non-Linearity</p><p>If you go back and read about a <a href="https://medium.com/datadriveninvestor/neural-networks-an-intuition-640821d5bd83">basic neural network</a> you will notice that each successive layer of a neural network is a <strong>linear combination</strong> of its inputs. The introduction of non-linearity or an activation function allows us to classify our data even if it is not <a href="http://www.ece.utep.edu/research/webfuzzy/docs/kk-thesis/kk-thesis-html/node19.html"><strong>linearly separable</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/60/0*8jwWpM3_3_pr6wLH" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/0*WMgWFh1M7m1Ig4Lq.jpeg" /></figure><p>Left: Linearly separable vs. Right: Not linearly separable</p><p>Which leads us to another important operation — <strong>non-linearity or activation</strong>. After sliding our filter over the original image the output which we get is passed through another mathematical function which is called an <strong>activation function</strong>. The activation function usually used in most cases in CNN feature extraction is <strong>ReLU </strong>which stands for <strong>Re</strong>ctified <strong>L</strong>inear <strong>U</strong>nit. Which simply converts all of the negative values to 0 and keeps the positive values the same.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/60/0*NTZeKxTD7lht-woF" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/0*fgI2sERy7E5KhJKe.jpeg" /></figure><p>So for a single image by convolving it with multiple filters we can get multiple output images. For the handwritten digit here we applied a horizontal edge extractor and a vertical edge extractor and got two output images. We can apply several other filters to generate more such outputs images which are also referred as <strong>feature maps.</strong></p><h3>Feature Extraction: Pooling</h3><p>After a convolution layer once you get the feature maps, it is common to add a <strong>pooling or a sub-sampling layer</strong> in CNN layers. Pooling reduces the dimensionality to reduce the number of parameters and computation in the network. This shortens the training time and controls <a href="https://en.wikipedia.org/wiki/Overfitting">over-fitting</a>.</p><p>The most frequent type of pooling is <strong>max pooling</strong>,<em> </em>which takes the <strong>maximum value</strong> in a specified <em>window</em>. The windows are similar to our earlier kernel sliding operation. This decreases the feature map size while at the same time keeping the significant information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/60/0*od-_5-ZY9EdEQZ6L" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/471/0*TezhCzD5WT--d9a5.jpeg" /></figure><h3>2) Classification</h3><p>Alright, so now we have all the pieces required to build a CNN. Convolution, ReLU and Pooling. The output of max pooling is fed into the classifier we discussed initially which is usually a multi-layer perceptron a.k.a fully connected layer. Usually in CNNs these layers are used more than once i.e. Convolution -&gt; ReLU -&gt; Max-Pool -&gt; Convolution -&gt; ReLU -&gt; Max-Pool and so on. We won’t discuss the fully connected layer in this article. You can read <a href="https://medium.com/datadriveninvestor/neural-networks-an-intuition-640821d5bd83">this article</a> for a basic intuitive understanding of the fully connected layer.</p><h3>Final Remarks</h3><p>CNN is a very powerful algorithm which is widely used for image classification and object detection. The hierarchical structure and powerful feature extraction capabilities from an image makes CNN a very robust algorithm for various image and object recognition tasks. There are numerous different architectures of Convolutional Neural Networks like <em>LeNet, AlexNet, ZFNet, GoogleNet, VGGNet, ResNet</em> etc. But the basic idea behind these architectures remains the same.</p><p>Hope you find this article helpful and please contact me @kristinelpetrosyan@gmail.com with any questions you will have.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b3838544172" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>