<?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 Yellagondavikram on Medium]]></title>
        <description><![CDATA[Stories by Yellagondavikram on Medium]]></description>
        <link>https://medium.com/@yellagondavikram?source=rss-2f1956818578------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*h8gD0IbIJXrNxXLgDiThTA.jpeg</url>
            <title>Stories by Yellagondavikram on Medium</title>
            <link>https://medium.com/@yellagondavikram?source=rss-2f1956818578------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 16:47:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yellagondavikram/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[What is Machine Learning]]></title>
            <link>https://medium.com/@yellagondavikram/what-is-machine-learning-9ffed8aeb653?source=rss-2f1956818578------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ffed8aeb653</guid>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Yellagondavikram]]></dc:creator>
            <pubDate>Tue, 16 Apr 2024 16:25:02 GMT</pubDate>
            <atom:updated>2024-04-16T16:25:02.799Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9KMbnf-JoOHIF81K.jpg" /></figure><p>Machine learning (ML) is a branch of <a href="https://www.ibm.com/topics/artificial-intelligence">artificial intelligence (AI)</a> and computer science that focuses on the using data and algorithms to enable AI to imitate the way that humans learn, gradually improving its accuracy.</p><h3>How does machine learning work?</h3><p>breaks out the learning system of a machine learning algorithm into three main parts.</p><ol><li>A Decision Process: In general, machine learning algorithms are used to make a prediction or classification. Based on some input data, which can be labeled or unlabeled, your algorithm will produce an estimate about a pattern in the data.</li><li>An Error Function: An error function evaluates the prediction of the model. If there are known examples, an error function can make a comparison to assess the accuracy of the model.</li><li>A Model Optimization Process: If the model can fit better to the data points in the training set, then weights are adjusted to reduce the discrepancy between the known example and the model estimate. The algorithm will repeat this iterative “evaluate and optimize” process, updating weights autonomously until a threshold of accuracy has been met.</li></ol><h3>Machine learning methods-</h3><p>Machine learning models fall into three primary categories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*5HRGtTa8hnUm9C04NuDH1A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*dcmsayOwTlbO5akDrqzkLQ.png" /></figure><h3>Supervised machine learning</h3><p><a href="https://www.ibm.com/topics/supervised-learning">Supervised learning</a>, also known as supervised machine learning, is defined by its use of labeled datasets to train algorithms to classify data or predict outcomes accurately. As input data is fed into the model, the model adjusts its weights until it has been fitted appropriately. This occurs as part of the cross validation process to ensure that the model avoids <a href="https://www.ibm.com/topics/overfitting">overfitting</a> or <a href="https://www.ibm.com/topics/underfitting">underfitting</a>. Supervised learning helps organizations solve a variety of real-world problems at scale, such as classifying spam in a separate folder from your inbox. Some methods used in supervised learning include neural networks, naïve bayes, linear regression, logistic regression, random forest, and support vector machine (SVM).</p><p>→Supervised learning is a category of machine learning that uses labeled datasets to train algorithms to predict outcomes and recognize patterns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*rb7iddkh-IlmG-iZsCLhXw.png" /></figure><h3>2. Unsupervised Learning:</h3><p>Unsupervised learning in artificial intelligence is a type of machine learning that learns from data without human supervision.</p><p>uses machine learning algorithms to analyze and cluster unlabeled datasets (subsets called clusters). These algorithms discover hidden patterns or data groupings without the need for human intervention. This method’s ability to discover similarities and differences in information make it ideal for exploratory data analysis, cross-selling strategies, customer segmentation, and image and pattern recognition. It’s also used to reduce the number of features in a model through the process of dimensionality reduction. Principal component analysis (PCA) and singular value decomposition (SVD) are two common approaches for this. Other algorithms used in unsupervised learning include neural networks, k-means clustering, and probabilistic clustering methods.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*K05u7qFOxUZ5B72736JEeg.png" /></figure><h3>3. Reinforcement Learning:</h3><p>Reinforcement machine learning is a machine learning model that is similar to supervised learning, but the algorithm isn’t trained using sample data. This model learns as it goes by using trial and error. A sequence of successful outcomes will be reinforced to develop the best recommendation or policy for a given problem.</p><p>Reinforcement learning (RL) is a machine learning (ML) technique that trains software to make decisions to achieve the most optimal results. It mimics the trial-and-error learning process that humans use to achieve their goals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*VAIePs7IhblF9OwagLscrg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*IPMzpEEqJJzK6NpcuWPd5A.png" /></figure><h3>4. Semi-Supervised Learning:</h3><p>Semi-supervised learning is a branch of <a href="https://www.ibm.com/topics/machine-learning">machine learning</a> that combines <a href="https://www.ibm.com/topics/supervised-learning">supervised</a> and <a href="https://www.ibm.com/topics/unsupervised-learning">unsupervised learning</a> by using both labeled and unlabeled data to train <a href="https://www.ibm.com/topics/ai-model">artificial intelligence (AI) models</a> for classification and regression tasks.</p><p>Though semi-supervised learning is generally employed for the same use cases in which one might otherwise use supervised learning methods, it’s distinguished by various techniques that incorporate unlabeled<em> </em>data into model training, in addition to the labeled data required for conventional supervised learning.</p><p>Semi-supervised learning methods are especially relevant in situations where obtaining a sufficient amount of labeled data is prohibitively difficult or expensive, but large amounts of unlabeled data are relatively easy to acquire. In such scenarios, neither fully supervised nor unsupervised learning methods will provide adequate solutions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*B7h9tB_BjkM4ff2P2M2_hA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*vZO71wUQTE9WY1o5iTfX-g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ffed8aeb653" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[POPULATION AND SAMPLE IN STATISTICS]]></title>
            <link>https://medium.com/@yellagondavikram/population-and-sample-in-statistics-e6e33bf8fa6d?source=rss-2f1956818578------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6e33bf8fa6d</guid>
            <dc:creator><![CDATA[Yellagondavikram]]></dc:creator>
            <pubDate>Wed, 20 Mar 2024 09:29:16 GMT</pubDate>
            <atom:updated>2024-03-20T09:29:16.348Z</atom:updated>
            <content:encoded><![CDATA[<p>Introduction</p><p>Will see some topics in Statistics</p><ul><li>Population and Sample</li><li>Parameter and Statistic</li><li>Population Mean and Sample Mean</li><li>Cluster Sampiling</li><li>Systamitic sampling</li><li><strong><em>Population and Sample Standard Deviation</em></strong></li></ul><p>POPULATION and SAMPLE</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/536/0*0sMN4FmZLQoUEJsg.jpg" /></figure><p>POPULATION:- population is the entire set of items from which you draw data for a statistical study. It can be a group of individuals, a set of items, etc.</p><p>fig of Population</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/0*dOTaMzUMJOSBPnRM.png" /></figure><p>Sample:- sample is defined as a smaller and more manageable representation of a larger group. A subset of a larger population that contains characteristics of that population. A sample is used in statistical testing when the population size is too large for all members or observations to be included in the test.</p><p>fig of Sample</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/0*sYooF1duuZGRXB5i.png" /></figure><h4>Samples are used when :</h4><ul><li>The population is too large to collect data.</li><li>The data collected is not reliable.</li><li>The population is hypothetical and is unlimited in size. Take the example of a study that documents the results of a new medical procedure. It is unknown how the procedure will affect people across the globe, so a test group is used to find out how people react to it.</li></ul><h4>A sample should generally :</h4><ul><li>Satisfy all different variations present in the population as well as a well-defined selection criterion.</li><li>Be utterly unbiased on the properties of the objects being selected.</li><li>Be random to choose the objects of study fairly.</li></ul><p><strong>Sampling with and Without Replacement:</strong>sampling without replacement, in which a subset of the observations is selected randomly, and once an observation is selected it cannot be selected again. sampling with replacement, in which a subset of observations are selected randomly, and an observation may be selected more than once.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/0*7y9hrzRkqZTniVrs.jpg" /></figure><h3>Parameter &amp; Statistic</h3><h3>Parameters :</h3><h4>A parameter is a number describing a whole population (e.g., population mean),The population mean and population standard deviation are represented by the Greek letters µ and σ respectively. A parameter is a characteristic of a population.</h4><h3>Statistic :</h3><p>while a statistic is a number describing a sample (e.g., sample mean).Calculating <strong>Mean(x̅)</strong>, <strong>Variance </strong>and <strong>Standard Deviation</strong> on <strong>Sample Data </strong>known to be a <strong>Sample statistic</strong>.<strong> </strong>A statistic is a characteristic of a sample.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*do6vt_eygeh8WqR1.jpg" /></figure><h3>Sample Mean &amp; Population Mean</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/0*Co8kldqDvNXJXbSI.png" /></figure><h3>Sample Mean :</h3><p>Calculation of mean using Sample data is known as <strong>Sample Mean. </strong>Sample mean vary as our data size/sample size increases.​​</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/152/0*lBU8NwbKKzFp2zRe" /></figure><ul><li><em>x</em>ˉ: This symbol represents the sample mean, which is the average value of the data points in the sample.</li><li>∑: This symbol denotes the summation, indicating that you will sum up the values of the expression following it.</li><li><em>xi</em>​: This represents each individual data point in the sample. ‘i’ is an index that ranges from 1 to <em>n</em>, where <em>n</em> is the total number of data points in the sample.</li><li><em>n</em>: This represents the total number of data points in the sample.</li><li>∑<em>i</em>=1<em>n</em>​: This part denotes the sum of all the data points in the sample.</li><li>∑<em>i</em>=1<em>n</em>​<em>xi</em>​​: Finally, this fraction calculates the average value of the data points. By dividing the sum of all data points by the total number of data points (n), you get the sample mean.</li></ul><h3>Cluster Sampling</h3><p>→ Population is divided into different clusters.</p><p>→ Clusters are based on distance(location).</p><p>→ The subjects will be chosen at random from the cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*XClIdIeNo3ohg5hU.jpg" /></figure><h3>Systematic Sampling</h3><p>→ Every n th person or group is sample.</p><p>→ A probability sampling method where researchers select members of the population at a regular interval.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/0*rm5C_W_Zr5B1bXrZ" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6e33bf8fa6d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Z-score]]></title>
            <link>https://medium.com/@yellagondavikram/z-score-de6f45b0fb06?source=rss-2f1956818578------2</link>
            <guid isPermaLink="false">https://medium.com/p/de6f45b0fb06</guid>
            <dc:creator><![CDATA[Yellagondavikram]]></dc:creator>
            <pubDate>Fri, 12 Jan 2024 15:56:21 GMT</pubDate>
            <atom:updated>2024-01-12T15:56:21.222Z</atom:updated>
            <content:encoded><![CDATA[<h3>Z-score</h3><p>A Z-score, also known as a standard score, is a statistical measure that quantifies the relationship of a data point to the mean of a group of data points. It is expressed in terms of standard deviations from the mean.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*bII8A9jTdw8PwNUUc3gweA.jpeg" /></figure><ul><li>The Z-score indicates how many standard deviations a data point is from the mean.</li><li>A positive Z-score means the data point is above the mean</li><li>while a negative Z-score means it is below the mean.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*SBGJuLZm2QHDN_v-.png" /></figure><p>this method of outlier detection assumes that the data is normally distributed, which might not be the case always. Many real-world datasets follow non-normal distributions, such as the exponential, Poisson, binomial, negative binomial, chi-square, etc. In such cases, the Z-score method might not be the best choice for outlier detection.</p><p><strong>Kurtosis</strong>:</p><p>Kurtosis is a statistical measure that quantifies the “tailedness” or the degree of outlier presence in a distribution. It provides information about the shape of the distribution’s tails relative to the normal distribution. A distribution’s kurtosis is typically compared to the kurtosis of a normal distribution, which has a kurtosis of 3.</p><ol><li>(Kurtosis = 3):</li></ol><ul><li>A distribution is considered mesokurtic if its kurtosis is approximately 3.</li><li>The tails of a mesokurtic distribution are similar in shape to a normal distribution.</li></ul><p>2. (Kurtosis &gt; 3):</p><ul><li>A distribution is considered leptokurtic if its kurtosis is greater than 3.</li><li>Leptokurtic distributions have heavier tails, indicating more outliers or extreme values.</li></ul><p>3. (Kurtosis &lt; 3):</p><ul><li>A distribution is considered platykurtic if its kurtosis is less than 3.</li><li>Platykurtic distributions have lighter tails, indicating fewer outliers compared to a normal distribution.</li></ul><p><strong>Skewness</strong>:</p><p>Skewness is a statistical measure that describes the asymmetry of a probability distribution or the shape of a dataset’s distribution. In other words, skewness quantifies the extent and direction of skew (departure from horizontal symmetry) in a dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/0*KwjiD-99IO4HpqPS.png" /></figure><p>-&gt; Positive Skewness (Right-skewed):</p><ul><li>In a positively skewed distribution, the tail on the right side is longer or fatter than the left side.</li><li>The mean is typically greater than the median.</li><li>The distribution is said to be “skewed to the right” or “right-skewed.”</li></ul><p>-&gt; Negative Skewness (Left-skewed):</p><ul><li>In a negatively skewed distribution, the tail on the left side is longer or fatter than the right side.</li><li>The mean is typically less than the median.</li><li>The distribution is said to be “skewed to the left” or “left-skewed.”</li></ul><p><strong>Discreteness</strong>:</p><p>Discreteness in statistics refers to the nature of a variable that takes on distinct, separate values rather than a continuous range of values. Discrete variables have specific, isolated points or categories, often with gaps between them. These variables typically represent counts or whole numbers and are different from continuous variables, which can take any value within a range.</p><ul><li>The Z-score method is not suitable for such distributions because it assumes that the data is continuous.</li></ul><p><strong>Multiple modes</strong>:</p><p>Non-normal distributions can have more than one peak or mode. In such cases, the mean might not be a good measure of central tendency, and hence the Z-score might not be a good measure of how far a data point is from the center.</p><p><strong>Undefined moments</strong>:</p><p>Some non-normal distributions do not have well-defined means or variances</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de6f45b0fb06" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DESCRIPTIVE STATISTICS]]></title>
            <link>https://medium.com/@yellagondavikram/descriptive-statistics-2820133f622d?source=rss-2f1956818578------2</link>
            <guid isPermaLink="false">https://medium.com/p/2820133f622d</guid>
            <dc:creator><![CDATA[Yellagondavikram]]></dc:creator>
            <pubDate>Thu, 14 Dec 2023 09:19:23 GMT</pubDate>
            <atom:updated>2023-12-15T03:43:33.371Z</atom:updated>
            <content:encoded><![CDATA[<ul><li>In Descriptive statistics, we are describing our data with the help of various representative methods using charts, graphs, tables, excel files, etc.</li><li>we describe our data in some manner and present it in a meaningful way so that it can be easily understood.</li><li>Some measures that are used to describe a data set are measures of central tendency and measures of variability or dispersion.</li></ul><h3>Types of Descriptive Statistics<a href="http://localhost:8888/notebooks/%20DESCRIPTIVE%20STATISTICS%20%20(%2013-12-1023%20)%20--task%20and%20also%20notes.ipynb#Types-of-Descriptive-Statistics">¶</a></h3><h3>1.) measures of central tendency</h3><h3>2.) measures of variability or dispersion.</h3><h3>3.) Frequency distributation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/0*jOnf27ejscO4In1m.png" /></figure><h3>Measures of Central Tendency</h3><h3>It represents the whole set of data by a single value. It gives us the location of the central points. There are three main measures of central tendency:</h3><h4>Mean</h4><h4>Mode</h4><h4>Median</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/0*zOWWnuWIwqVLEPUt.png" /></figure><h3>Mean</h3><p>It is the sum of observations divided by the total number of observations. It is also defined as average which is the sum divided by count.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/0*ovx85dn7E6x_D9R5" /></figure><p>where,</p><ul><li>x = Observations</li><li>n = number of terms</li></ul><h3>Mode</h3><p>It is the value that has the highest frequency in the given data set. The data set may have no mode if the frequency of all data points is the same. Also, we can have more than one mode if we encounter two or more data points having the same frequency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*8QLdeUq_ulMq1lDN.jpg" /></figure><ul><li>Mode is the highest occurring observation.</li><li>The greatest frequency can occur at two or more different values.</li><li>If the data has only two modes, the data is bimodal.</li><li>If the data has more than two modes, the data is multimodal.</li></ul><h3>Median</h3><p>It is the middle value of the data set. It splits the data into two halves. If the number of elements in the data set is odd then the center element is the median and if it is even then the median would be the average of two central elements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*FS-Xu-pOynEu0HGg.png" /></figure><ul><li>Median is the middle item in a data set arranged in ascending/descending order.</li><li>If there are n observations then the Median = (n+1)/2 th observation.</li><li>Computational Rule.</li><li>If n is odd, then (n+1)/2 is an integer.</li><li>If n is even, then use an average of n/2 and (n/2) +1th observation.</li></ul><h3>Measure of Variability or Dispersion</h3><p>Measures of variability are also termed measures of dispersion as it helps to gain insights about the dispersion or the spread of the observations at hand. Some of the measures which are used to calculate the measures of dispersion in the observations of the variables are as follows:</p><ul><li><a href="https://www.geeksforgeeks.org/python-range-function/">Range</a></li><li><a href="https://www.geeksforgeeks.org/python-statistics-variance/">Variance</a></li><li><a href="https://www.geeksforgeeks.org/mathematics-mean-variance-and-standard-deviation/">Standard deviation</a></li></ul><h4>Range</h4><p>The range describes the difference between the largest and smallest data point in our data set. The bigger the range, the more the spread of data and vice versa.</p><blockquote>Range = Largest data value — smallest data value</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/0*VKnfsrNzaopoJrtU" /></figure><h4>Variance</h4><p>It is defined as an average squared deviation from the mean. It is calculated by finding the difference between every data point and the average which is also known as the mean, squaring them, adding all of them, and then dividing by the number of data points present in our data set.</p><ul><li>The variance is a measure of variability that utilizes all the data.</li><li>It is based on the difference between the value of each observation (xi) and the mean (x for a sample, m for a population).</li></ul><h4>The are two types of variance used in statistics,</h4><ul><li>Sample Variance</li><li>Population Variance</li><li>Sample Mean</li></ul><p>Sample Data: 12,18,25,69,45</p><p>Sample Mean: [(12+18+25+69+45)/5] = 33.80</p><ul><li>Population Mean</li></ul><p>Population Data: 55,46,78,12,18,33,28,45,25,69,6.</p><p>Population Mean: [(55+46+78+12+18+33+28+45+25+69+66)/11)] = 43.18</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/0*ri-asC1KQyLZbtHO.png" /></figure><h3>5.Standard Deviation</h3><ul><li>Standard deviation is the square root of the arithmetic average of the square of the deviations measured from the mean.</li><li>Standard deviation is a measure used in descriptivestatistics to understand how the data points in a set are spread out from the average (mean) value. It indicates the extent of the data’s variation and shows how far individual data points deviate from the average</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*cPb9qqkIL3pbcc2t" /></figure><p>where,</p><ul><li>x = Observation under consideration</li><li>N = number of terms</li><li>mu = Mean</li></ul><h3>Skewness</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/0*BAK6JKPUxKtaDboH.jpg" /></figure><ul><li>Skewness characterizes the degree of asymmetry of a distribution around its mean.</li><li>The concept of skewness is mainly used to understand the distribution of the data and steps taken to normalize the data for further building of machine learning models.</li><li>In case of negatively skewed data, Mean&lt;Median&lt;Mode. This indicates, more data points are to the right of the curve where the data has very high values in large numbers.</li><li>In case of positively skewed data, Mode&lt;Median&lt;Mean. This means that more data points are to the left of the curve where the data has very low values in large numbers.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/236/0*NwE5754ty1LkgOLP" /></figure><h3>Measures of frequency distribution :</h3><ul><li>A frequency distribution is an overview of all values of some variable and the number of times they occur.</li><li>To represent the Frequency Distribution, there are various methods such as Histogram, Bar Graph, Frequency Polygon, and Pie Chart.</li></ul><ol><li>Histograms: Histogram is a graphical representation of distribution that represents the frequency of each interval of continuous data generally using bars of equal width.</li><li>Bar Graph: Bar Graph is also a graphical representation of distribution that represents the frequency of each interval using bars of equal width. It can also represent discrete data, unlike a histogram.</li><li>Frequency Polygon: A frequency Polygon is a type of graphical representation similar to a histogram but instead of using bars it uses a line to connect the midpoints of the frequencies of the class. It helps us to compare the various different datasets.</li><li>Pie Charts: A pie chart is a circular graph that represents the pieces of data in the form of slices of a circle. Each slice represents the proportional size of the data represented by that slice to the complete data set. Pie charts are commonly used to show the relative sizes of different parts of a whole.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*a6Sc64_567GW5kYd.jpg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2820133f622d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Decorators]]></title>
            <link>https://medium.com/@yellagondavikram/decorators-5863898a37db?source=rss-2f1956818578------2</link>
            <guid isPermaLink="false">https://medium.com/p/5863898a37db</guid>
            <category><![CDATA[decorators-in-python]]></category>
            <dc:creator><![CDATA[Yellagondavikram]]></dc:creator>
            <pubDate>Thu, 23 Nov 2023 02:38:59 GMT</pubDate>
            <atom:updated>2023-11-23T02:38:59.123Z</atom:updated>
            <content:encoded><![CDATA[<ul><li>Decorators in Python are a design pattern that allows the modification of functions or classes.</li><li><em>Decorators allow you to wrap another function or method with additional functionality.</em></li><li><strong>Syntax:-</strong></li></ul><pre>def functionname1( functionname ):  # Decorator <br>    def  innerfunctionname():  # Inner Function name<br>        val=functionname()    #do the operation on &#39; val &#39;<br>		  <br>		return result   #   Inner Funtion must return modified value<br>	 return   innerfunctionname   # Decorator returns inner function name</pre><p>@decorator_function<br>def function_to_be_decorated():<br> pass</p><p><strong>Program using decorator :</strong></p><pre>def fooOuter(f):<br>    def fooInner():<br>        print(&#39;*&#39;*10)<br>        f()<br>        print(&#39;*&#39;*10)<br>    return fooInner()</pre><pre>@fooOuter   #decorator<br>def abc():<br>    print(12345)</pre><pre>*****<br>12345<br>*****</pre><h3>Decorator with Arguments</h3><p><strong>Process</strong></p><ul><li>fooOuter returns its inner function object.</li><li>fooInner is decorated by deco.</li><li>Invoking the decorated fooInner actually runs inner.</li><li>Inspection reveals that fooInner is a now a reference to inner</li></ul><p>In this example, repeat is a decorator factory that takes an argument and returns a decorator. The returned decorator (decorator_repeat) then wraps the greet function and modifies its behavior by repeating its execution a specified number of times.</p><ol><li><strong>Logging</strong>: Decorators can be used to log details about function calls such as the arguments passed and return values.</li><li><strong>Timing</strong>: Decorators can be used to measure the execution time of a function.</li></ol><h3>important Points</h3><ul><li>Decorators allow us to wrap another function to extend the behavior of the wrapped function, without permanently modifying it.</li><li>The decorator function is prefixed with an @ symbol and placed immediately before the function to be decorated.</li><li>Decorators are a powerful tool for dry programming (Don’t Repeat Yourself), allowing you to reuse code across multiple functions or classes.</li></ul><h3>Conclusion</h3><p>Decorators provide a powerful mechanism to modify the behavior of functions or classes in Python. They enable us to extend the functionality of existing code without modifying its source, making our code more modular and reusable. By understanding and using decorators effectively, we can enhance the overall quality and flexibility of our programs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5863898a37db" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sum of Resistance in Series]]></title>
            <link>https://medium.com/@yellagondavikram/sum-of-resistance-in-series-circuits-7fbe117d4689?source=rss-2f1956818578------2</link>
            <guid isPermaLink="false">https://medium.com/p/7fbe117d4689</guid>
            <dc:creator><![CDATA[Yellagondavikram]]></dc:creator>
            <pubDate>Fri, 03 Nov 2023 07:09:51 GMT</pubDate>
            <atom:updated>2023-11-03T09:12:03.733Z</atom:updated>
            <content:encoded><![CDATA[<ol><li><strong>Sum of Resistance in Series</strong></li></ol><p><strong>2.Instant JAZZ</strong></p><p><strong>3.How Many Vowels</strong></p><p><strong>4. Find the Odd Integer</strong></p><p><strong>5. Hamming Distance</strong></p><p><strong>6. Filter out Strings from an Array</strong></p><p><strong>7. Filter Strings from Array</strong></p><p><strong>8. Add the Index</strong></p><p><strong>9. Triangular Number Sequence</strong></p><p><strong>10. Card Counting (BlackJack)</strong></p><p><strong>11. Return Only the Integer</strong></p><p><strong>12. Is the Word an Isogram?</strong></p><p><strong>13. Purge and Organize</strong></p><p><strong>14. Transform into a List with No Duplicates</strong></p><p><strong>15. Get Student Names</strong></p><p><strong>16. Say Hello to Guests</strong></p><p><strong>17. Find the Mean of All Digits</strong></p><p><strong>18. Typing Game</strong></p><p><strong>19. True Ones, False Zeros</strong></p><p><strong>20. Is One List a Subset of Another?</strong></p><p><strong>21. Scrabble Hand</strong></p><p><strong>22. Amplify the Multiples of Four</strong></p><p><strong>23. Upper or Lower Case</strong></p><p><strong>24. One Button Messaging Devic</strong></p><p><strong>25. Sum of all Evens in a Matrix</strong></p><p><strong>26. YouTube Upload Count</strong></p><p><strong>27. Hot Pics of Danny DeVito!</strong></p><p><strong>28. Factor Chain</strong></p><p><strong>29. Multi-division</strong></p><p><strong>30. Return a List of Sublists</strong></p><p><strong>31. Burglary Series (10): Calculate Difference</strong></p><p><strong>32. War of Numbers</strong></p><p><strong>33. Compare by ASCII Codes</strong></p><p><strong>34. Longest Sequence of Consecutive Zeroes</strong></p><p><strong>35. Reverse the Order of Words with Five Letters or More</strong></p><p><strong>36. Frequency Distribution</strong></p><p><strong>37. Intro to Nested Loops</strong></p><p><strong>38. Cumulative List Sum</strong></p><p><strong>39. Find the First Non-Repeated Character</strong></p><p><strong>40. Something in the Box?</strong></p><p><strong>41. Find Unique Positive Numbers from Array</strong></p><p><strong>42. Capitalize the First Letter of Each Word</strong></p><p>43. Doubled pay</p><p><strong>44. Capitalize the First Letter of Each Word</strong></p><p>45. remove the letters ABC</p><p><strong>46. Is the Word an Isogram?</strong></p><p><strong>47. Sum of Resistance in Parallel Circuits</strong></p><p><strong>48. Emphasise the Words</strong></p><p>49. odd up, Even down- N times</p><p><strong>50. War of Numbers</strong></p><p>python medium loops</p><ol><li><strong>Triangular Number Sequence</strong></li><li><strong>Array of Multiples</strong></li><li><strong>Integer Digits Count</strong></li><li><strong>Reverse Words in a String</strong></li><li><strong>Algebra Sequence — Boxes</strong></li><li><strong>Special Arrays</strong></li><li><strong>Check if All Values Are True</strong></li><li><strong>Capitalize the Names</strong></li><li><strong>Factorize a Number</strong></li><li><strong>Who’s in First Place?</strong></li><li><strong>Triangular Number Sequence</strong></li><li><strong>Reverse the Order of Words with Five Letters or More</strong></li><li><strong>Neutralisation</strong></li><li><strong>Filter Repeating Character Strings</strong></li><li><strong>Finish the Sentence You’re On!</strong></li><li>Find the Second Occurrence of “Zip” in a string</li><li>Negative image</li><li>Sumof all Events in a Matrix</li><li>Reverse coding challenge #6</li><li>Record Temperatures</li><li>Syncopated Rhytham</li><li>Harshad Number</li><li>Mini Peaks</li><li>Don’t Roll Doubles</li><li>Increment to Top</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7fbe117d4689" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[strings]]></title>
            <link>https://medium.com/@yellagondavikram/strings-b36a10e0d255?source=rss-2f1956818578------2</link>
            <guid isPermaLink="false">https://medium.com/p/b36a10e0d255</guid>
            <dc:creator><![CDATA[Yellagondavikram]]></dc:creator>
            <pubDate>Tue, 17 Oct 2023 11:06:16 GMT</pubDate>
            <atom:updated>2023-10-17T11:06:16.556Z</atom:updated>
            <content:encoded><![CDATA[<p>1 . strings are the characters (or) it is also called as collection of characters</p><p>2 . that can be denoted as ( ‘ hello’ ) , ( “ hello “ ) , ( ‘’’ hello ‘’’ )</p><p>3 . s1 = string , encloses with single qoutes (‘ world ’ )</p><p>4 . s2 = string , encloses with double qoutes ( “ world “)</p><p>5 . s3 = string , encloses with triple qoutes ( ‘’’ world ‘’’ ) this is used in multi- line comment</p><h3>creating strings</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UV8FB5EPWIM3dBDnMVGksA.png" /></figure><h3>raw strings and formating strings</h3><p>&gt; this raw string will process in raw form</p><h3>…example of raw string</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q6kqk38dImR_BlQQkB5tAw.png" /></figure><h3>formatting string:</h3><p>the process of inserting a custom string or variable in predefined text.</p><h3>example</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*BoQa9Fut6hJ50KuP22PbDg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7aNxPtBv7G8PVh9R78JcVA.png" /></figure><h3>string indexing</h3><p>1 . indexing on way is to treat strings as a list and use index value</p><p>2 . we can access string in 2ways</p><p>* indexing — greet = “hello”</p><p>print (greet[1])</p><p>output = e</p><p>* negative indexing — greet = “hello”</p><p>print(greet[-4])</p><p>output = e</p><h3>slicing</h3><p>slicing is access a rangeof characters in string by using slicing operator colon [:]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gotCFxHf0XaYXvf1YnVWPg.png" /></figure><h3>concatnation of strings :</h3><ul><li>adding two strings</li><li>example</li><li>a, b = ‘vik’, ‘ram’</li><li>c = a + b</li><li>c</li><li>output = vikram</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b36a10e0d255" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>