<?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 Mehmet Ergun on Medium]]></title>
        <description><![CDATA[Stories by Mehmet Ergun on Medium]]></description>
        <link>https://medium.com/@mehmet01ergun?source=rss-1fc92796f74b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Ftz5yqHJWd4qb-HrcbfDNg.jpeg</url>
            <title>Stories by Mehmet Ergun on Medium</title>
            <link>https://medium.com/@mehmet01ergun?source=rss-1fc92796f74b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 12:09:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mehmet01ergun/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[Natural Language Processing]]></title>
            <link>https://medium.com/@mehmet01ergun/natural-language-processing-b257b73f23a4?source=rss-1fc92796f74b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b257b73f23a4</guid>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Mehmet Ergun]]></dc:creator>
            <pubDate>Mon, 08 Jul 2024 20:25:53 GMT</pubDate>
            <atom:updated>2024-07-08T20:25:53.273Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Natural Language Processing</strong></p><p>Natural language processing (NLP) is a subfield of artificial intelligence that allows computers to understand and interpret human language, fostering more natural interaction between humans and machines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*0qP-yjsZ4UBAMPk0eWlhXw.jpeg" /></figure><p>NLP stands for Natural Language Processing, a branch of artificial intelligence that focuses on enabling computers to understand, interpret, and generate human language. NLP technologies are used in a wide range of applications, such as chatbots, virtual assistants, sentiment analysis, and language translation. By leveraging machine learning algorithms and linguistic rules, NLP systems can process and analyze text data to extract valuable insights and automate tasks that require understanding human language. As NLP continues to advance, it has the potential to revolutionize how we interact with computers and unlock new possibilities for human-machine communication.</p><p><strong>Lemmatization / stemming</strong></p><p>Lemmatization and stemming are two techniques used in natural language processing to reduce words to their base or root form.</p><p>Lemmatization involves reducing words to their lemma, or dictionary form, which can involve removing inflections and variations of a word. For example, the lemma of “running” would be “run” and the lemma of “am” would be “be”. Lemmatization takes into account the context of the word and can provide more accurate results compared to stemming.</p><p>Stemming, on the other hand, is a simpler and faster technique that removes prefixes and suffixes from words to reduce them to their base form. For example, the stem of “running” would be “run” and the stem of “better” would be “better”. Stemming does not take into account the context of the word and can sometimes result in words that are not valid in the language.</p><p>Both lemmatization and stemming are important preprocessing steps in text analysis tasks such as text classification, sentiment analysis, and information retrieval. They help to reduce the dimensionality of the data and improve the accuracy of the models by treating different forms of the same word as the same.</p><p><strong>Named Entity Recognition (NER)</strong></p><p>Named Entity recognition is a natural language processing task that involves identifying and classifying named entities in text. These named entities can include people, organizations, locations, dates, and more. NER is an important component of many NLP applications, including information extraction, document classification, and sentiment analysis. By accurately identifying named entities, NER can help improve the performance of these applications and enable more advanced text analysis. There are various techniques and tools available for NER, ranging from rule-based approaches to machine-learning models.</p><p><strong>Tokenization</strong></p><p>Tokenization<strong> </strong>is the process of breaking down a text into individual tokens, such as words, phrases, or symbols. This is a fundamental step in natural language processing and machine learning tasks, as it allows algorithms to better understand and manipulate the text data. Tokenization is often followed by additional preprocessing steps, such as removing stop words or stemming, to further enhance the quality of the text data for analysis.</p><p><strong>Text Classification</strong></p><p>Text classification aims to assign a label or a class to a given text. In some cases, we can use Sentiment Analysis natural language inference, and assessing grammatical correctness.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pj-zW9XUVZZRPq9Ql2-adg.png" /></figure><p>For example,</p><p>I prompt LLM to analyze a sentence like ‘I like playing soccer’ using text classification and sentiment analysis. The AI model can accurately determine the percentage of positive, negative, or neutral sentiment in the sentence. After some training, it can provide feedback as expected.</p><p><strong>Sentiment Analysis</strong></p><p>Sentiment analysis is a process of analyzing digital text to determine emotional tone of the message is positive, negative, or neutral. When I explained the text classification, I mentioned the sentiment analysis. I will give examples of how to use it and How the AI model uses sentiment analysis.</p><p>First of all, Sentiment analysis is a well-prepared functionality of the AI model. Because, the fundamentals of communication are listening, understanding, and giving feedback on what you listened to and understood. So, if we make a sentence like “I never make the bed ” and then I ask you the question “Is this sentence negative or positive? “ you could say that it is positive but the meaning is negative. Well, it is correct but How can an AI model understand the sentence meaning negative and give feedback Because we didn’t determine a negative phrase auxiliary verb and not a word? Well, The AI model knows Text Classification and it checks our sentence that is “I never make the bed ” analyzes it, and finds the “never” word and AI model knows that if a sentence has a “never” word. that sentence should be negative in the meaning that’s why the sentence is positive grammaticly but the meaning is negative.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*X5Rfv6UnfrVVGXf6fQ3KOw.png" /></figure><p>After the AI model calculates the sentiment of a sentence, sentiment analysis uses these results to determine the emotions conveyed and provides meaningful feedback to the user. This process enhances the user experience by making interactions more impactful. As humans, we should be rational, but emotions add depth and effectiveness to our communication.</p><p><strong>Summary</strong></p><p>Natural language processing (NLP) is a branch of artificial intelligence that enables computers to understand human language, allowing for more natural interaction. Techniques like lemmatization and stemming are used to reduce words to their base form, while Named Entity Recognition (NER) identifies entities in text. Tokenization breaks text into individual tokens, and text classification assigns labels to text. Sentiment analysis analyzes the emotional tone of the text, providing feedback and enhancing user experience.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b257b73f23a4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep Learning]]></title>
            <link>https://medium.com/@mehmet01ergun/deep-learning-4403d3944125?source=rss-1fc92796f74b------2</link>
            <guid isPermaLink="false">https://medium.com/p/4403d3944125</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Mehmet Ergun]]></dc:creator>
            <pubDate>Fri, 29 Mar 2024 19:58:25 GMT</pubDate>
            <atom:updated>2024-03-29T19:58:25.863Z</atom:updated>
            <content:encoded><![CDATA[<p>Deep Learning is a highly effective approach to Artificial Intelligence. In this explanation, we’ll explore Convolutional Neural Networks and Recurrent Neural Networks, two important Deep Learning subfields.</p><p>Deep Learning is a technique of Machine Learning that teaches computers to perform tasks by learning from examples such as the picture of food. Most people use social media and They share pictures of animals or foods mostly when you shoot a photo of something, the Camera app can tag what you shoot of the picture and inform you what the picture is about. it recognizes all the food or animals or something else and It learns to identify the correct pattern of what needs to be done. This is the essence of Deep Learning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*i7orLqj9pAY6NcWH93kVbA.jpeg" /></figure><p>Convolutional Neural Network</p><p>Convolutional Neural Networks (CNNs) are specifically designed for image recognition and classification tasks. CNNs have revolutionized the field of computer vision by enabling machines to recognize and classify objects in images with incredible accuracy.</p><p>The architecture of a CNN is inspired by the visual cortex of the human brain. The network consists of multiple layers of neurons that process different aspects of the image. The first layer of a CNN is the input layer, which takes in the raw pixel values of an image. This layer is followed by several convolutional layers, pooling layers, and fully connected layers.</p><p>Convolutional Neural Networks have had a profound impact on the field of computer vision and have drastically improved the accuracy of image recognition and classification tasks. With further advancements in deep learning and artificial intelligence, CNNs are poised to continue to revolutionize the way we interact with and analyze visual data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t6BKBzezuoCKHTp_C73B5A.jpeg" /></figure><p>Recurrent Neural Network</p><p>Recurrent Neural Networks (RNNs) are a popular tool in artificial intelligence and machine learning, especially for tasks involving sequences of data. They have loops that allow information to persist, making them ideal for tasks like natural language processing and time series analysis. RNNs can capture dependencies in sequential data and handle variable-length input sequences. However, they face challenges such as the vanishing gradient problem. Variations like LSTM and GRU have been developed to address these limitations. Overall, RNNs have revolutionized sequential data analysis and continue to advance with more sophisticated architectures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*B27dyR4NRoXxEhC7CwiLfQ.png" /></figure><p>In addition to CNNs and RNNs being fundamental building blocks of deep learning, there are important techniques for processing data and calculating neuron outputs.</p><p>Forward propagation is a process where the input data is fed through the network layer by layer. Each layer performs calculations and applies activation functions, ultimately producing the predicted output of the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LHy-jNoMtzqqMn_-WK7MHA.png" /></figure><p>Backpropagation comes into play after the forward pass. Here, the difference between the predicted output and the desired outcome is used to calculate adjustments for the weights and biases in the network. This “error” is propagated backward through the network, allowing the network to learn and improve its predictions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KPKdbSEaXmEPt_qysbm3Qw.png" /></figure><p>To summarize Deep learning is a powerful technique in Artificial Intelligence that empowers computers to learn from examples and perform complex tasks. For instance, convolutional Neural Networks (CNNs) excel at image recognition, enabling applications like facial recognition in photos or object detection in self-driving cars. On the other hand, Recurrent Neural Networks (RNNs) are tailored for sequential data, making them ideal for tasks like machine translation or text generation where understanding the order of information is crucial. Both CNNs and RNNs rely on techniques like forward and backpropagation during training. Forward propagation computes the predicted output, while backpropagation uses the difference between this prediction and the desired outcome to adjust the network’s internal connections, allowing it to continuously learn and improve.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4403d3944125" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine Learning]]></title>
            <link>https://medium.com/@mehmet01ergun/machine-learning-80810c0b7169?source=rss-1fc92796f74b------2</link>
            <guid isPermaLink="false">https://medium.com/p/80810c0b7169</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Mehmet Ergun]]></dc:creator>
            <pubDate>Mon, 18 Mar 2024 13:47:12 GMT</pubDate>
            <atom:updated>2024-03-18T13:47:12.150Z</atom:updated>
            <content:encoded><![CDATA[<p>Machine learning is a fascinating field that captures our interest. While it involves complex concepts, analytical thinking can be a strong foundation for tackling problems in this domain. Machine learning can be broadly categorized into three approaches: supervised, unsupervised, and reinforcement learning.</p><p>SUPERVISED LEARNING</p><p>Supervised Learning can be defined as labeled datasets to train algorithms to classify data or predict outcomes accurately. Supervised Learning can be used in real-world problems such as Risk assessment, spam filtering, image classification</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*Vns13bMpXR_0biib0mLAHg.png" /></figure><p>Types of Supervised Learning?</p><p>Linear Models:</p><p>Linear Model has 4 types of regression and these are Linear regression, Logistic regression, Ridge regression, and Lasso regression.</p><p>Linear Regression: A simple algorithm that models a linear relationship between inputs and a continuous numerical output variable.</p><p>Logistic Regression: A simple algorithm that models a linear relationship between inputs and a categorical output.</p><p>Ridge Regression: it penalizes features that have low predictive outcomes by shrinking their coefficients closer to zero. It can be used in classification or regression.</p><p>Lasso Regression: it penalizes features that have low predictive outcomes by shrinking their coefficients closer to zero. It can be used in classification or regression.</p><p>Tree based Models</p><p>Decision Tree: Decision Tree Models make decision rules on the features to produce predictions.</p><p>Random Forests: An ensemble learning method that combines the output of multiple decision trees.</p><p>Gradient Boosting Regression: Gradient Boosting Regression employs boosting to make predictive models from an ensemble of weak predictive learners.</p><p>XGBoost: XGBoost is a gradient-boosting algorithm that is efficient and flexible.</p><p>An Example of Supervised Learning</p><p>IS IT A CAT OR A DOG?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K_pl3-YBrvghlXu0Pn5fHQ.png" /></figure><p>Image classification is a popular problem. To detect objects and find the object tags that the image belongs to. We work on finding the class and label of the image and we ask the question that the image of a cat or a dog.</p><p>UNSUPERVISED LEARNING</p><p>Unsupervised learning is a type of algorithm that learns patterns from untagged data. it is used to analyze and cluster unlabeled datasets. These algorithms discover hidden patterns or data groupings without the need for human intervention.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*Z8oMVGEskc41_HFL59Y8bQ.png" /></figure><p>Type of Unsupervised Learning?</p><p>Clustering</p><p>K-Means: K-means is the most widely used clustering approach- it determines K clusters based on Euclidean distances</p><p>Hierarchical Clustering: Each data point is treated as its cluster — and then the closest two clusters are merged iteratively.</p><p>Gaussian Mixture Models: A probabilistic model for modeling normally distributed clusters within a dataset.</p><p>An Example of Unsupervised Learning</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/555/1*5-SdfnoXbo9qfEHfo8ukBQ.jpeg" /></figure><p>FINDING CUSTOMER SEGMENT</p><p>Clustering is a very common technique that the problem especially needs to discover hidden patterns or unlabeled datasets and to be able to determine segments of customers’ features such as location, gender, and age.</p><p>REINFORCEMENT LEARNING</p><p>Reinforcement is a machine learning technique in how agents should take an action and optimal behavior in an environment to obtain maximum reward.</p><p>There are two topics that I will mention K-Fold cross-validation and K-Neighbors</p><p>K-Fold Cross Validation</p><p>Cross-validation is a statistical method that machine learning models use. It is commonly used in comparing and selecting given predictive models that’s why it is easy to use and easy to implement and results in skill estimates that generally have lower bias than other methods.</p><p>after completing the some problems you get to know something that is:</p><p>1.k-fold cross-validation method estimates the skill of the model on new data</p><p>2. there are some tactics that you need to select the value of k for your dataset</p><p>3. all of them are available in sci-kit learn.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6lrtGVZlv0VkFRCDR98KdQ.jpeg" /></figure><p>K-neighbors</p><p>The K-Neighbours algorithm is a popular machine-learning technique used for classification and regression tasks. It is based on the principle that similar data points tend to belong to the same class or have similar values.</p><p>In K-Neighbours, the number of nearest neighbors (k) is specified by the user. To predict a new data point, the algorithm looks at the k nearest neighbors and assigns the majority class label (for classification) or the average value (for regression) of those neighbors to the new data point.</p><p>Overall, K-Neighbours is a versatile and effective algorithm that is commonly used in various machine-learning applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*dtvKZ4oTU60Nc9pT5H-aWg.png" /></figure><p>SUMMARY</p><p>I explain machine learning types, machine learning approaches, and machine learning examples. There are many topics about Machine Learning such as Overfitting, bias, and explainability but I would like to talk about machine learning’s general knowledge. Because I would like someone to read this article and be able to think about machine learning fundamentals, this article should be understandable by someone interested in near future trends.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80810c0b7169" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>