<?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 Pythontpoints on Medium]]></title>
        <description><![CDATA[Stories by Pythontpoints on Medium]]></description>
        <link>https://medium.com/@silan.software2015?source=rss-a43191ee62a4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*bmRCt753dqoeijMg</url>
            <title>Stories by Pythontpoints on Medium</title>
            <link>https://medium.com/@silan.software2015?source=rss-a43191ee62a4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 26 May 2026 19:49:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@silan.software2015/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[Python Function Introduction]]></title>
            <link>https://medium.com/@silan.software2015/python-function-introduction-6fb3c03deba4?source=rss-a43191ee62a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/6fb3c03deba4</guid>
            <category><![CDATA[best-python-training]]></category>
            <category><![CDATA[ｐｙｔｈｏｎ]]></category>
            <category><![CDATA[python-web-developer]]></category>
            <category><![CDATA[free-python-tutorials]]></category>
            <category><![CDATA[python-programming]]></category>
            <dc:creator><![CDATA[Pythontpoints]]></dc:creator>
            <pubDate>Sat, 09 Dec 2023 13:06:49 GMT</pubDate>
            <atom:updated>2023-12-09T13:06:49.474Z</atom:updated>
            <content:encoded><![CDATA[<p>A <a href="https://pythontpoints.com/tutorial/python/python-function-introduction.php">function</a> is a block of code to perform a specific task. A <a href="https://pythontpoints.com/tutorial/python/python-function-introduction.php">function</a> consisting a group of statements to represent a specific task. The main objective of a function is to perform a task. If there are multiple tasks to be performed then we will define multiple functions. For example, to display output we write print(), to get current time we write time(), to get the power value, python has power() function. These <a href="https://pythontpoints.com/tutorial/python/python-function-introduction.php">functions</a> are built in functions. Similarly the programmer can define his own <a href="https://pythontpoints.com/tutorial/python/python-function-introduction.php">functions</a> which are known as user defined functions.</p><h4>Why Functions ?</h4><ol><li><a href="https://pythontpoints.com/tutorial/python/python-function-introduction.php">Python Functions</a> processing data and performing task as per the requirement in software development.</li><li>Once we write a function that can be reused as per the requirement. That’s why functions are also called as reusable code. Due to the reusability code redundancy is avoiding which is the main advantage. That means we can avoid writing same code again and again.</li><li><a href="https://pythontpoints.com/tutorial/python/python-function-introduction.php">Python Functions</a> representing modular programming approach. A task is dividing into sub tasks where each sub tasks called as a module. To represent each module we define separate function. Then the functions are called from main program to perform the complete task. This is known as modular programming and it makes programming easy.</li><li>In <a href="https://pythontpoints.com/tutorial/python/python-function-introduction.php">software development</a>, code maintenance is becoming easy due to functions. For example, when a new feature is adding in an existing application, then the new function definition can integrate into the application. If a point is not required then we can delete the corresponding function.</li><li>At the time of <a href="https://pythontpoints.com/tutorial/python/python-function-introduction.php">application development</a>, if any error arises then the corresponding function can update without affecting other <a href="https://pythontpoints.com/tutorial/python/python-function-introduction.php">functions</a>. Hence code debugging is becoming easy.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6fb3c03deba4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python File Handling Tutorial]]></title>
            <link>https://medium.com/@silan.software2015/python-file-handling-tutorial-2af10c431a49?source=rss-a43191ee62a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/2af10c431a49</guid>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python-file-handling]]></category>
            <dc:creator><![CDATA[Pythontpoints]]></dc:creator>
            <pubDate>Fri, 17 Nov 2023 13:49:58 GMT</pubDate>
            <atom:updated>2023-11-17T13:49:58.256Z</atom:updated>
            <content:encoded><![CDATA[<p>In general a <a href="https://pythontpoints.com/tutorial/python/python-file-handling-tutorial.php">file</a> is a named location to store information. In python there are various file related operations that we can perform. In this context, first we have to open a file. Python has a built-in <a href="https://pythontpoints.com/tutorial/python/python-file-handling-tutorial.php">open()</a> function to open a file. This function returns a file object, also called a <a href="https://pythontpoints.com/tutorial/python/python-file-handling-tutorial.php">handle</a>. At the time of opening a file, we can specify a mode like read, write, append or create.</p><p>There are four different modes to <a href="https://pythontpoints.com/tutorial/python/python-file-handling-tutorial.php">open a file</a>:</p><ul><li>“r” — Read — Opens a file for reading, error if the file does not exist</li><li>“w” — Write — Opens a file for writing, creates the file if it does not exist</li><li>“a” — Append — Opens a file for appending, creates the file if it does not exist</li><li>“x” — Create — Creates the specified file, returns an error if the file exists</li><li>“t” — Text — Default value. Text mode</li><li>“b” — Binary — Binary mode (e.g. images)</li></ul><pre>#Open a file and perform read operation<br>f1 = open(&quot;e:\demo.txt&quot;, &quot;r&quot;)<br>print(f1.read())</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2af10c431a49" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Python?]]></title>
            <link>https://medium.com/@silan.software2015/why-python-046706776850?source=rss-a43191ee62a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/046706776850</guid>
            <category><![CDATA[learn]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python-course-online]]></category>
            <category><![CDATA[python-projects]]></category>
            <category><![CDATA[python-programming]]></category>
            <dc:creator><![CDATA[Pythontpoints]]></dc:creator>
            <pubDate>Wed, 08 Nov 2023 13:28:03 GMT</pubDate>
            <atom:updated>2023-11-08T13:28:03.665Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://pythontpoints.com/tutorial/python/why-python.php">Python</a> is simple and portable: that means python program is easy to develop, easy to understand and easy to execute and whatever we write a <a href="https://pythontpoints.com/tutorial/python/why-python.php">python</a> program that should be understandable by any no of users.</p><p><a href="https://pythontpoints.com/tutorial/python/why-python.php">Python</a> is open source and freeware.</p><p><a href="https://pythontpoints.com/tutorial/python/why-python.php">Python</a> is platform-independent.</p><p><a href="https://pythontpoints.com/tutorial/python/why-python.php">Python</a> is robust, because python provides a mechanism that is exception handling mechanism which is used to handle exception.</p><p><a href="https://pythontpoints.com/tutorial/python/why-python.php">Python</a> is multi-threaded: that means multiple task executing simultaneously where each task is a separate independent thread.</p><p><a href="https://pythontpoints.com/tutorial/python/why-python.php">Python</a> is dynamically typed language, because in python we are not specifying basic data type like int, float, str etc. to define a variable. Here at the time of execution, python control understand the type based on value assigned to variable.</p><p><a href="https://pythontpoints.com/tutorial/python/why-python.php">Python</a> takes care of memory allocation and de-allocation on it’s own, that means the programmer need not have to allocate and de-allocate memory before constructing variables and objects. Over all we can say python handles garbage collection.</p><p><a href="https://pythontpoints.com/tutorial/python/why-python.php">Python</a> is considered as beginners language, because without any knowledge of any programming language, you can happily learn python.</p><p><a href="https://pythontpoints.com/tutorial/python/why-python.php">Python</a> supporting huge libraries that’s why python is considered as technology.</p><p><a href="https://pythontpoints.com/tutorial/python/why-python.php">Python</a> is easy to integrate with other languages like C, C++, JAVA etc.</p><p><a href="https://pythontpoints.com/tutorial/python/why-python.php">Python</a> is extensible.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=046706776850" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Introduction]]></title>
            <link>https://medium.com/@silan.software2015/python-introduction-eaebc5a1efe4?source=rss-a43191ee62a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/eaebc5a1efe4</guid>
            <category><![CDATA[python-introduction]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python-course-online]]></category>
            <category><![CDATA[python-programming]]></category>
            <dc:creator><![CDATA[Pythontpoints]]></dc:creator>
            <pubDate>Thu, 19 Oct 2023 13:14:59 GMT</pubDate>
            <atom:updated>2023-10-19T13:14:59.632Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://pythontpoints.com/tutorial/python/python-introduction.php"><strong>Python</strong></a> is a general purpose, high level and interpreted programming language. <a href="https://pythontpoints.com/tutorial/python/python-introduction.php">Python</a> is a technology.<br>Python is developed by Guido Van Rossum and it came to the market in 1991.<br>Guido Van Rossum have developed <a href="https://pythontpoints.com/tutorial/python/python-introduction.php"><strong>python</strong></a> by taking many concepts from many programming languages which is as follows:</p><ul><li><a href="https://pythontpoints.com/tutorial/python/python-introduction.php">Functional programming approach</a> from C.</li><li>OOP(Object-Oriented Program) concept from C++.</li><li><a href="https://pythontpoints.com/tutorial/python/python-introduction.php">Scripting concepts</a> from Shell Script and Perl.</li><li>Modular programming approach from modula-3.</li><li>Syntax concept from C and ABC language.</li></ul><p><a href="https://pythontpoints.com/tutorial/python/python-introduction.php">Python</a> can specifically used to develop for the following applications.</p><ul><li>Desktop Application</li><li>Web Application</li><li>Database Application</li><li>Networking Application</li><li><a href="https://pythontpoints.com/tutorial/python/python-introduction.php">Game Application</a></li><li>IOT Application</li><li>Data Science Application</li><li><a href="https://pythontpoints.com/tutorial/python/python-introduction.php">Machine Learning</a> Application</li><li>AI Application</li></ul><h4>Features :</h4><ul><li><a href="https://pythontpoints.com/tutorial/python/python-introduction.php">Python</a> is simple &amp; easy to learn.</li><li>Python is freeware &amp; opensource.</li><li>Python is <a href="https://pythontpoints.com/tutorial/python/python-introduction.php">Interpreted</a>.</li><li>Python is <a href="https://pythontpoints.com/tutorial/python/python-introduction.php">dynamically typed</a>.</li><li>Python is extensible.</li><li>Python is embedded.</li><li><a href="https://pythontpoints.com/tutorial/python/python-introduction.php">Python</a> has extensive library.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eaebc5a1efe4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WHY WE LEARN Python:]]></title>
            <link>https://medium.com/@silan.software2015/why-we-learn-python-dab25b1b212e?source=rss-a43191ee62a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/dab25b1b212e</guid>
            <category><![CDATA[learning-and-development]]></category>
            <category><![CDATA[learning-python]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[python-course-online]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Pythontpoints]]></dc:creator>
            <pubDate>Mon, 16 Oct 2023 13:25:22 GMT</pubDate>
            <atom:updated>2023-10-16T13:25:22.067Z</atom:updated>
            <content:encoded><![CDATA[<p>Learning <a href="https://pythontpoints.com/tutorial/python/python-tutorials.php">Python </a>offers a multitude of benefits that make it an excellent choice for beginners and professionals alike. Here are some compelling reasons to learn Python:</p><ol><li><strong>Ease of Learning:</strong> <a href="https://pythontpoints.com/tutorial/python/python-tutorials.php">Python</a> is designed with a clear and readable syntax that resembles plain English, making it easier to learn and understand, especially for beginners.</li></ol><p><strong>2. Versatility:</strong> Python is a <a href="https://pythontpoints.com/tutorial/python/python-tutorials.php">versatile language</a> used in various domains, including web development, data analysis, scientific computing, machine learning, artificial intelligence, automation, and more.</p><p><strong>3. Large Community and Resources:</strong> Python has a <a href="https://pythontpoints.com/tutorial/python/python-tutorials.php">vast and active</a> community of developers, which means there are ample learning resources, tutorials, forums, and libraries available to assist you in your learning journey.</p><p><strong>4. Readability and Maintainability:</strong> Python’s clean and <a href="https://pythontpoints.com/tutorial/python/python-tutorials.php">consistent syntax</a> encourages well-organized and readable code. This makes collaboration with other developers and maintaining code over time more manageable.</p><p><strong>5. Rapid Development:</strong> Python’s concise syntax and extensive standard library enable<a href="https://pythontpoints.com/tutorial/python/python-tutorials.php"> faster development cycles</a>. This is particularly beneficial for prototyping and creating applications in less time.</p><p><strong>6. Cross-Platform Compatibility:</strong> <a href="https://pythontpoints.com/tutorial/python/python-tutorials.php">Python</a> runs on various operating systems, including Windows, macOS, and Linux. This cross-platform compatibility ensures that your code can be executed on different environments without major modifications.</p><p><strong>7. Diverse Applications:</strong> Python is used in a wide range of applications, from <a href="https://pythontpoints.com/tutorial/python/python-tutorials.php">building websites</a> (using frameworks like Django and Flask) to performing complex data analysis (with libraries like Pandas and NumPy) and creating machine learning models (using libraries like Scikit-Learn and TensorFlow).</p><p><strong>8. Automation and Scripting:</strong> Python is often used for <a href="https://pythontpoints.com/tutorial/python/python-tutorials.php">automating</a> repetitive tasks, writing scripts, and performing system administration tasks due to its ease of use and availability on most platforms.</p><p><strong>9. Data Analysis and Visualization:</strong> With libraries like <a href="https://pythontpoints.com/tutorial/python/python-tutorials.php">Pandas and Matplotlib</a>, Python is a go-to language for data scientists and analysts to manipulate and visualize data effectively.</p><p><strong>10. Machine Learning and AI:</strong> Python has gained significant popularity in the field of machine learning and artificial intelligence due to its powerful libraries like <a href="https://pythontpoints.com/tutorial/python/python-tutorials.php">TensorFlow, Keras, and PyTorch</a>, which simplify the creation of machine learning models.</p><p><strong>11. Job Opportunities:</strong> <a href="https://pythontpoints.com/tutorial/python/python-tutorials.php">Python’s widespread</a> use and demand across various industries result in a plethora of job opportunities for Python developers, data scientists, and machine learning engineers.</p><p><strong>12. Community Support:</strong> As one of the most popular programming languages, <a href="https://pythontpoints.com/tutorial/python/python-tutorials.php">Python</a> enjoys a strong community of developers who are often willing to help and share their knowledge through forums, tutorials, and <a href="https://pythontpoints.com/tutorial/python/python-tutorials.php">open-source projects</a>.</p><p>Overall, learning <a href="https://pythontpoints.com/tutorial/python/python-tutorials.php">Python</a> can open doors to various career paths and personal projects, whether you’re interested in web development, data analysis, machine learning, or simply want to add a valuable skill to your repertoire. Its versatility, readability, and widespread adoption make it an excellent language to invest your time and effort in learning.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dab25b1b212e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Transformation in Data Mining]]></title>
            <link>https://medium.com/@silan.software2015/data-transformation-in-data-mining-6d47a753d177?source=rss-a43191ee62a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d47a753d177</guid>
            <category><![CDATA[data-transformation]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-mining]]></category>
            <dc:creator><![CDATA[Pythontpoints]]></dc:creator>
            <pubDate>Sat, 14 Oct 2023 12:44:14 GMT</pubDate>
            <atom:updated>2023-10-14T12:44:14.905Z</atom:updated>
            <content:encoded><![CDATA[<p>The <a href="https://pythontpoints.com/tutorial/machine-learning/data-transformation-in-datamining.php">data</a> are transformed in ways that are ideal for <a href="https://pythontpoints.com/tutorial/machine-learning/data-transformation-in-datamining.php">mining</a> the data. The <a href="https://pythontpoints.com/tutorial/machine-learning/data-transformation-in-datamining.php">data transformation</a> involves steps that are:</p><h4>1. Smoothing:</h4><p>It is a process that is used to remove noise from the dataset using some algorithms It allows for highlighting important features present in the <a href="https://pythontpoints.com/tutorial/machine-learning/data-transformation-in-datamining.php">dataset</a>. It helps in predicting the patterns. When collecting data, it can be manipulated to eliminate or reduce any variance or any other noise form. The concept behind data smoothing is that it will be able to identify simple changes to help predict different trends and patterns. This serves as a help to <a href="https://pythontpoints.com/tutorial/machine-learning/data-transformation-in-datamining.php">analysts</a> or traders who need to look at a lot of data which can often be difficult to digest for finding patterns that they wouldn’t see otherwise.</p><h4>2. Aggregation:</h4><p>Data collection or <a href="https://pythontpoints.com/tutorial/machine-learning/data-transformation-in-datamining.php">aggregation</a> is the method of storing and presenting data in a summary format. The data may be obtained from multiple data sources to integrate these data sources into a <a href="https://pythontpoints.com/tutorial/machine-learning/data-transformation-in-datamining.php">data analysis</a> description. This is a crucial step since the accuracy of data analysis insights is highly dependent on the quantity and quality of the data used. Gathering accurate data of high quality and a large enough quantity is necessary to produce relevant results. The collection of data is useful for everything from decisions concerning financing or business strategy of the product, pricing, operations, and marketing strategies.</p><p>For <strong>example</strong>, Sales, data may be <a href="https://pythontpoints.com/tutorial/machine-learning/data-transformation-in-datamining.php">aggregated</a> to compute monthly&amp; annual total amounts.</p><h4>3. Discretization:</h4><p>It is a process of <a href="https://pythontpoints.com/tutorial/machine-learning/data-transformation-in-datamining.php">transforming</a> continuous data into set of small intervals. Most Data Mining activities in the real world require continuous attributes. Yet many of the existing data mining frameworks are unable to handle these <a href="https://pythontpoints.com/tutorial/machine-learning/data-transformation-in-datamining.php">attributes</a>.<br>Also, even if a <a href="https://pythontpoints.com/tutorial/machine-learning/data-transformation-in-datamining.php">data mining</a> task can manage a continuous attribute, it can significantly improve its efficiency by replacing a constant quality attribute with its discrete values.</p><p>For <strong>example</strong>, (1–10, 11–20) (age:- young, middle age, senior).</p><h4>4. Attribute Construction:</h4><p>Where new <a href="https://pythontpoints.com/tutorial/machine-learning/data-transformation-in-datamining.php">attributes</a> are created &amp; applied to assist the mining process from the given set of attributes. This simplifies the original data &amp; makes the mining more efficient.</p><h4>5. Generalization:</h4><p>It converts low-level <a href="https://pythontpoints.com/tutorial/machine-learning/data-transformation-in-datamining.php">data attributes</a> to high-level data attributes using concept hierarchy. For Example Age initially in Numerical form (22, 25) is converted into <a href="https://pythontpoints.com/tutorial/machine-learning/data-transformation-in-datamining.php">categorical value</a> (young, old).</p><p>For <strong>example</strong>, <a href="https://pythontpoints.com/tutorial/machine-learning/data-transformation-in-datamining.php">Categorical attributes</a>, such as house addresses, may be generalized to higher-level definitions, such as town or country.</p><h4>6. Normalization:</h4><p>Data <a href="https://pythontpoints.com/tutorial/machine-learning/data-transformation-in-datamining.php">normalization</a> involves converting all data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d47a753d177" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Errors in P Value]]></title>
            <link>https://medium.com/@silan.software2015/errors-in-p-value-a037a78bef34?source=rss-a43191ee62a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/a037a78bef34</guid>
            <category><![CDATA[errors-in-p-value]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[p-value]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Pythontpoints]]></dc:creator>
            <pubDate>Tue, 10 Oct 2023 10:02:56 GMT</pubDate>
            <atom:updated>2023-10-10T10:02:56.996Z</atom:updated>
            <content:encoded><![CDATA[<p>Two types of errors are defined for the <a href="https://pythontpoints.com/tutorial/machine-learning/errors-in-p-value.php">p-value</a>; these errors are given below:</p><p>1. Type I error</p><p>2. Type II error</p><h4>Type I Error:</h4><p>It is defined as the incorrect or false rejection of the <a href="https://pythontpoints.com/tutorial/machine-learning/errors-in-p-value.php">Null hypothesis</a>. For this error, the maximum probability is alpha, and it is set in advance. The error is not affected by the sample size of the <a href="https://pythontpoints.com/tutorial/machine-learning/errors-in-p-value.php">dataset</a>. The type I error increases as we increase the number of tests or endpoints.</p><h4>Type II error</h4><p>Type II error is defined as the wrong acceptance of the Null hypothesis. The <a href="https://pythontpoints.com/tutorial/machine-learning/errors-in-p-value.php">probability</a> of type II error is beta, and the beta depends upon the sample size and value of <a href="https://pythontpoints.com/tutorial/machine-learning/errors-in-p-value.php">alpha</a>. The beta cannot be determined as the function of the true population effect. The value of beta is inversely proportional to the sample size, and it means beta decreases as the sample size increases.</p><p>The value of <a href="https://pythontpoints.com/tutorial/machine-learning/errors-in-p-value.php">beta</a> also decreases when we increase the number of tests or <a href="https://pythontpoints.com/tutorial/machine-learning/errors-in-p-value.php">endpoints</a>.</p><h4>Importance of P-value</h4><p>The importance of <a href="https://pythontpoints.com/tutorial/machine-learning/errors-in-p-value.php">p-value</a> can be understood in two aspects:</p><p>• <a href="https://pythontpoints.com/tutorial/machine-learning/errors-in-p-value.php"><strong>Statistics Aspect</strong></a><strong>:</strong> In statistics, the concept of the p-value is important for hypothesis testing and statistical methods such as Regression.</p><p>• <a href="https://pythontpoints.com/tutorial/machine-learning/errors-in-p-value.php"><strong>Data Science Aspect</strong></a><strong>:</strong> In data science also, it is one of the important aspect Here the smaller p-value shows that there is an association between the predictor and response. It is advised while working with the machine learning problem in data science, the p-value should be taken carefully.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a037a78bef34" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is P Value :]]></title>
            <link>https://medium.com/@silan.software2015/what-is-p-value-dfd5b0e93df6?source=rss-a43191ee62a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/dfd5b0e93df6</guid>
            <category><![CDATA[hypothesis-testing]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[p-value]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[normal-distribution]]></category>
            <dc:creator><![CDATA[Pythontpoints]]></dc:creator>
            <pubDate>Thu, 05 Oct 2023 13:32:49 GMT</pubDate>
            <atom:updated>2023-10-05T13:32:49.849Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is P Value :</h3><p>In Statistical <a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php">hypothesis testing,</a> the P-value or sometimes called probability value, is used to observe the test results or more extreme results by assuming that the <a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php">null hypothesis</a> (H0) is true. In data science, there are lots of concepts that are borrowed from different disciplines, and the p-value is one of them. The concept of<a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php"> p-value </a>comes from statistics and widely used in machine learning and data science.</p><ul><li><a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php">P-value</a> is also used as an alternative to determine the point of rejection in order to provide the smallest significance level at which the null hypothesis is least or rejected.</li><li>It is expressed as the level of significance that lies between 0 and 1, and if there is smaller <a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php">p-value</a>, then there would be strong evidence to reject the null hypothesis. If the value of <a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php">p-value</a> is very small, then it means the observed output is feasible but doesn’t lie under the null hypothesis conditions (H 0 ).</li><li>The <a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php">p-value</a> of 0.05 is known as the level of significance (α). Usually, it is considered using two suggestions, which are given below:</li><li>If p-value&gt;0.05: The large <a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php">p-value</a> shows that the null hypothesis needs to be accepted.</li><li>If p-value&lt;0.05: The small p-value shows that the null <a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php">hypothesis</a> needs to be rejected, and the result is declared as statically significant.</li></ul><p>In Statistics, our main goal is to determine the statistical significance of our result, and this <a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php">statistical significance</a> is made on below three concepts:</p><ul><li>Hypothesis Testing</li><li>Normal Distribution</li><li>Statistical Significance</li></ul><p>Let’s understand each of them.</p><h4>Hypothesis Testing</h4><p><a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php"><strong>Hypothesis testing</strong></a> can be defined between two terms; <a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php"><strong>Null hypothesis</strong></a> and <strong>Alternative Hypothesis</strong>. It is used to check the validity of the null hypothesis or claim made using the sample data. Here, the <a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php"><strong>null hypothesis</strong></a><strong> (H0)</strong> is defined as the hypothesis with no statistical significance between two variables, while an <a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php"><strong>alternative hypothesis</strong></a> is defined as the hypothesis with a statistical significance between the two variables. No significant relationship between the two variables tells that one variable will not affect the other variable. Thus, the Null hypothesis tells that what you are going to prove doesn’t actually happen. If the independent variable doesn’t affect the dependent variable, then it shows the alternative hypothesis condition.</p><p>In a simple way, we can say that in hypothesis testing, first, we make a claim that is assumed as a null hypothesis using the sample data. If this claim is found invalid, then the <a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php">alternative hypothesis</a> is selected This assumption or claim is validated using the p-value to see if it is statistically significant or not using the evidence. If the evidence supports the alternative hypothesis, then the <a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php">null hypothesis</a> is rejected.</p><p><strong>Steps for </strong><a href="https://pythontpoints.com/tutorial/machine-learning/p-value.php"><strong>Hypothesis testing</strong></a></p><p>Below are the steps to perform an experiment for hypothesis testing:</p><p>1. Claim or state a Null hypothesis for the experiment.</p><p>2. State the alternative hypothesis, which is opposite to the null hypothesis.</p><p>3. Set the value of alpha to be used in the experiment.</p><p>4. Determine the z-score using the normal distribution.</p><p>5. Compare the P-value to validate the statistical significance.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfd5b0e93df6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Confusion Matrix]]></title>
            <link>https://medium.com/@silan.software2015/confusion-matrix-33576ea4deed?source=rss-a43191ee62a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/33576ea4deed</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[confusion-matrix]]></category>
            <dc:creator><![CDATA[Pythontpoints]]></dc:creator>
            <pubDate>Fri, 29 Sep 2023 13:10:21 GMT</pubDate>
            <atom:updated>2023-09-29T13:10:21.898Z</atom:updated>
            <content:encoded><![CDATA[<p>The <a href="https://pythontpoints.com/tutorial/machine-learning/confusion-matrix.php">confusion matrix</a> is a matrix used to determine the performance of the classification models for a given set of test data. It can only be determined if the true values for test data are known. The matrix itself can be easily understood, but the related terminologies may be confusing. Since it shows the errors in the model performance in the form of a matrix, hence also known as an error matrix. Some features of <a href="https://pythontpoints.com/tutorial/machine-learning/confusion-matrix.php">Confusion matrix</a> are given below:</p><ul><li>For the 2 prediction classes of <a href="https://pythontpoints.com/tutorial/machine-learning/confusion-matrix.php">classifiers</a>, the matrix is of 2*2 table, for 3 classes, it is 3*3 table, and so on.</li><li>The matrix is divided into two dimensions, that are predicted values and actual values along with the total number of <a href="https://pythontpoints.com/tutorial/machine-learning/confusion-matrix.php">predictions</a>.</li><li>Predicted values are those values, which are predicted by the model, and actual values are the true values for the given observations.</li><li>It looks like the below table:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/0*D5sBOnsMzuixzL3J.png" /></figure><p>The above table has the following cases:</p><ul><li>True Negative: <a href="https://pythontpoints.com/tutorial/machine-learning/confusion-matrix.php">Model </a>has given prediction No, and the real or actual value was also No.</li><li>True Positive: The model has predicted yes, and the actual value was also true.</li><li>False Negative: The model has predicted no, but the actual value was Yes, it is also called as <a href="https://pythontpoints.com/tutorial/machine-learning/confusion-matrix.php">Type-II error</a>.</li><li>False Positive: The model has predicted Yes, but the actual value was No. It is also called a Type-I error.</li></ul><h4>Need for Confusion Matrix in Machine learning</h4><ul><li>It evaluates the performance of the classification models, when they make predictions on test data, and tells how good our <a href="https://pythontpoints.com/tutorial/machine-learning/confusion-matrix.php">classification</a> model is.</li><li>It not only tells the error made by the <a href="https://pythontpoints.com/tutorial/machine-learning/confusion-matrix.php">classifiers</a> but also the type of errors such as it is either type-I or type-II error.</li><li>With the help of the confusion matrix, we can calculate the different <a href="https://pythontpoints.com/tutorial/machine-learning/confusion-matrix.php">parameters</a> for the model, such as accuracy, precision, etc.</li></ul><p>Example: We can understand the <a href="https://pythontpoints.com/tutorial/machine-learning/confusion-matrix.php">confusion matrix</a> using an example.</p><p>Suppose we are trying to create a model that can predict the result for the disease that is either a person has that disease or not. So, the <a href="https://pythontpoints.com/tutorial/machine-learning/confusion-matrix.php">confusion matrix</a> for this is given as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*L9gfObGe8tu1jpI3.png" /></figure><p>From the above example, we can conclude that:</p><ul><li>The table is given for the <a href="https://pythontpoints.com/tutorial/machine-learning/confusion-matrix.php">two-class classifier</a>, which has two predictions “Yes” and “NO.” Here, Yes defines that patient has the disease, and No defines that patient does not has that disease.</li><li>The <a href="https://pythontpoints.com/tutorial/machine-learning/confusion-matrix.php">classifier</a> has made a total of 100 predictions. Out of 100 predictions, 89 are true predictions, and 11 are incorrect predictions.</li><li>The model has given <a href="https://pythontpoints.com/tutorial/machine-learning/confusion-matrix.php">prediction</a> “yes” for 32 times, and “No” for 68 times. Whereas the actual “Yes” was 27, and actual “No” was 73 times.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33576ea4deed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AUC-ROC Curve in Machine Learning]]></title>
            <link>https://medium.com/@silan.software2015/auc-roc-curve-in-machine-learning-ff45d57de0e8?source=rss-a43191ee62a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff45d57de0e8</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[curves]]></category>
            <category><![CDATA[roc]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[auc]]></category>
            <dc:creator><![CDATA[Pythontpoints]]></dc:creator>
            <pubDate>Thu, 28 Sep 2023 08:36:41 GMT</pubDate>
            <atom:updated>2023-09-28T08:36:41.508Z</atom:updated>
            <content:encoded><![CDATA[<p>In <a href="https://pythontpoints.com/tutorial/machine-learning/auc-roc-curve-in-ml.php">Machine Learning</a>, only developing an ML model is not sufficient as we also need to see whether it is performing well or not. It means that after building an ML model, we need to evaluate and validate how good or bad it is, and for such cases, we use different <a href="https://pythontpoints.com/tutorial/machine-learning/auc-roc-curve-in-ml.php">Evaluation Metrics</a>. <a href="https://pythontpoints.com/tutorial/machine-learning/auc-roc-curve-in-ml.php">AUC-ROC</a> curve is such an evaluation metric that is used to visualize the performance of a classification model. It is one of the popular and important metrics for evaluating the performance of the classification model. In this topic, we are going to discuss more details about the AUC-ROC curve.</p><h4>What is AUC-ROC Curve?</h4><p><a href="https://pythontpoints.com/tutorial/machine-learning/auc-roc-curve-in-ml.php">AUC-ROC</a> curve is a performance measurement metric of a classification model at different threshold values. Firstly, let’s understand <a href="https://pythontpoints.com/tutorial/machine-learning/auc-roc-curve-in-ml.php">ROC</a> (Receiver Operating Characteristic curve) curve.</p><p><strong>ROC Curve</strong></p><p><a href="https://pythontpoints.com/tutorial/machine-learning/auc-roc-curve-in-ml.php">ROC</a> or Receiver Operating Characteristic curve represents a probability graph to show the performance of a classification model at different threshold levels. The curve is plotted between two parameters, which are:</p><ul><li>True Positive Rate or TPR</li><li>False Positive Rate or FPR</li></ul><p>In the curve, <a href="https://pythontpoints.com/tutorial/machine-learning/auc-roc-curve-in-ml.php">TPR</a> is plotted on Y-axis, whereas <a href="https://pythontpoints.com/tutorial/machine-learning/auc-roc-curve-in-ml.php">FPR</a> is on the X-axis.</p><p><strong>TPR:</strong></p><p>TPR or True Positive rate is a synonym for Recall, which can be calculated as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/0*i8sz6NXsziox3Wnm.png" /></figure><p>FPR or False Positive Rate can be calculated as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/0*oNH3Rue71A4z78Fj.png" /></figure><p>Here, <strong>TP</strong>: True Positive<br><strong>FP</strong>: False Positive<br><strong>TN</strong>: True Negative<br><strong>FN</strong>: False Negative</p><p>Now, to efficiently calculate the values at any threshold level, we need a method, which is <a href="https://pythontpoints.com/tutorial/machine-learning/auc-roc-curve-in-ml.php">AUC</a>.</p><h4>AUC: Area Under the ROC curve</h4><p><a href="https://pythontpoints.com/tutorial/machine-learning/auc-roc-curve-in-ml.php">AUC</a> is known for Area Under the ROC curve. As its name suggests, AUC calculates the two-dimensional area under the entire <a href="https://pythontpoints.com/tutorial/machine-learning/auc-roc-curve-in-ml.php">ROC</a> curve ranging from (0,0) to (1,1), as shown below image:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/0*t8L5nCXHx7oZE6Qk.png" /></figure><p>In the <a href="https://pythontpoints.com/tutorial/machine-learning/auc-roc-curve-in-ml.php">ROC</a> curve, <a href="https://pythontpoints.com/tutorial/machine-learning/auc-roc-curve-in-ml.php">AUC</a> computes the performance of the binary classifier across different thresholds and provides an aggregate measure. The value of AUC ranges from 0 to 1, which means an excellent model will have <a href="https://pythontpoints.com/tutorial/machine-learning/auc-roc-curve-in-ml.php">AUC</a> near 1, and hence it will show a good measure of Separability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff45d57de0e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>