<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: vidhi-sareen</title>
    <description>The latest articles on DEV Community by vidhi-sareen (@vidhisareen).</description>
    <link>https://dev.to/vidhisareen</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F716458%2F86a87954-be36-4488-bb06-27a6e3093def.jpeg</url>
      <title>DEV Community: vidhi-sareen</title>
      <link>https://dev.to/vidhisareen</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vidhisareen"/>
    <language>en</language>
    <item>
      <title>Demystifying Deep Learning: A Beginner's Guide to Neural Networks</title>
      <dc:creator>vidhi-sareen</dc:creator>
      <pubDate>Mon, 19 Feb 2024 05:58:04 +0000</pubDate>
      <link>https://dev.to/vidhisareen/demystifying-deep-learning-a-beginners-guide-to-neural-networks-6e1</link>
      <guid>https://dev.to/vidhisareen/demystifying-deep-learning-a-beginners-guide-to-neural-networks-6e1</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction:&lt;/strong&gt;&lt;br&gt;
Deep learning has emerged as a powerful tool in the field of artificial intelligence, enabling machines to learn from data and perform tasks that were once thought to be exclusive to human intelligence. At its core, deep learning relies on artificial neural networks, computational models inspired by the structure and function of the human brain. In this article, we'll delve into the fundamentals of deep learning, demystifying neural networks and providing insights for beginners to get started in this exciting field.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Understanding Neural Networks:&lt;/em&gt;&lt;br&gt;
Neural networks are the building blocks of deep learning algorithms. These networks consist of interconnected nodes, or neurons, organized in layers. The three main types of layers in a neural network are:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Input Layer:&lt;/em&gt; The first layer of the neural network, where data is inputted. Each node in this layer represents a feature or input variable.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Hidden Layers:&lt;/em&gt; Intermediate layers between the input and output layers, where the computation takes place. Each node in a hidden layer performs a transformation on the input data using a set of weights and biases.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Output Layer:&lt;/em&gt; The final layer of the neural network, which produces the desired output or prediction. The number of nodes in this layer depends on the nature of the task (e.g., classification, regression).&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Training Neural Networks:&lt;/em&gt;&lt;br&gt;
Training a neural network involves adjusting the weights and biases of the connections between neurons to minimize the difference between the predicted output and the actual output. This process is known as optimization and is typically done using a technique called backpropagation. During training, the network learns from a labeled dataset through iterative forward and backward passes, gradually improving its performance over time.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Common Deep Learning Architectures:&lt;/em&gt;&lt;br&gt;
Deep learning architectures vary in complexity and are designed to solve different types of problems. Some common architectures include:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Convolutional Neural Networks (CNNs):&lt;/em&gt; Primarily used for image recognition and classification tasks, CNNs are designed to automatically and adaptively learn spatial hierarchies of features from input images.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Recurrent Neural Networks (RNNs):&lt;/em&gt; Ideal for sequential data, such as text or time series data, RNNs have connections that form cycles, allowing them to capture temporal dependencies in the data.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Generative Adversarial Networks (GANs):&lt;/em&gt; Comprising two neural networks – a generator and a discriminator – GANs are used to generate new data samples that are similar to a given dataset.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Applications of Deep Learning:&lt;/strong&gt;&lt;br&gt;
Deep learning has found applications across various domains, including:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;em&gt;Computer vision:&lt;/em&gt; Object detection, image segmentation, and facial recognition.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Natural language processing:&lt;/em&gt; Sentiment analysis, machine translation, and text generation.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Healthcare:&lt;/em&gt; Disease diagnosis, medical imaging analysis, and drug discovery.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Finance:&lt;/em&gt; Stock market prediction, fraud detection, and algorithmic trading.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Autonomous vehicles:&lt;/em&gt; Perception, path planning, and decision-making.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Conclusion:&lt;/strong&gt;&lt;br&gt;
Deep learning has revolutionized the field of artificial intelligence, enabling machines to perform complex tasks with human-like proficiency. By understanding the basics of neural networks and their applications, beginners can embark on a journey to explore the exciting possibilities of deep learning. As the field continues to evolve, opportunities abound for innovation and discovery, making deep learning an invaluable tool for tackling real-world challenges.&lt;/p&gt;

</description>
      <category>deeplearning</category>
      <category>machinelearning</category>
      <category>nlp</category>
      <category>ai</category>
    </item>
    <item>
      <title>The Future is Now: Exploring the Latest Breakthroughs in Technology</title>
      <dc:creator>vidhi-sareen</dc:creator>
      <pubDate>Thu, 16 Mar 2023 13:32:14 +0000</pubDate>
      <link>https://dev.to/vidhisareen/the-future-is-now-exploring-the-latest-breakthroughs-in-technology-h3m</link>
      <guid>https://dev.to/vidhisareen/the-future-is-now-exploring-the-latest-breakthroughs-in-technology-h3m</guid>
      <description>&lt;p&gt;The world we live in is constantly evolving, and new technologies are emerging at an unprecedented pace. These new technologies are changing the way we live, work, and communicate. In this blog, we will explore some of the latest technologies that are making a significant impact in our lives.&lt;/p&gt;

&lt;p&gt;1) Artificial Intelligence (AI)&lt;br&gt;
Artificial Intelligence is one of the most exciting and promising technologies of our time. AI has the potential to transform almost every industry, from healthcare to finance, transportation, and more. AI systems can learn from data and make predictions, automate processes, and perform complex tasks that were previously impossible for machines.&lt;/p&gt;

&lt;p&gt;2) Internet of Things (IoT)&lt;br&gt;
The Internet of Things is a network of interconnected devices that can communicate and exchange data with each other. IoT technology is making our lives more convenient and efficient by enabling us to control our devices remotely and monitor our homes and businesses from anywhere.&lt;/p&gt;

&lt;p&gt;3) 5G Technology&lt;br&gt;
The fifth-generation wireless technology, or 5G, is the latest evolution in wireless communications. 5G networks offer faster download and upload speeds, lower latency, and the ability to connect more devices simultaneously. This technology is critical for the development of autonomous vehicles, smart cities, and other applications that require high-speed, low-latency connectivity.&lt;/p&gt;

&lt;p&gt;4) Blockchain&lt;br&gt;
Blockchain is a decentralized digital ledger that is used to record and store transactions. This technology is gaining popularity because it provides a secure, transparent, and immutable record of transactions that cannot be altered or deleted. Blockchain technology has the potential to revolutionize the way we conduct transactions, from banking and finance to supply chain management and more.&lt;/p&gt;

&lt;p&gt;6) Augmented Reality (AR)&lt;br&gt;
Augmented Reality is a technology that allows us to overlay digital content onto the physical world. AR technology is being used in a variety of industries, from gaming and entertainment to education, healthcare, and more. AR is changing the way we interact with the world around us and has the potential to transform the way we learn, work, and communicate.&lt;/p&gt;

&lt;p&gt;In conclusion, these are just a few examples of the latest technologies that are transforming our lives. These new technologies are creating new opportunities, disrupting traditional industries, and changing the way we live, work, and communicate. As these technologies continue to evolve, we can expect even more exciting developments in the years to come.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Natural Language Processing: A Powerful Tool for Understanding Human Language</title>
      <dc:creator>vidhi-sareen</dc:creator>
      <pubDate>Thu, 16 Mar 2023 12:57:51 +0000</pubDate>
      <link>https://dev.to/vidhisareen/natural-language-processing-a-powerful-tool-for-understanding-human-language-18lk</link>
      <guid>https://dev.to/vidhisareen/natural-language-processing-a-powerful-tool-for-understanding-human-language-18lk</guid>
      <description>&lt;p&gt;Natural Language Processing (NLP) is a field of artificial intelligence that focuses on the interaction between computers and human language. With the ability to analyze, understand, and generate human language, NLP has become an increasingly important tool in various industries, including healthcare, finance, and customer service.&lt;/p&gt;

&lt;p&gt;At its core, NLP involves a combination of machine learning algorithms, statistical models, and linguistic rules that allow computers to analyze and interpret human language. This includes tasks such as language translation, sentiment analysis, text summarization, and named entity recognition.&lt;/p&gt;

&lt;p&gt;One of the key challenges of NLP is the complexity of human language. Unlike programming languages or mathematical equations, human language is highly ambiguous and can vary greatly depending on the context and the speaker. This means that NLP algorithms must be able to handle a wide range of linguistic nuances and understand the context in which the language is being used.&lt;/p&gt;

&lt;p&gt;One of the most exciting applications of NLP is in the field of chatbots and virtual assistants. These tools use NLP algorithms to understand and respond to human language, allowing them to provide personalized customer support or perform a wide range of tasks, from scheduling appointments to ordering food.&lt;/p&gt;

&lt;p&gt;Another important application of NLP is in healthcare, where it is used to analyze patient records and detect patterns that may indicate disease or other health issues. NLP algorithms can also be used to analyze social media posts or other forms of text data to identify public health trends and track the spread of infectious diseases.&lt;/p&gt;

&lt;p&gt;Overall, natural language processing is a powerful tool that has the potential to revolutionize the way we interact with technology and with each other. As NLP algorithms continue to improve and become more sophisticated, we can expect to see even more exciting applications in a wide range of industries.&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>nlp</category>
      <category>programming</category>
      <category>python</category>
    </item>
    <item>
      <title>The Rise of Augmented Reality: How AR is Revolutionizing Industries</title>
      <dc:creator>vidhi-sareen</dc:creator>
      <pubDate>Fri, 10 Mar 2023 07:43:53 +0000</pubDate>
      <link>https://dev.to/vidhisareen/the-rise-of-augmented-reality-how-ar-is-revolutionizing-industries-2mhl</link>
      <guid>https://dev.to/vidhisareen/the-rise-of-augmented-reality-how-ar-is-revolutionizing-industries-2mhl</guid>
      <description>&lt;p&gt;***&lt;em&gt;**_Augmented Reality (AR) _&lt;/em&gt;*is a technology that has been gaining popularity in recent years. It has the ability to superimpose digital information onto the real world, creating an immersive and interactive experience. AR has been used in various industries such as gaming, education, healthcare, retail, and more. In this article, we will explore how AR is revolutionizing industries and changing the way we interact with the world.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Gaming&lt;/em&gt;&lt;br&gt;
One of the earliest industries to adopt AR technology was gaming. AR games like Pokemon Go and Ingress have been incredibly successful, with millions of users playing the games worldwide. These games allow users to capture virtual creatures in the real world, creating an immersive and interactive experience. AR has also been used in traditional video games, allowing users to project the game into the real world and interact with it in new ways.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Education&lt;/em&gt;&lt;br&gt;
AR has the potential to transform the way we learn. By overlaying digital information onto real-world objects, AR can create an immersive and interactive learning experience. For example, AR can be used to bring historical sites to life, allowing students to explore them in a new way. AR can also be used to teach complex concepts in science and math, allowing students to visualize and interact with the information in a more tangible way.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Healthcare&lt;/em&gt;&lt;br&gt;
AR is also being used in the healthcare industry to improve patient outcomes. Surgeons can use AR to project images of a patient's anatomy onto the surgical site, providing real-time guidance and improving precision. AR can also be used to provide patients with virtual therapy sessions, allowing them to interact with virtual environments and objects to reduce pain and improve mobility.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Retail&lt;/em&gt;&lt;br&gt;
AR is changing the way we shop. By overlaying digital information onto real-world objects, AR can provide users with an immersive and interactive shopping experience. For example, users can use AR to try on virtual clothes, see how furniture would look in their home, or even see how makeup would look on their face before purchasing. AR is also being used to create virtual showrooms, allowing customers to browse and purchase products in a virtual environment.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Conclusion&lt;/em&gt;&lt;br&gt;
AR is a technology that has the potential to revolutionize industries and change the way we interact with the world. Its ability to overlay digital information onto the real world creates an immersive and interactive experience, allowing users to explore and interact with the world in new ways. As AR technology continues to evolve, we can expect to see it being adopted in more industries and used to create even more innovative and exciting experiences.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Heart Diseases Prediction using Machine Learning </title>
      <dc:creator>vidhi-sareen</dc:creator>
      <pubDate>Sun, 03 Oct 2021 16:08:50 +0000</pubDate>
      <link>https://dev.to/hackthisfall/heart-diseases-prediction-using-machine-learning-3o7k</link>
      <guid>https://dev.to/hackthisfall/heart-diseases-prediction-using-machine-learning-3o7k</guid>
      <description>&lt;p&gt;Machine Learning is applied in a variety of fields all over the world. There is no exception in the healthcare industry. Machine Learning can help forecast the existence or absence of motor problems, heart ailments, and other diseases. Such information, if predicted in advance, can provide valuable insights to clinicians, allowing them to tailor their diagnosis and treatment to each individual patient.&lt;/p&gt;

&lt;p&gt;As a result, preventing heart disease has become more important than ever. Good data-driven systems for predicting cardiac illnesses can help to improve the overall research and preventive process, allowing more individuals to live a healthy lifestyle. This is where Machine Learning enters the picture. Machine Learning aids in the prognosis of heart illnesses, and the results are precise.&lt;/p&gt;

&lt;p&gt;The project included data processing and analysis of a heart disease patient dataset. Then, using various techniques, several models were trained, and predictions were made. KNN, Decision Tree, Random Forest, SVM, and Logistic Regression are just a few examples.&lt;/p&gt;

&lt;p&gt;To forecast the presence of cardiac disease in a patient, I employed a range of Machine Learning methods built in Python. This is a classification problem with a range of input features as parameters and a binary target variable for predicting whether heart disease is present or not.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F03se0wq2gph2sbrq3rm5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F03se0wq2gph2sbrq3rm5.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  STEP 1- IMPORT LIBRARIES
&lt;/h3&gt;

&lt;p&gt;There are many libraries available in python. I have included:&lt;br&gt;
&lt;strong&gt;numpy&lt;/strong&gt;: To work with arrays&lt;br&gt;
&lt;strong&gt;pandas&lt;/strong&gt;: To work with csv files and data frames&lt;br&gt;
&lt;strong&gt;matplotlib&lt;/strong&gt;: To create charts using pyplot.&lt;br&gt;
&lt;strong&gt;train_test_split&lt;/strong&gt;: To split the dataset into training and testing data&lt;/p&gt;

&lt;h3&gt;
  
  
  STEP 2- IMPORT DATASET
&lt;/h3&gt;

&lt;p&gt;Since I am using dataset which is already present on Kaggle. So, I have downloaded it &lt;a href="https://www.kaggle.com/faressayah/predicting-heart-disease-using-machine-learning/data" rel="noopener noreferrer"&gt;Link&lt;/a&gt;. There are many datasets available online you can use that also. Next, I have use &lt;em&gt;&lt;code&gt;read_csv ()&lt;/code&gt;&lt;/em&gt; to read dataset and save it to some variable (I have used “set” variable) &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjx8wrurz5ing3d4lmqm4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjx8wrurz5ing3d4lmqm4.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Before any analysis its good to take all information of what your whole dataset consists off to have an optimal model. So, I have used the &lt;em&gt;&lt;code&gt;info ()&lt;/code&gt;&lt;/em&gt; method.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F217jvz8j0b5u5166jxfa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F217jvz8j0b5u5166jxfa.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As you can see from the output above, there are a total of 13 features and 1 target variable, as well as no missing values, so there are no null values to worry about... LUCKY!!&lt;/p&gt;

&lt;h3&gt;
  
  
  STEP 3- UNDERSTANDING THE DATA
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Correlational Matrix&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Its very important to understand your data. So, to begin with, let’s start by looking at the feature correlation matrix and attempting to analyze it. &lt;code&gt;rcParams&lt;/code&gt; is used to set the figure size .The correlation matrix was then visualized using &lt;code&gt;pyplot&lt;/code&gt;. I've added names to the correlation matrix using &lt;code&gt;xticks&lt;/code&gt; and &lt;code&gt;yticks&lt;/code&gt;. &lt;em&gt;&lt;code&gt;.colorbar()&lt;/code&gt;&lt;/em&gt; displays the matrix's &lt;code&gt;colorbar&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn67uqhcpfgagtq3229qd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn67uqhcpfgagtq3229qd.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;By looking that this it's clear that no single feature has a particularly strong relationship with our desired value. In addition, some traits have a negative association with the goal value, while others have a positive correlation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Histogram&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The nicest aspect about this type of plot is that it only requires one command to generate the plots and it returns a wealth of information. Simply type &lt;em&gt;&lt;code&gt;variable.hist()&lt;/code&gt;&lt;/em&gt; into your command.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcem9svbjrf1v7cw5vrbg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcem9svbjrf1v7cw5vrbg.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Graphical Representation of relation between Attributes:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs1i0diqqe8mezcyinajo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs1i0diqqe8mezcyinajo.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We observed that there are 207 men and 96 women data provided in the dataset.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffl452dvuvfu7g6kdqedu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffl452dvuvfu7g6kdqedu.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We notice that females are more likely to have heart problems than males.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmx5i2c8evsk4vztwrzgu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmx5i2c8evsk4vztwrzgu.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We notice ,that chest pain of '0', i.e. the ones with typical angina are much less likely to have heart problems.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkjtqrx8rqamm3xgcf1nf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkjtqrx8rqamm3xgcf1nf.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We realize that people with restecg '1' and '0' are much more likely to have a heart disease than with restecg '2'.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxxn4obmbpb8mg7bx4rnp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxxn4obmbpb8mg7bx4rnp.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;People with exang=1 i.e. Exercise induced angina are much less likely to have heart problems.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1m2kgsiupj9phd5gawt1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1m2kgsiupj9phd5gawt1.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We observe that Slope '2' causes heart pain much more than Slope '0' and '1'.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  STEP 4-USE MACHINE LEARNING ALGORITHMS
&lt;/h3&gt;

&lt;p&gt;In this project, I picked four algorithms and experimented with their various settings before comparing the results. I divided the dataset into two parts: training data and testing data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1.Logistic Regression&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Logistic regression is a statistical analysis approach for predicting a data value based on previous data set measurements. In the field of machine learning, logistic regression has become an important technique. The method enables a machine learning application to classify incoming data using an algorithm based on historical data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc5bf62dh5jfbmo8fy9xk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc5bf62dh5jfbmo8fy9xk.png" alt="image"&gt;&lt;/a&gt;&lt;br&gt;
    &lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz7jg9t0g2z2kmvsjigla.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz7jg9t0g2z2kmvsjigla.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm9nlatlhdwlxtgo9xh01.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm9nlatlhdwlxtgo9xh01.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As you can see, my training accuracy is 86.79% and testing accuracy 86.81%&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2.K-nearest neighbors&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This classifier searches for the classes of a data point's K closest neighbors and assigns a class to that data point based on the majority class. The number of neighbors, on the other hand, can be modified. I varied the number of neighbors from one to twenty and calculated the test score in each case.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffq1fcr4rg38x07jl842z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffq1fcr4rg38x07jl842z.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnoep4bw1z9djwcl7d93r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnoep4bw1z9djwcl7d93r.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbw7cwp6zohn76ry20l7x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbw7cwp6zohn76ry20l7x.png" alt="image"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;As you can see, my training accuracy is 86.79% and testing accuracy is 86.81% same as of logistic regression.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3.Support Vector machine&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;By altering the distance between the data points and the hyperplane, this classifier seeks to construct a hyperplane that can divide the classes as much as feasible. The hyperplane is determined depending on several kernels.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv05fduz9jw414qgu3cz4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv05fduz9jw414qgu3cz4.png" alt="image"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdtiyp7w822dyf2bu8vfh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdtiyp7w822dyf2bu8vfh.png" alt="image"&gt;&lt;/a&gt;&lt;br&gt;
  &lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb98yz7zzm5bvw0uloncq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb98yz7zzm5bvw0uloncq.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As you can see my training accuracy is 93.40% and testing accuracy is 87.91%&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 5-CONCLUSION&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The project involved analysis of the heart disease patient dataset with proper data processing. Then, 3 models were trained and tested with maximum scores as follows:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb98yz7zzm5bvw0uloncq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb98yz7zzm5bvw0uloncq.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Form the comparison study; it is observed that the Support Vector Machine model turned out to be best classifier for heart disease prediction.&lt;/p&gt;

&lt;p&gt;Thank you for reading!! Feel free to share your thoughts and ideas.😄✨&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqgxuazt3028nx4uyh8i8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqgxuazt3028nx4uyh8i8.png" alt="Asset 1@2x-8"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;HACK THIS FALL 2.0&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Hi FOLKS!!!✨🎊&lt;/p&gt;

&lt;p&gt;I'm ecstatic to share the news that I've been accepted as a "Hackathon Evangelist" for Hack This Fall 2.0!✨🎉 &lt;/p&gt;

&lt;p&gt;I'm so pumped to make a difference and contribute meaningfully to the hacker community with my amazing ML hacks!!! If you also want to make &lt;em&gt;#InnovateForGood&lt;/em&gt; then do register now for &lt;em&gt;Hack This Fall 2.0&lt;/em&gt; today itself.🎇&lt;/p&gt;

&lt;p&gt;Do register at: &lt;a href="https://hackthisfall.tech/" rel="noopener noreferrer"&gt;Link&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Use this special code &lt;em&gt;“HTFHE066”&lt;/em&gt; to earn amazing and super exclusive goodies just for you.🤩🤩🤩&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>beginners</category>
      <category>hackthisfall</category>
      <category>innovateforgood</category>
    </item>
  </channel>
</rss>
